This commit is contained in:
Mario Fetka 2022-03-20 18:42:52 +01:00
parent 1b10b30c02
commit 5abc987a02
68 changed files with 413 additions and 11919 deletions

View File

@ -1,8 +1,9 @@
AUX 10arduino-bin 69 BLAKE2B 7e420563bc46a63b26b1df1099b20f41acf45d1996cdccd77d516f2b4e9a222aa4fe4ea6c1896ade562a13513b251d3dfd92fe4324dd1ed39018a8c41e3d3510 SHA512 8bace112decfd895fdf45821dfd96fe868032a8da184dc383dce3a2173fba9fdee103f134b7a7dc8bd5364e598f6249455f0f3d624fceaff7dd7974378ce0192 AUX 10arduino-bin 69 BLAKE2B 7e420563bc46a63b26b1df1099b20f41acf45d1996cdccd77d516f2b4e9a222aa4fe4ea6c1896ade562a13513b251d3dfd92fe4324dd1ed39018a8c41e3d3510 SHA512 8bace112decfd895fdf45821dfd96fe868032a8da184dc383dce3a2173fba9fdee103f134b7a7dc8bd5364e598f6249455f0f3d624fceaff7dd7974378ce0192
AUX arduino.1 15213 BLAKE2B cb1c41c0a7345812344d41a55115f534e445b5c6f789309e8a9f422e76117d5f10d475692717dff377691098850248d6c3297dd1cbe517e4cbd28c6232ade713 SHA512 837cae1a434152ac507a0e229e384077392024d01db4d7b9d9820bfbe8877c4822c3f52467a7c02756c04958af9e8464925a254703d2ed9ca75b51e5e917f88a AUX arduino.1 15213 BLAKE2B cb1c41c0a7345812344d41a55115f534e445b5c6f789309e8a9f422e76117d5f10d475692717dff377691098850248d6c3297dd1cbe517e4cbd28c6232ade713 SHA512 837cae1a434152ac507a0e229e384077392024d01db4d7b9d9820bfbe8877c4822c3f52467a7c02756c04958af9e8464925a254703d2ed9ca75b51e5e917f88a
AUX arduino.desktop 274 BLAKE2B 1a2ad9fc7bd99f2c4517713abc62135777767000c3c9bb8d03fb5a0a50a0315d0776c3efe4a1d8b4958eb963b19f85199435362947c85e7e37832c4570e2cc2b SHA512 d9c4f65b720ad0b6a5874e4fb6cf4c4ebccaf3e97451984c6aec75b3c83630e209be0c045c6b731c582ec78e47240006678f182fa1d671fc0459382755d8ac8c AUX arduino.desktop 274 BLAKE2B 1a2ad9fc7bd99f2c4517713abc62135777767000c3c9bb8d03fb5a0a50a0315d0776c3efe4a1d8b4958eb963b19f85199435362947c85e7e37832c4570e2cc2b SHA512 d9c4f65b720ad0b6a5874e4fb6cf4c4ebccaf3e97451984c6aec75b3c83630e209be0c045c6b731c582ec78e47240006678f182fa1d671fc0459382755d8ac8c
DIST 00-teensy.rules 2062 BLAKE2B 18a4b4b23b4f6d948d8c337169bc9b08d22439674147baf5529ff8fe67f4323a5afc13ea0e8f9d292bc33e13134aa26fedb31f305b55a8ad1cbbeb818d49ad2b SHA512 27ccb822c01f84e955444f7b614caae732f8c61708060e5a5257906bcdf59dcaf1ee4811628715a3b1e472ccb38e415fbfc7b920457a9b444b4a7211f9022d70
DIST TeensyduinoInstall-156.linux32 95219640 BLAKE2B 56e0de4110ddb38b681bf2245f8428b071e3b4aaa53254a393d3c4c268e674d3fa86e7e545bedd79a86acedc51729435095db1030966cd838b6988f39743e389 SHA512 cff4edfe40d4c74793f90ac8d50205beefb7c44b02835a10bad0771c8f27b50bb4124e009ac8a447c9287cdecc49d5374fe0093346c8195baa6927eaa940e6db DIST TeensyduinoInstall-156.linux32 95219640 BLAKE2B 56e0de4110ddb38b681bf2245f8428b071e3b4aaa53254a393d3c4c268e674d3fa86e7e545bedd79a86acedc51729435095db1030966cd838b6988f39743e389 SHA512 cff4edfe40d4c74793f90ac8d50205beefb7c44b02835a10bad0771c8f27b50bb4124e009ac8a447c9287cdecc49d5374fe0093346c8195baa6927eaa940e6db
DIST TeensyduinoInstall-156.linux64 95219640 BLAKE2B 56e0de4110ddb38b681bf2245f8428b071e3b4aaa53254a393d3c4c268e674d3fa86e7e545bedd79a86acedc51729435095db1030966cd838b6988f39743e389 SHA512 cff4edfe40d4c74793f90ac8d50205beefb7c44b02835a10bad0771c8f27b50bb4124e009ac8a447c9287cdecc49d5374fe0093346c8195baa6927eaa940e6db DIST TeensyduinoInstall-156.linux64 95219640 BLAKE2B 56e0de4110ddb38b681bf2245f8428b071e3b4aaa53254a393d3c4c268e674d3fa86e7e545bedd79a86acedc51729435095db1030966cd838b6988f39743e389 SHA512 cff4edfe40d4c74793f90ac8d50205beefb7c44b02835a10bad0771c8f27b50bb4124e009ac8a447c9287cdecc49d5374fe0093346c8195baa6927eaa940e6db
DIST arduino-1.8.19-linux32.tar.xz 130946688 BLAKE2B 99fa0bef52224b2a358b6c3390981b13fcbfc1b0e64b5e5ad9bc7ffe498e3f11f5efbfe319e4d682e95f4e1735ffd8487b40b0f42dc84b77b010ef885897005f SHA512 b18d0fe8dbc3aaddb58706e1d2e87047d746357418bf3ea308ee388be0d83867bd08d54a1e7a96a239cb95e0b5733d7d68f23cf6585bb2aa7eeec55bf02544d1 DIST arduino-1.8.19-linux32.tar.xz 130946688 BLAKE2B 99fa0bef52224b2a358b6c3390981b13fcbfc1b0e64b5e5ad9bc7ffe498e3f11f5efbfe319e4d682e95f4e1735ffd8487b40b0f42dc84b77b010ef885897005f SHA512 b18d0fe8dbc3aaddb58706e1d2e87047d746357418bf3ea308ee388be0d83867bd08d54a1e7a96a239cb95e0b5733d7d68f23cf6585bb2aa7eeec55bf02544d1
DIST arduino-1.8.19-linux64.tar.xz 128583740 BLAKE2B 7e38710540e17dd407289654bb459ef5788e36d25cc6e71086e01cc0318aa75e6d8a15a171926274b60b3b181f7c685c22cd8d0ba2f49b2d4019fafaa777c4e2 SHA512 9328abf8778200019ed40d4fc0e6afb03a4cee8baaffbcea7dd3626477e14243f779eaa946c809fb153a542bf2ed60cf11a5f135c91ecccb1243c1387be95328 DIST arduino-1.8.19-linux64.tar.xz 128583740 BLAKE2B 7e38710540e17dd407289654bb459ef5788e36d25cc6e71086e01cc0318aa75e6d8a15a171926274b60b3b181f7c685c22cd8d0ba2f49b2d4019fafaa777c4e2 SHA512 9328abf8778200019ed40d4fc0e6afb03a4cee8baaffbcea7dd3626477e14243f779eaa946c809fb153a542bf2ed60cf11a5f135c91ecccb1243c1387be95328
EBUILD arduino-bin-1.8.19.ebuild 1384 BLAKE2B 983875f6bd2fa1dea84983d2bbd02504b0ec1fca0db7e1587e239e6d1152de64a28267cd7f14fc69a840e3cb5ca3f344163e90f78b19c91bb1adac1155f902ed SHA512 186495a67840b773c7422f4bbce9a7a3f55e6c001dd0cef877ffe49008dfcd4d34571ae3c570685f1cc4155458c792431625f3cb66ea35b1e82e8afdd4d73b2e EBUILD arduino-bin-1.8.19.ebuild 1492 BLAKE2B 6e673b2ed77db337b64294bd8e031c2f4c747a91fb3360001afaf31eacb68bcc4f5ee03cd6362100ec9aaf018e548c8fb98776b61b7e3921f73607c028b23ac7 SHA512 94ab808eb2245a6e5c53fc34a0052db552e74ce31e68c8f287f709d28133862e5573ac6cd9bc7aff68e5dbea0afc5dfbb8701281f7c584188d7517f2f3b759b5

View File

@ -3,7 +3,7 @@
EAPI=6 EAPI=6
inherit eutils inherit eutils udev
DESCRIPTION="electronics prototyping platform based on easy-to-use hardware and software" DESCRIPTION="electronics prototyping platform based on easy-to-use hardware and software"
HOMEPAGE="https://www.arduino.cc/ https://www.pjrc.com/teensy/" HOMEPAGE="https://www.arduino.cc/ https://www.pjrc.com/teensy/"
@ -15,6 +15,7 @@ SRC_URI="
https://www.pjrc.com/teensy/td_${TEENSY_PV}/TeensyduinoInstall.linux64 -> TeensyduinoInstall-${TEENSY_PV}.linux64 ) https://www.pjrc.com/teensy/td_${TEENSY_PV}/TeensyduinoInstall.linux64 -> TeensyduinoInstall-${TEENSY_PV}.linux64 )
x86? ( https://downloads.arduino.cc/arduino-${PV}-linux32.tar.xz -> ${MY_P}-linux32.tar.xz x86? ( https://downloads.arduino.cc/arduino-${PV}-linux32.tar.xz -> ${MY_P}-linux32.tar.xz
https://www.pjrc.com/teensy/td_${TEENSY_PV}/TeensyduinoInstall.linux64 -> TeensyduinoInstall-${TEENSY_PV}.linux32 ) https://www.pjrc.com/teensy/td_${TEENSY_PV}/TeensyduinoInstall.linux64 -> TeensyduinoInstall-${TEENSY_PV}.linux32 )
https://www.pjrc.com/teensy/00-teensy.rules
" "
LICENSE="GPL-2 LGPL-2.1" LICENSE="GPL-2 LGPL-2.1"
@ -40,4 +41,5 @@ src_install() {
${WORKDIR}/TeensyduinoInstall --dir="${D}"/opt/"${MY_PN}" ${WORKDIR}/TeensyduinoInstall --dir="${D}"/opt/"${MY_PN}"
make_wrapper ${MY_PN} "${EROOT}opt/${MY_PN}/${MY_PN}" "${EROOT}opt/${MY_PN}" make_wrapper ${MY_PN} "${EROOT}opt/${MY_PN}/${MY_PN}" "${EROOT}opt/${MY_PN}"
udev_newrules ${DISTDIR}/00-teensy.rules 49-teensy.rules
} }

View File

@ -1,18 +0,0 @@
# ChangeLog for dev-python/genshi
# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
07 Jun 2017; Mario Fetka <mario@gentoo.org> -genshi-0.6.1.ebuild,
genshi-0.7.ebuild:
switch to distutils-r1
22 Apr 2013; Mario Fetka <mario.fetka@gmail.com> genshi-0.7.ebuild:
remove test
*genshi-0.6.1 (22 Apr 2013)
*genshi-0.7 (22 Apr 2013)
22 Apr 2013; Mario Fetka <mario.fetka@gmail.com>
+files/genshi-0.6-html_test.patch, +genshi-0.6.1.ebuild, +genshi-0.7.ebuild,
+metadata.xml:
Bump

View File

@ -1,6 +0,0 @@
AUX genshi-0.6-html_test.patch 2000 SHA256 76e1b2f5acc4c90c6f5c7a273b5510474ca0b1226246df382e2f3e6f52bbbb0f SHA512 009e9e2e727cec1dd895dfb36e6cd783f509648d6a8663c8db41258d12f93c5093a90f0d4d3c6671532f018623e505e8cee53cb3cc501cb25ee4d195e96b74fd WHIRLPOOL a8d10385617fae64b3e3d87826b43001ed1d39882cb2affdb336d91d44259e55c23b78f5c61b3d8da8ab348626b9bfa4c21f8b4b6949510aa9991ffe5ce9a0e4
AUX genshi-0.6.1-html_test.patch 2000 SHA256 76e1b2f5acc4c90c6f5c7a273b5510474ca0b1226246df382e2f3e6f52bbbb0f SHA512 009e9e2e727cec1dd895dfb36e6cd783f509648d6a8663c8db41258d12f93c5093a90f0d4d3c6671532f018623e505e8cee53cb3cc501cb25ee4d195e96b74fd WHIRLPOOL a8d10385617fae64b3e3d87826b43001ed1d39882cb2affdb336d91d44259e55c23b78f5c61b3d8da8ab348626b9bfa4c21f8b4b6949510aa9991ffe5ce9a0e4
DIST Genshi-0.7.tar.gz 491579 SHA256 1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352 SHA512 2d0042d4da4566725ddd80b73c5b7be09f479f5529e4aa69903edc2a98905ff6de42a0d5a6f02986d7962deb7740c4a3acf6955a8b77fdb42d3cf4ca037de6bf WHIRLPOOL 5e1a7af061d28a581c8a028ae7343a2b80697eb8bca01c8609345a3f2146db190a596d3488c0bde5aa132ac930d591ff1babd033ccb532c7cac7d2931751f906
EBUILD genshi-0.7.ebuild 919 SHA256 1a6d040c2e2cf0f05370261ec3a6d2dd6c99524805f31cd4f47e016532895c3e SHA512 ea5d063a9aacd46c483ffd8b3bf7d30aafe4f9906aa20f4406273d4914ae670c6f8f4281f6ef1df2a09e757a3f36856b92605b4dbe3322cbd2d790adb42fe939 WHIRLPOOL 7b00f706b9e04fab7b3f8ef2a99f94460ff2071a18fe0208e51a4f91cb49f90bb2cae1e41985e105a6563277d3ec89cddd6d26d032a5f1901d9805ec2d4f9d90
MISC ChangeLog 527 SHA256 d4e3c36d47f2a0fd2a5dec482c64efb1f51be404ede854c9f79f75c984589aa1 SHA512 f84f981c3a8ed871aa22af66af5e30d68a17ea45487223cc10bb931b951bd654e7b61012af3ce150666dfc67e60cb3d937709c73810c93d37a93d98271f1aedf WHIRLPOOL 1a61f72a29feb4667db7d5e7082da73c6b64696c4551d436565957f7c6b37a8b06b94c728638b2206838495d7986a2b90cf8bc2bb7dc2802e8dc36043d4cfe90
MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13

View File

@ -1,37 +0,0 @@
Add/Change #501 (test_sanitize_remove_src_javascript fails due to HTMLParser bugfixes in cpython)
Add/Change #500 (test_sanitize_remove_script_elem fails due to HTMLParser bugfixes in cpython)
--- a/genshi/filters/tests/html.py
+++ b/genshi/filters/tests/html.py
@@ -365,9 +365,12 @@
self.assertEquals('', (html | HTMLSanitizer()).render())
html = HTML('<SCRIPT SRC="http://example.com/"></SCRIPT>')
self.assertEquals('', (html | HTMLSanitizer()).render())
- self.assertRaises(ParseError, HTML, '<SCR\0IPT>alert("foo")</SCR\0IPT>')
- self.assertRaises(ParseError, HTML,
- '<SCRIPT&XYZ SRC="http://example.com/"></SCRIPT>')
+ html = HTML('<SCR\0IPT>alert("foo")</SCR\0IPT>')
+ self.assertEquals('&lt;SCR\x00IPT&gt;alert("foo")',
+ (html | HTMLSanitizer()).render())
+ html = HTML('<SCRIPT&XYZ SRC="http://example.com/"></SCRIPT>')
+ self.assertEquals('&lt;SCRIPT&amp;XYZ; SRC="http://example.com/"&gt;',
+ (html | HTMLSanitizer()).render())
def test_sanitize_remove_onclick_attr(self):
html = HTML('<div onclick=\'alert("foo")\' />')
--- a/genshi/filters/tests/html.py
+++ b/genshi/filters/tests/html.py
@@ -437,9 +440,9 @@
# Case-insensitive protocol matching
html = HTML('<IMG SRC=\'JaVaScRiPt:alert("foo")\'>')
self.assertEquals('<img/>', (html | HTMLSanitizer()).render())
- # Grave accents (not parsed)
- self.assertRaises(ParseError, HTML,
- '<IMG SRC=`javascript:alert("RSnake says, \'foo\'")`>')
+ # Grave accents.
+ html = HTML('<IMG SRC=`javascript:alert("RSnake says, \'foo\'")`>')
+ self.assertEquals('<img/>', (html | HTMLSanitizer()).render())
# Protocol encoded using UTF-8 numeric entities
html = HTML('<IMG SRC=\'&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;'
'&#112;&#116;&#58;alert("foo")\'>')

View File

@ -1 +0,0 @@
genshi-0.6-html_test.patch

View File

@ -1,38 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.6.ebuild,v 1.9 2012/11/06 19:27:08 mr_bones_ Exp $
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1 eutils
MY_P="Genshi-${PV}"
DESCRIPTION="Python toolkit for stream-based generation of output for the web."
HOMEPAGE="http://genshi.edgewall.org/ http://pypi.python.org/pypi/Genshi"
SRC_URI="http://ftp.edgewall.com/pub/genshi/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="doc examples"
DEPEND="dev-python/setuptools"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_install() {
distutils_src_install
if use doc; then
dodoc doc/*.txt
dohtml -r doc/*
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
</pkgmetadata>

View File

@ -1,4 +1,6 @@
DIST devscripts_2.13.4.tar.xz 573916 SHA256 6575a71023d7de62986b33c2db47074fe2be96023b51e427ad653ce6a0e73527 SHA512 051ff3a24d538d1bd64025249f1143660acee16fa5d63a5ef5ea857db1c99e22cfecfd958a9ca2564069220eae8c1d3ec453f434b0ae470219fe81bf07d71f38 WHIRLPOOL 6ca66afb249f731bf8e9bebd85ff8470de0c092c8fada6585f08ad07f8fb100cfb7aa2f8a7af2d7b841730b8ad410ae2027bcbea395c929fe0757d132a9ba146 DIST devscripts_2.13.4ubuntu0.1.tar.xz 578472 BLAKE2B 9374147f8dd121b14dbea6a01f7155f08b1c2d2920bcf26655a956324659cd8eb7133024b817e879aa4c3c9f695f0cdf9e2037736a9bc25290e5ca79ef5f1080 SHA512 5917bb67d3f9819ff16e563cafd6328f884b27da410064c0e2c081fefc7ec221333acbce236185aade4d5a6eb5ea6e4cf91c7bd5408ba0763b35383461fa0607
EBUILD deb-devscripts-2.13.4.ebuild 862 SHA256 eabf23a44a66b5abe412250eccf156dae0f8644edc0c060ff8555dff8bddfa9f SHA512 9dcbe852ee6c8d4a721843f95cd234f825341afd11de317d7422831b1fef4d5b4142e65c5dc4e96d32b78340478103b9b4bb7e2084aae247ad7d97557e799a2c WHIRLPOOL bcc6eb28249a046ec0cceebfa9b1a0af11a7ad824e45fd38a2818874ba71785f3e38aeab6339b56794f79a1726c3d1be78f37fddfdd53e26c8763ba1d45e83b3 DIST devscripts_2.22.1.tar.xz 989556 BLAKE2B 2a2e3ca9757c710e181e807f0369c137f21070d86b4c51d8b5132ca4add33677edbd26e04a2faae93e9e4586080286888880ce450119579aa40ad205c8e5d857 SHA512 260603e1a655035c5aca3c9734db1bc6aa7e9aa017ece7e9158c57e06a1ee548922ec2defdd9dcb4560743d78aef08d30695b1bc833bd4d77fe1c7497d157c45
MISC ChangeLog 240 SHA256 0a09538da66f945f6c39fdb9fa737ea1f72af8dcfb890e4093728905400b8f9d SHA512 264af4850edaa5de6a01159499c5aee87a8af5c209727b34dcde4c43c493a6fb1bd629354e3cd3686bd81ac9c4c89ae6b47c4ca8c3f200e24ded43a61e3e80f9 WHIRLPOOL c49ebbbb6f18945b47958d25fa6dbb700f6fb7133f01a14ec5ad0377ee4322e09378c08bc95b3288e52fcae1241e5f66a6d574ca9551700638665c3273f2d952 EBUILD deb-devscripts-2.13.4.ebuild 1014 BLAKE2B 5b3ebe6b3437464b11535747f7e6f0e6c838cb898d39cd76253b1cce3621bf6f4003cd6dfc3ba07631b6e40c83d7b725114ad0d183acf6e425f6b8d35fbc07c2 SHA512 4e9b4b15a1e82db0ad83424420ff86308f8e80d70702310b3c3f25e26340c469837ada945066c663248238175aca513bebdd0350540676cffcafc556e87d2241
MISC metadata.xml 205 SHA256 9fdfc9c91107d94feb8416adc2cec7734fa27084bff83ea859938b3216e028bc SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b WHIRLPOOL 779e2cb116b19389f70acc6d49694358619116f9849f3b8e46f00df4e39b4476424b20990b9dabb4ba16605d1894d6b820eaeb930401d825265bfdca27f6fb96 EBUILD deb-devscripts-2.22.1.ebuild 918 BLAKE2B d8f190f1054e8ce9c8a4bd154f3dbafe4e6c77396776592b0869df740150c85b06753ff703e580802e16e5a6595b44d0055a1aac05b5423beafb7fe8796cd878 SHA512 3ce7b8a4080fe73d98a72d4e3ebcfe03539c5ab676cd78f888dfc2aec200bb292b99208b5136c814a17bdf51cca81f0b08cf15cd7ddf6cb7d2f931b3dc4f0f9a
MISC ChangeLog 240 BLAKE2B 7ab7834ca14ea7faa9aed3ee3f5b6a58e6ff3ff6c1e866cc518fea5938247508fcbd2db54336cbb214a1a4e68cbef6f7000bc10f607be34ad02325c7fa7a1167 SHA512 264af4850edaa5de6a01159499c5aee87a8af5c209727b34dcde4c43c493a6fb1bd629354e3cd3686bd81ac9c4c89ae6b47c4ca8c3f200e24ded43a61e3e80f9
MISC metadata.xml 205 BLAKE2B 2885a6508cc84e8c20c79cd20d9fd3269df33e1ce3c6394fda79b8f7f17b6f92ade1a3177ca71e41b027cd1f16cb7795f1dfb4b99a3aa1f6f8055bb778d633a4 SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b

View File

@ -2,15 +2,16 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
EAPI="3" EAPI="6"
MY_PN="devscripts" MY_PN="devscripts"
inherit eutils inherit eutils
DESCRIPTION="geos_one loved tools" DESCRIPTION="geos_one loved tools"
HOMEPAGE="http://linamh.disconnected-by-peer.at" HOMEPAGE="http://linamh.disconnected-by-peer.at"
SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/" #SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/"
SRC_URI="${SRC_URI_BASE}${MY_PN}_${PV}.tar.xz" #SRC_URI="${SRC_URI_BASE}${MY_PN}_${PV}.tar.xz"
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/devscripts/${PV}ubuntu0.1/devscripts_${PV}ubuntu0.1.tar.xz"
SLOT="0" SLOT="0"
LICENSE="GPL-2 GPL-3 BSD" LICENSE="GPL-2 GPL-3 BSD"
@ -27,14 +28,16 @@ RDEPEND="dev-lang/ruby
app-portage/portage-utils" app-portage/portage-utils"
S="${WORKDIR}/${MY_PN}-${PV}" S="${WORKDIR}/${MY_PN}-${PV}ubuntu0.1"
src_prepare() { src_prepare() {
sed -e "s!/stylesheet/xsl/nwalsh/!/xsl-ns-stylesheets/!g" \ sed -e "s!/stylesheet/xsl/nwalsh/!/xsl-ns-stylesheets/!g" \
-e "s!--install-layout=deb!!g" -i $(find -name Makefile) -e "s!--install-layout=deb!!g" -i $(find -name Makefile)
eapply_user
} }
src_install() { src_install() {
emake DESTDIR="${D}" install || die "install fail" emake DESTDIR="${D}" install || die "install fail"
dodoc README LICENSES AUTHORS dodoc README COPYING AUTHORS
} }

View File

@ -0,0 +1,43 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="6"
MY_PN="devscripts"
inherit eutils
DESCRIPTION="geos_one loved tools"
HOMEPAGE="http://linamh.disconnected-by-peer.at"
SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/"
SRC_URI="${SRC_URI_BASE}${MY_PN}_${PV}.tar.xz"
SLOT="0"
LICENSE="GPL-2 GPL-3 BSD"
KEYWORDS="~amd64 ~arm ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND="dev-lang/ruby
virtual/perl-JSON-PP
app-arch/dpkg
app-text/docbook-xsl-stylesheets
app-portage/portage-utils"
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
sed -e "s!/stylesheet/xsl/nwalsh/!/xsl-ns-stylesheets/!g" \
-e "s!--install-layout=deb!!g" -i $(find -name Makefile)
eapply_user
}
src_install() {
emake DESTDIR="${D}" install || die "install fail"
dodoc README COPYING
rm ${D}/usr/share/bash-completion/completions/bts
}

View File

@ -1,2 +0,0 @@
DIST djcrx204.zip 794048 SHA256 739454bf0077d1e17b4c3f374069b4ad60be14724467d2bf2fc56b5c96be835a
EBUILD djgpp-runtime-2.0.4.ebuild 1790 SHA256 40636ffe00cdbaccebee1192d20fab13ca111ac4a8c277feca96105f662a55f1 SHA512 97d932379c65b5e652110ac7c6a1b5d44501a7cb81b3fb24c8f210d0530989033de69fa87d21a39233d5c3532822ea842c3760b540239b5b0335bb87d10e7bdd WHIRLPOOL 52570d1be7fe4e3ef5e3b9ef6206058db224285922918b456d93f676d85a0dff95860a9868d8d4d1228109c689e6e028eb0741d185e7923b2a47eb8a7e28b5d5

View File

@ -1,70 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw64-runtime/mingw64-runtime-2.0.1.ebuild,v 1.1 2012/03/12 05:26:31 vapier Exp $
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
export CTARGET=${CATEGORY/cross-}
fi
fi
inherit flag-o-matic eutils toolchain-funcs
DESCRIPTION="Free DOS runtime and import library definitions"
HOMEPAGE="http://www.delorie.com/djgpp/"
SRC_URI="ftp://ftp.delorie.com/pub/djgpp/beta/v2/djcrx204.zip"
LICENSE="LGPL GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="crosscompile_opts_headers-only"
RESTRICT="strip"
S=${WORKDIR}
is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]
}
just_headers() {
use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
}
pkg_setup() {
if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
die "Invalid configuration"
fi
}
src_unpack() {
unpack ${A}
find "${WORKDIR}" -type f -exec touch -r . {} +
}
src_compile() {
just_headers && return 0
CHOST=${CTARGET} strip-unsupported-flags
append-cppflags -isystem "${WORKDIR}/include"
$(tc-getCC) ${CFLAGS} src/stub/stubify.c -o stubify
$(tc-getCC) ${CFLAGS} src/stub/stubedit.c -o stubedit
}
src_install() {
insinto /usr/${CTARGET}/usr/include
doins -r "${WORKDIR}"/include/* || die
is_crosscompile \
&& dosym usr /usr/${CTARGET}/${CTARGET} \
&& dosym usr/include /usr/${CTARGET}/sys-include
just_headers && return 0
insinto /usr/${CTARGET}/lib
doins -r "${WORKDIR}"/lib/* || die
into /usr
newbin stubify ${CTARGET}-stubify
newbin stubedit ${CTARGET}-stubedit
env -uRESTRICT CHOST=${CTARGET} prepallstrip
}

View File

@ -1,8 +1,4 @@
DIST go-utils-0.3.1.tar.bz2 57305 BLAKE2B a64103ecfc9c437a25693c6e4106f1a4a9d5b83c325b180ff4c7315d1686f917c108455aa981d17c2778241ea85549ee85971224b8e6cd1e71cfff5c22f64651 SHA512 4a0a9f4014497460b7a31d1ea114b29adf8d1007eaedddbd0198ae9efed7823884dfec5cd4e1513050c7d4ef0f73fca4d020a178d2974dafbd79d833296f9a62
DIST go-utils-0.3.tar.bz2 57091 BLAKE2B 0c943769edede510c44dfd20ca5ca0f1f6b7372c4d07a0b7fdff3fdd9c5bf402e3dacff0b78db6767d3778d43579c7423d29d14107c9b8b4fae17fadc7ca340b SHA512 ba830ada49f4d21ad39b0c23db061a4d0420adcbd103d2a5b527c3f41c5e47feb265589ab8cf632de3364821b335380b6bf62ea27f13bd2c563125bc8c034996
DIST go-utils-0.4.1.tar.bz2 58489 BLAKE2B b802db824aa7104020dc7b8650186f365bd15f44828a2dbaac3d38138af3c5d392545ec5a29ccd3b23e3c7318d61df831876fcc95f0afdc25aced218b5a5e677 SHA512 c716b0836d9c1fa908ee5a9f0b0a03e99f20b4a436c8b32610eb0dacd1bc0bab9ccdddf6d644c06d494ba32c8759a94c8f0da9153228b7198e527280b5b02a47 DIST go-utils-0.4.1.tar.bz2 58489 BLAKE2B b802db824aa7104020dc7b8650186f365bd15f44828a2dbaac3d38138af3c5d392545ec5a29ccd3b23e3c7318d61df831876fcc95f0afdc25aced218b5a5e677 SHA512 c716b0836d9c1fa908ee5a9f0b0a03e99f20b4a436c8b32610eb0dacd1bc0bab9ccdddf6d644c06d494ba32c8759a94c8f0da9153228b7198e527280b5b02a47
EBUILD go-utils-0.3.1.ebuild 626 BLAKE2B 3fd36fe23bb5b6561be1da519c43d289b615ea3cb36f0f6186ab305a343e217834574457d4ca708b1d9e036ef3c30d49f6389a5b25dcffa479651030391ffe04 SHA512 e1a8839fc815d97b09042bdefdc5dc04291000c7d02e0281dd3c17aa0a756ca3137f460a05fb326fe98931efbd993f0431ade6e459178f81f19b1664aa53e538 EBUILD go-utils-0.4.1.ebuild 626 BLAKE2B 4fe118213be3df2ec02acb1cdce813a327829f82f31e43176f22fc7df036d357cf9d83251972084bc7fa5f270126676636a98752b26011aa43d1b703d92808b7 SHA512 947c2a7d8143562abfad79654ae0ddbd196a0ce7d3c4eeae2c8123b87b8e77715eb03eb2b404b81121feb5f8c17ef2ca5c4958008bd5fbfec9ea22f28abb024d
EBUILD go-utils-0.3.ebuild 626 BLAKE2B 43379803916d841c8b3a4f187142f5208c0304aa9d30846ac142b96e9e2848149a97f6770484ed964fbd6afda75c6c0f37ef53134ebf98863cef9515528be01c SHA512 ae33a00aa72d46e5a320d01c28dddc9fb483908c2916f7d94d490b384e1108d8dd62b86eab06784cd557b5beae8b1e6e7fecdb45ec4f8eb7c40dd5a4ad28c752
EBUILD go-utils-0.4.1.ebuild 626 BLAKE2B 75a7fc9ff1170dc54c5e6d85bb77810a5697057b503373ab27611a84029f2b69b6265cb5039a9f388540c1d255d6fde76ed6619121de94ccd8c412f3abb6952c SHA512 4e8b9ecd79fe3e3d8ac3583e214c53809e83a52767e9c3bd98cbf56781874d2eb28fc12ec7b09032b7865a97f585095f83833519a2d0bb598b88792fe8f84bd9
MISC ChangeLog 1801 BLAKE2B 7bec082a67677551670231b7dce2c4df5622ded09c44c9fe1761f1324ad8a5ed23e9510e754fe9eb045a67b4ee6de6d725ec6f558436eb41836f1bdd29a41272 SHA512 f75506ab8ea4995300bd67f40b3c301e242aac8c8184b8729795b9129b8958494ba714480f4f103c4918093c2bfe4059555caf78a6dab02989928dd40e100220 MISC ChangeLog 1801 BLAKE2B 7bec082a67677551670231b7dce2c4df5622ded09c44c9fe1761f1324ad8a5ed23e9510e754fe9eb045a67b4ee6de6d725ec6f558436eb41836f1bdd29a41272 SHA512 f75506ab8ea4995300bd67f40b3c301e242aac8c8184b8729795b9129b8958494ba714480f4f103c4918093c2bfe4059555caf78a6dab02989928dd40e100220
MISC metadata.xml 205 BLAKE2B 2885a6508cc84e8c20c79cd20d9fd3269df33e1ce3c6394fda79b8f7f17b6f92ade1a3177ca71e41b027cd1f16cb7795f1dfb4b99a3aa1f6f8055bb778d633a4 SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b MISC metadata.xml 205 BLAKE2B 2885a6508cc84e8c20c79cd20d9fd3269df33e1ce3c6394fda79b8f7f17b6f92ade1a3177ca71e41b027cd1f16cb7795f1dfb4b99a3aa1f6f8055bb778d633a4 SHA512 ef3a39d2cd131cd29451ec2d009484e89b60e8cbeed5fc0f5f899cebb0c5f9867682ce603982e4de32004493944c6ff99a4c797e7ef2441d6049e5a616143a8b

View File

@ -1,31 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit eutils
DESCRIPTION="geos_one loved tools"
HOMEPAGE="http://linamh.disconnected-by-peer.at"
SRC_URI="http://ftp.disconnected-by-peer.at/go/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2 GPL-3 BSD"
KEYWORDS="~amd64 ~arm ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND="app-portage/gentoolkit
dev-vcs/subversion
sys-apps/portage
dev-lang/ruby
dev-lang/python
app-portage/portage-utils"
src_install() {
emake DESTDIR="${D}" install || die "install fail"
dodoc README LICENSES AUTHORS
}

View File

@ -1,31 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit eutils
DESCRIPTION="geos_one loved tools"
HOMEPAGE="http://linamh.disconnected-by-peer.at"
SRC_URI="http://ftp.disconnected-by-peer.at/go/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2 GPL-3 BSD"
KEYWORDS="~amd64 ~arm ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND="app-portage/gentoolkit
dev-vcs/subversion
sys-apps/portage
dev-lang/ruby
dev-lang/python
app-portage/portage-utils"
src_install() {
emake DESTDIR="${D}" install || die "install fail"
dodoc README LICENSES AUTHORS
}

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
EAPI="5" EAPI="6"
inherit eutils inherit eutils

View File

@ -1,8 +0,0 @@
# ChangeLog for games-engines/gemrb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
09 May 2010; Mario Fetka <mario.fetka@gmail.com> +gemrb-0.6.0.ebuild,
+metadata.xml:
bump

View File

@ -1,8 +0,0 @@
AUX GemRB.cfg.sample 8767 RMD160 7f58156143d25546fbf2514410d3e3b020aadcbf SHA1 7826df65159efaad4a66147a404391f37c6f2583 SHA256 6e7c232fada9d13aa72ec5ca049ea6c1bfa8500e995e26008912d51134b6c76d
DIST gemrb-0.5.0.tar.gz 2084847 RMD160 48fd9f77bd1a3f19b95d5aedd5e2825e5328d980 SHA1 86a01fadd1b4312021256908ba7aafdcb23d7e55 SHA256 795c7ce85ceed60f4f81a451f06969a12d6d812d71e10d85786ef64454f14de1
DIST gemrb-0.6.0.tar.gz 2227197 RMD160 5c5d04a62453abae02a270eaa56676419fa5dbb3 SHA1 bc59f6111bb40a4a9b9c78ab9b7521d8e2da35f7 SHA256 64f8b5c08e7228ab6f6665abfb0ac5df6f69c701c74cf301b892c504efc7fa29
EBUILD gemrb-0.5.0.ebuild 1170 RMD160 e93a88d1d12071f19013754ab6644f7b828dd098 SHA1 5f9e7150849ddabda048535715a73f2271933ed2 SHA256 dcd03b14808b867f776bd4ae74f4b5d9ffc19f69251ec691d7401703f43575fe
EBUILD gemrb-0.6.0.ebuild 1268 RMD160 e7e12d608a26982eab8178e7b4aaa7096c469004 SHA1 f2223303999834d2ca8a5e4b031d4370183d728a SHA256 9d44776fa94e54955677ade76d15e4d1de191a477ab67d4e75bcf258702b940f
EBUILD gemrb-9999.ebuild 1449 RMD160 d96e1a743b9af54f80b8781f6e961b0c8a694a6e SHA1 cf71a8cf386bfe0fb113bc9487fba379dbe23017 SHA256 3875bd4c0c15b66e9575a9c95fb2f094fe0576844f771f0d4ae6e410637f8c8b
MISC ChangeLog 217 RMD160 796739f4eb8c25ee6f42949d63394f30fe07d401 SHA1 1ac03ccbc7b3827533bdf5e82ba5d651fe7693fb SHA256 664af5ce7055d792f49d72da32591b8758101ec6084c11dc0063f359995c201a
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -1,228 +0,0 @@
#####################################################
# #
# This is the GemRB Configuration file. #
# Here are defined some default parameters for #
# basic configuration and paths definition. #
# #
# Parameters are defined as a Name=Value pair #
# The Value can be of three types: #
# - String #
# - Integer #
# - Boolean #
# #
# The String value is represented as follows #
# i.e. H:\GemRB\plugins #
# Integers are defined as follows #
# i.e. 12723 #
# Booleans are represented as 1 or 0 in this file #
# #
# Lines starting with # are ignored #
# #
#####################################################
#####################################################
# #
# Game Type [String] Use one of the following #
# values: #
# #
# bg1 Baldur's Gate #
# bg2 Baldur's Gate 2 : SoA #
# tob Baldur's Gate 2 : ToB #
# iwd IceWind Dale #
# how IceWind Dale : HoW or ToTL #
# iwd2 IceWind Dale 2 #
# pst Planescape Torment #
# (More will come) #
# #
#####################################################
GameType=bg2
#####################################################
# Game Name [String] Title for GemRB window, use #
# anything you wish, e.g. Baldur's Gate 3: RotFL #
#####################################################
GameName=Baldur's Gate 2
#####################################################
# Video Parameters #
#####################################################
#Screen width
Width=640
#Screen height
Height=480
#Bits per pixel [Integer:16,24,32]
Bpp=32
#Fullscreen [Boolean]
Fullscreen=1
# Delay before tooltips appear [milliseconds]
TooltipDelay=500
#####################################################
# Audio Parameters #
#####################################################
# #
# All volume options are in percents, with 100 #
# being the normal and default volume #
# #
#####################################################
# Volume of ambient sounds
VolumeAmbients = 100
# Volume during movie playback
VolumeMovie = 100
# Volume of background music
VolumeMusic = 100
# Volume of sound effects
VolumeSFX = 100
# Volume of PC or NPC voices
VolumeVoices = 100
#####################################################
# Case Sensitive Filesystem [Boolean] #
# #
# If your installed game files are residing on a #
# case sensitive filesystem (ext2 on Linux) then #
# you need to set this value to 1, it has no #
# effect on Windows #
#####################################################
CaseSensitive=1
#GameOnCD=0
#####################################################
# Debug #
#####################################################
# Do not play intro videos [Boolean], useful for development
SkipIntroVideos=0
# Draw Frames per Second info [Boolean]
DrawFPS=0
# Hide unexplored parts of a map
FogOfWar=1
# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt
# full listing
EnableCheatKeys=0
#####################################################
# Paths #
#####################################################
# #
# Note: You have to terminate all paths with the #
# path separator character ('\' for Windows users, #
# '/' for Linux users) #
# #
#####################################################
#####################################################
# Game Paths [String] #
# #
# These are the paths where the Game you want to #
# play is installed. #
# Enter the full path to the directory. #
#####################################################
GamePath=/usr/local/share/games/bg2/
CD1=/usr/local/share/games/bg2/
CD2=/usr/local/share/games/bg2/
CD3=/usr/local/share/games/bg2/
CD4=/usr/local/share/games/bg2/
CD5=/usr/local/share/games/bg2/
#####################################################
# GemRB Path [String] #
# #
# This is the path where GemRB is stored, just #
# enter the full path to the GemRB executable #
#####################################################
GemRBPath=/usr/share/games/gemrb/
#####################################################
# GemRB Cache Path [String] #
# #
# This is the path where GemRB will store the #
# cached files, enter the full path to the GemRB #
# Cache directory. #
#####################################################
CachePath=/var/cache/gemrb/
#####################################################
# GemRB GUI Scripts Path [String] #
# #
# This is the path where GemRB GUI scripts are #
# stored, usually these are in the GemRB directory #
# Enter the full path to the directory containing #
# the 'GUIScript' subdirectory. #
#####################################################
GUIScriptsPath=/usr/share/games/gemrb/
#####################################################
# GemRB Plugins Path [String] #
# #
# This is the path containing GemRB plugins #
# - shared libraries (.so) on Unixes, or #
# DLLs (.dll) on windows. #
# Enter the full path to the directory. #
# #
# You may need to specify this path if running #
# GemRB from source directory on Linux. #
#####################################################
PluginsPath=/usr/games/lib/gemrb/plugins/
#####################################################
# GemRB Save Path [String] #
# #
# This is the path where GemRB looks for saved #
# games. #
# Enter the full path to the directory containing #
# e.g. the 'save' subdirectory. #
# #
# You do not have to specify this if you use save #
# subdir in the GamePath directory. #
#####################################################
SavePath=~/.bg2/
#####################################################
# Game Data Path [String] #
# #
# This is the subdirectory under GamePath where #
# game data files are stored. #
# #
# You probably do NOT want to specify this! #
#####################################################
#GameDataPath=data
#####################################################
# Game Data Override Path [String] #
# #
# This is the subdirectory under GamePath where #
# game data override files are stored. #
# #
# You probably do NOT want to specify this! #
#####################################################
#GameOverridePath=override
#####################################################
# END #
#####################################################

View File

@ -1,48 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit autotools eutils games
DESCRIPTION="Reimplementation of the Infinity engine"
HOMEPAGE="http://gemrb.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND=">=media-libs/libsdl-1.2
media-libs/openal
>=dev-lang/python-2.3"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i '/sysconf_DATA = GemRB.cfg.sample GemRB.cfg.subdir.sample/d' \
gemrb/Makefile.am || die "remove default config failed"
if ! use doc ; then
sed -i 's|^SUBDIRS = \(.*\) docs|SUBDIRS = \1|' \
gemrb/Makefile.am || die "don't install docs failed"
fi
eautoreconf || die "eautoreconf failed"
}
src_compile() {
egamesconf \
--docdir="/usr/share/doc/${PF}" \
|| die "egamesconf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
libtool --finish "${GAMES_LIBDIR}"
diropts -m0775 -g ${GAMES_GROUP}
keepdir "/var/cache/gemrb"
dodoc "${FILESDIR}/GemRB.cfg.sample"
dodoc README AUTHORS
prepgamesdirs
}

View File

@ -1,58 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.6.0.ebuild,v 1.3 2010/04/27 08:48:06 tupone Exp $
PYTHON_DEPEND="2"
EAPI=2
inherit autotools eutils python games
DESCRIPTION="Reimplementation of the Infinity engine"
HOMEPAGE="http://gemrb.sourceforge.net/"
SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
DEPEND=">=media-libs/libsdl-1.2
sys-libs/zlib
media-libs/libvorbis
media-libs/libpng
media-libs/openal"
pkg_setup() {
python_set_active_version 2
games_pkg_setup
}
src_prepare() {
sed -i \
-e 's|\$(bindir)/plugins/|\$(libdir)/|' \
Makefile.am \
|| die "sed failed"
sed -i \
-e '/NullSound/d' \
gemrb/plugins/Makefile.am \
|| die "sed failed"
sed -i \
-e '/sysconf_DATA = /d' \
gemrb/Makefile.am \
|| die "sed failed"
eautoreconf
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--docdir="/usr/share/doc/${PF}"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
diropts -m0775 -g ${GAMES_GROUP}
keepdir "/var/cache/gemrb"
dodoc "${FILESDIR}/GemRB.cfg.sample" README AUTHORS
prepalldocs
prepgamesdirs
}

View File

@ -1,54 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit autotools eutils games subversion
DESCRIPTION="Reimplementation of the Infinity engine"
HOMEPAGE="http://gemrb.sourceforge.net/"
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
ESVN_REPO_URI="https://gemrb.svn.sourceforge.net/svnroot/gemrb/gemrb/trunk"
LICENSE="GPL-2"
SLOT="0"
#KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND=">=media-libs/libsdl-1.2
media-libs/openal
>=dev-lang/python-2.3"
RDEPEND="${DEPEND}"
src_unpack() {
subversion_src_unpack ${A}
cd "${S}"
sed -i 's|\$(bindir)/plugins/|\$(libdir)/|' \
Makefile.am || die "move plugindir failed"
sed -i '/NullSound/d' \
gemrb/plugins/Makefile.am || die "enable sound failed"
sed -i '/sysconf_DATA = GemRB.cfg.sample GemRB.cfg.subdir.sample/d' \
gemrb/Makefile.am || die "remove default config failed"
if ! use doc ; then
sed -i 's|^SUBDIRS = \(.*\) docs|SUBDIRS = \1|' \
gemrb/Makefile.am || die "don't install docs failed"
fi
eautoreconf || die "eautoreconf failed"
}
src_compile() {
egamesconf \
--docdir="/usr/share/doc/${PF}" \
|| die "egamesconf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
libtool --finish "${GAMES_LIBDIR}"
diropts -m0775 -g ${GAMES_GROUP}
keepdir "/var/cache/gemrb"
dodoc "${FILESDIR}/GemRB.cfg.sample"
dodoc README AUTHORS
prepgamesdirs
}

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -1,24 +0,0 @@
# ChangeLog for games-rpg/baldursgate
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
12 Aug 2009; Mario Fetka <mario.fetka@gmail.com>
baldursgate-2.5.26498.ebuild:
add scripts dir to shared
12 Aug 2009; Mario Fetka <mario.fetka@gmail.com>
baldursgate-2.5.26498.ebuild, -baldursgate-2.5.26499.ebuild,
-files/GemRB.cfg:
delete buggy ebuild
10 Aug 2009; Mario Fetka <mario.fetka@gmail.com> files/GemRB.cfg:
update config file
10 Aug 2009; Mario Fetka <mario.fetka@gmail.com>
baldursgate-2.26498.ebuild:
add tob support
10 Aug 2009; Mario Fetka <mario.fetka@gmail.com> +files/bg2-dir.txt,
baldursgate-2.26498.ebuild, +metadata.xml:
initial checkin

View File

@ -1,14 +0,0 @@
AUX GemRB1.cfg 8711 SHA256 862d25a22b5d2cc1fc4f4b91278fe6333b4d28a946c96b648acda71cf8fdf3ac SHA512 601326f797c2f1a4e99ddad99dfa254ab7bb30388e694d16b486770014e9357a6e77b690b49d4a9d0225492bb44f9d276f846275186d1ace310a86b53f6c0194 WHIRLPOOL 6ef2d4e166eae5ecddd677e8db69022e7b226f2f41f51b05aec1bab3e814e0ddf7334cfb5fb5f0fd56467e75804de0f6282a89f124b84f94d723dc4ee685adc9
AUX GemRB2.cfg 8711 SHA256 21efadc409cca64232f577278f6fa57b37d29f77e0926b51ec1c1a311625e949 SHA512 d04a418eb07ab24839d5d0ec41a12ec31f868ae3e5b8ada8d8584cd745f112f030a0207e4ecaa14a45d5e5fcd6abe4fcd1057c33088b6c6e344236b3a4963b95 WHIRLPOOL c3c4b8b9780e46af4e39536630f7186a9cfaeff5ad9b410da1f19cd6d40a68448f57dcab880ab2fd9c0890344e120fcd7125bd7c919e4897ef9bec0900df5b95
AUX bg2-dir.txt 571459 SHA256 ae57e9fbf9d4d77579208cc0fb3a4358339f9e5199a1fde91028084339ed8d18 SHA512 d952b53fdbdc8add26979661bb995a108555fc7b8b0b6be9aed87d0a00290f14f554e93fd6dee959ff2ee63d83b0939f3da3ea53243e7e20e931c418c2c32680 WHIRLPOOL 19857486318e80eda227cb4de77dbd5f5ea743b05a239600f8674a126ef5c5d37fd0a1590f9093b07ab7227fb6b5f6ba2430cd06c3a868cea1420bfecb7b05cc
DIST BGII-ThroneofBhaal_Patch_26498_ENGLISH.exe 8392346 SHA256 a72932f5d31ad5df490a51083335a4abfc194de9cba05b5fa061c0ea7ff7fded
DIST BGII-ThroneofBhaal_Patch_26498_EUROPEAN.exe 8030790 SHA256 c234c599586c1bd68cf525041e7467db90466f24d61a56e4cebba19c06c58097
DIST Baldur%27sGateII-ShadowsofAmnPatchENGLISH.exe 8696166 SHA256 79835a3e7edbc41920362f4bf47b260cb00005c216a23517179fd96d3b502396
DIST Baldur%27sGateII-ShadowsofAmnPatchEUROPE.exe 6306918 SHA256 c1e77ec092a0d2ce8cec65b5328257cf1ee5ae39e38f363d83eab03825a2f90e
DIST Baldur-s-Gate-2-Shadows-of-Amn-2-128x128.png 34194 SHA256 efde4551eddf48d638c3867fd576e62b95cdb0af7a81b91905a6dc7282319c3c
DIST Baldur-s-Gate-2-Throne-of-Bhaal-2-128x128.png 36950 SHA256 23b9bd527b3316d84453c41176b5a0b018c670358d18a87ed4283ba39b426026
DIST pathconvert.tar.gz 63831 SHA256 20c57928fa90a5c523b1a9a8efb8f619de3869427bf80e6b183d823b82fa257e
EBUILD baldursgate-1.1.5512.ebuild 26800 SHA256 30d05f65e2c277d65503c3424ba676bf12499a06444f711b530c47e464e47a35 SHA512 b00317dd2f7790ffeec37e1caad53fbf5b71cedb829ebc403fb7235ab927a499919d3d1def28081fb28d328e567da5a1c20399037d9796c94928a736abe0e043 WHIRLPOOL 022944e6ccf76c7142b68ed40c7969854468f8a34d9e951592ebd0d2f130482348a8e2ba0b3a5aeb1afaae3096d700ad5bbee3eaf076ca70705b57e9489a3a90
EBUILD baldursgate-2.5.26498.ebuild 27143 SHA256 a5058068c315ecc4da87579218d433db6c02b2b1ca35c9c724bae0a64a7a4e93 SHA512 edbb370ff589569f7d488e4293e12b1037e40624aed8503876d16a3f154bc830ec593e42ec18d158b84afe317e419f070ec37d9f699dbdd91a1a1cae8661e3c7 WHIRLPOOL 4d0aabf4ac2ea7a4e76b2a705bef8e80cf4b0b60c85af26b4a96e06ecf3c4e1533d62d147ad376e0525b6156694596bbd1e7091e7d949c9d57d61e7d291246cb
MISC ChangeLog 716 SHA256 c3d9df640b62134e357472c060398df93cd13b3f89fbfb29e98ad7709cbce3dc SHA512 d6254a8f9cd3642f1d2a8ecd534c23c34859c12ad3f0f0f4d3e4bc9b57057996fd4d4b8083341cafc9ffa7dc5272e9b862bb86f6e1d12b51fe039ca9cbbbbd60 WHIRLPOOL d1953b93ac37a23d31067b3032e5cfd980b34ce37ac566ca8c0b65dd304e998711e175c804c7345a89e6603c724a55d0b877d4adffb4bc5e1f8c54102b0e0c47
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@ -1,652 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils games multilib
LANGUAGES="linguas_fr linguas_it linguas_es linguas_de"
MY_PV=${PV//.}
UPDATE_BASEURL="http://downloads.bioware.com/baldursgate2/"
SOA_ENGLISH="Baldur%27sGateII-ShadowsofAmnPatchENGLISH.exe"
SOA_EUROPE="Baldur%27sGateII-ShadowsofAmnPatchEUROPE.exe"
TOB_ENGLISH="BGII-ThroneofBhaal_Patch_26498_ENGLISH.exe"
TOB_EUROPE="BGII-ThroneofBhaal_Patch_26498_EUROPEAN.exe"
LINGUAS_SRC_URI="linguas_fr? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_it? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_es? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_es? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_de? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
tob? ( ${UPDATE_BASEURL}/${TOB_ENGLISH} )
${UPDATE_BASEURL}/${SOA_ENGLISH}"
DESCRIPTION="Baldurs Gate SOA TOB"
HOMEPAGE="http://www.bioware.com/games/shadows_amn/ http://www.bioware.com/games/throne_bhaal/"
SRC_URI="http://www.tamacom.com/pathconvert/pathconvert.tar.gz
http://www.iconarchive.com/icons/3xhumed/mega-games-pack-25/Baldur-s-Gate-2-Shadows-of-Amn-2-128x128.png
tob? ( http://www.iconarchive.com/icons/3xhumed/mega-games-pack-25/Baldur-s-Gate-2-Throne-of-Bhaal-2-128x128.png )
${LINGUAS_SRC_URI}"
LICENSE="BG1-EULA"
SLOT="1"
KEYWORDS="~amd64 x86"
IUSE="tob videos ${LANGUAGES}"
RESTRICT="strip mirror"
RDEPEND=">=games-engines/gemrb-0.5.0"
DEPEND="${RDEPEND}
app-arch/unshield
app-arch/p7zip"
GAMES_LICENSE_CHECK=yes
launcher=${S}/BaldursGate${SLOT}
dir=${GAMES_PREFIX_OPT}/BioWare/BaldursGate${SLOT}
Ddir=${D}/${dir}
LNDIR="${S}"/pathconvert/lndir/lndir
BG2_SET=
# This is my fun section where I try to determine which CD/DVD set we have.
# Expect this to be very messy and ugly, and hopefully it all works as we want
# it to on all of the various media.
get_bg2_set() {
# First we check to see if we have CD_ROOT defined already. If we do,
# this will make our lives so much easier.
if [[ -n "${CD_ROOT}" ]]
then
if [[ -f "${CD_ROOT}"/CD4/Data/CD4CreAn.bif ]] && [[ -f "${CD_ROOT}"/data1.hdr ]]
then
BG2_SET="dvd"
einfo "Baldurs Gate II: Shadows of Amn DVD found..."
elif [[ -f "${CD_ROOT}"/data1.hdr ]]
then
BG2_SET="original_cd"
einfo "Baldurs Gate II: Shadows of Amn CD set found..."
fi
# Now we check to see if we have CD_ROOT_1 set, which means we have a CD
# set, or even a DVD set.
elif [[ -n "${CD_ROOT_1}" ]]
then
if [[ -f "${CD_ROOT_1}"/CD4/Data/CD4CreAn.bif ]] && [[ -f "${CD_ROOT_1}"/data1.hdr ]]
then
BG2_SET="dvd"
einfo "Baldurs Gate II: Shadows of Amn DVD found..."
elif [[ -f "${CD_ROOT_1}"/data1.hdr ]]
then
BG2_SET="original_cd"
einfo "Baldurs Gate II: Shadows of Amn CD set found..."
fi
# OK. Neither were set, so now we're going to start our detection and try
# to figure out what we have to work from.
else
local mline=
for mline in $(mount | egrep -e '(iso|cdrom|udf)' | awk '{print $3}')
do
if [[ -f "${mline}"/CD4/Data/CD4CreAn.bif ]] && [[ -f "${mline}"/data1.hdr ]]
then
BG2_SET="dvd"
einfo "Baldurs Gate II: Shadows of Amn DVD found..."
elif [[ -f "${mline}"/data1.hdr ]]
then
BG2_SET="original_cd"
einfo "Baldurs Gate II: Shadows of Amn CD set found..."
fi
done
fi
}
get_cd_set() {
while `[[ -z "${BG2_SET}" ]]`
do
echo "Please insert your first Baldurs Gate II: Shadows of Amn CD/DVD into your drive and"
echo "press any key to continue"
read -n 1
get_bg2_set
done
# Here is where we start our CD/DVD detection for changing disks.
case "${BG2_SET}" in
dvd)
export CDROM_NAME_1="DVD1"
einfo "Both Shadows of Undrentide and Hordes of the Underdark will"
einfo "be installed from your DVD along with Neverwinter Nights."
if use tob
then
einfo "You will also need the SoU CD for this installation."
export CDROM_NAME_2="ToB"
cdrom_get_cds CD4/Data/CD4CreAn.bif CD5/movies/25Movies.bif
else
cdrom_get_cds CD4/Data/CD4CreAn.bif
fi
;;
original_cd)
export CDROM_NAME_1="CD1" CDROM_NAME_2="CD2" CDROM_NAME_3="CD3" CDROM_NAME_4="CD4"
touch .metadata/orig || die "touch orig"
if use tob
then
einfo "You will also need the SoU CD for this installation."
export CDROM_NAME_5="ToB"
cdrom_get_cds data1.hdr CD2/Data/MovHD0.bif \
CD3/Data/CD3CreAn.bif CD4/Data/CD4CreAn.bif CD5/movies/25Movies.bif
else
cdrom_get_cds data1.hdr CD2/Data/MovHD0.bif \
CD3/Data/CD3CreAn.bif CD4/Data/CD4CreAn.bif
fi
;;
esac
}
src_unpack() {
mkdir -p "${S}"
cd "${S}"
# We create this .metadata directory so we can keep track of what we have
# installed without needing to keep all of these multiple USE flags in all
# of the ebuilds.
mkdir -p .metadata || die "Creating .metadata"
# Since we dont *always* want to do this, we check for USE=cdinstall
# Here, we determine which CD/DVD set that we have. This will seem a
# bit odd, since well be doing the detection a few times.
get_bg2_set
# Now that we know what were looking for, lets look for the media.
get_cd_set
mkdir -p "${S}"/patches
cd "${S}"/patches
einfo "Unpacking Patch ${SOA_ENGLISH} files..."
7z x -osoa-en -y ${DISTDIR}/${SOA_ENGLISH} || die "unpacking"
unshield -L -d soa-en x "${S}"/patches/soa-en/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_ENGLISH} files..."
7z x -otob-en -y ${DISTDIR}/${TOB_ENGLISH} || die "unpacking"
unshield -L -d tob-en x "${S}"/patches/tob-en/data?.* || die "unshield"
fi
if use linguas_fr
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
if use linguas_it
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
if use linguas_es
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
if use linguas_de
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
case ${BG2_SET} in
dvd)
mkdir -p "${S}"/shared-soa
cd "${S}"
# We dont give the user the option to install SoU/HotU. While some
# people might complain about this, most newer NWN stuff requires
# them both anyway, so it makes no sense not to install them.
einfo "Unpacking files..."
unshield -L -d shared-soa x "${CDROM_ROOT}"/data?.* || die "unpacking"
# We have to adjust the files after unpacking the cab file.
mkdir -p "${S}"/cd1
einfo "Copying CD1 files..."
[[ -d "${CDROM_ROOT}"/English ]] && cp -rv "${CDROM_ROOT}"/English cd1
if use linguas_fr
then
[[ -d "${CDROM_ROOT}"/French ]] && cp -rv "${CDROM_ROOT}"/French cd1
fi
if use linguas_it
then
[[ -d "${CDROM_ROOT}"/Italian ]] && cp -rv "${CDROM_ROOT}"/Italian cd1
fi
if use linguas_es
then
[[ -d "${CDROM_ROOT}"/Spanish ]] && cp -rv "${CDROM_ROOT}"/Spanish cd1
fi
if use linguas_de
then
[[ -d "${CDROM_ROOT}"/German ]] && cp -rv "${CDROM_ROOT}"/German cd1
fi
einfo "Copying CD2 files..."
mkdir -p "${S}"/cd2
cp -rv "${CDROM_ROOT}"/CD2/* cd2
einfo "Copying CD3 files..."
mkdir -p "${S}"/cd3
cp -rv "${CDROM_ROOT}"/CD3/* cd3
einfo "Copying CD4 files..."
mkdir -p "${S}"/cd4
cp -rv "${CDROM_ROOT}"/CD4/* cd4
if use tob
then
mkdir -p "${S}"/shared-tob
cdrom_load_next_cd
einfo "Unpacking files..."
unshield -L -d shared-tob x "${CDROM_ROOT}"/data?.* || die "unpacking"
einfo "Copying CD5 (ToB) files..."
mkdir -p "${S}"/cd5
cp -rv "${CDROM_ROOT}"/CD5/* cd5
fi
;;
original_cd)
mkdir -p "${S}"/shared-soa
cd "${S}"
# We dont give the user the option to install SoU/HotU. While some
# people might complain about this, most newer NWN stuff requires
# them both anyway, so it makes no sense not to install them.
einfo "Unpacking files..."
unshield -L -d shared-soa x "${CDROM_ROOT}"/data?.* || die "unpacking"
# We have to adjust the files after unpacking the cab file.
mkdir -p "${S}"/cd1
einfo "Copying CD1 files..."
[[ -d "${CDROM_ROOT}"/English ]] && cp -rv "${CDROM_ROOT}"/English cd1
if use linguas_fr
then
[[ -d "${CDROM_ROOT}"/French ]] && cp -rv "${CDROM_ROOT}"/French cd1
fi
if use linguas_it
then
[[ -d "${CDROM_ROOT}"/Italian ]] && cp -rv "${CDROM_ROOT}"/Italian cd1
fi
if use linguas_es
then
[[ -d "${CDROM_ROOT}"/Spanish ]] && cp -rv "${CDROM_ROOT}"/Spanish cd1
fi
if use linguas_de
then
[[ -d "${CDROM_ROOT}"/German ]] && cp -rv "${CDROM_ROOT}"/German cd1
fi
cdrom_load_next_cd
einfo "Copying CD2 files..."
mkdir -p "${S}"/cd2
cp -rv "${CDROM_ROOT}"/CD2/* cd2
cdrom_load_next_cd
einfo "Copying CD3 files..."
mkdir -p "${S}"/cd3
cp -rv "${CDROM_ROOT}"/CD3/* cd3
cdrom_load_next_cd
einfo "Copying CD4 files..."
mkdir -p "${S}"/cd4
cp -rv "${CDROM_ROOT}"/CD4/* cd4
if use tob
then
mkdir -p "${S}"/shared-tob
cdrom_load_next_cd
einfo "Unpacking files..."
unshield -L -d shared-tob x "${CDROM_ROOT}"/data?.* || die "unpacking"
einfo "Copying CD5 (ToB) files..."
mkdir -p "${S}"/cd5
cp -rv "${CDROM_ROOT}"/CD5/* cd5
fi
;;
esac
# We unpack this for all media sets.
unpack pathconvert.tar.gz
}
src_compile() {
cd "${S}"/pathconvert
make -C lib
cp lib/libpathconvert.a .
cd "${S}"/pathconvert/lndir
xmkmf
make lndir
}
src_install() {
mkdir -p "${Ddir}/Shared"
mv -fv "${S}"/shared-soa/hd0_cab/* "${Ddir}/Shared"
mkdir -p "${Ddir}"/Shared/cache
mv -fv "${S}"/shared-soa/hd0_cache/* "${Ddir}"/Shared/cache
mkdir -p "${Ddir}"/Shared/data
mv -fv "${S}"/shared-soa/hd0_data/* "${Ddir}"/Shared/data
mkdir -p "${Ddir}"/Shared/music
mv -fv "${S}"/shared-soa/hd0_music/* "${Ddir}"/Shared/music
mkdir -p "${Ddir}"/Shared/override
mv -fv "${S}"/shared-soa/hd0_override/* "${Ddir}"/Shared/override
mv -fv "${S}"/patches/soa-en/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/English/data
mv -fv "${S}"/cd1/English/[Dd]ata/* "${Ddir}"/cd1/English/data
mkdir -p "${Ddir}"/cd1/English/movies
mv -fv "${S}"/cd1/English/[Mm]ovies/* "${Ddir}"/cd1/English/movies
mkdir -p "${Ddir}/Shared-English"
[[ -d "${S}"/shared-soa/hd0_cab_english ]] && mv -fv "${S}"/shared-soa/hd0_cab_english/* "${Ddir}"/Shared-English
[[ -d "${S}"/shared-soa/_support_english_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_english_os_independent_files/* "${Ddir}"/Shared-English
[[ -d "${S}"/patches/soa-en/english_files ]] && mv -fv "${S}"/patches/soa-en/english_files/* "${Ddir}"/Shared-English
mkdir -p "${Ddir}/Shared-English/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_english ]] && mv -fv "${S}"/shared-soa/hd0_sound_english/* "${Ddir}"/Shared-English/sounds
mkdir -p "${Ddir}/Shared-English/characters"
[[ -d "${S}"/shared-soa/hd0_characters_english ]] && mv -fv "${S}"/shared-soa/hd0_characters_english/* "${Ddir}"/Shared-English/characters
mkdir -p "${Ddir}/Shared-English/data"
[[ -d "${S}"/shared-soa/hd0_data_english ]] && mv -fv "${S}"/shared-soa/hd0_data_english/* "${Ddir}"/Shared-English/data
if use tob
then
mv -fv "${S}"/shared-tob/hd0/* "${Ddir}/Shared"
mv -fv "${S}"/shared-tob/minimum_25_data/* "${Ddir}"/Shared/data
mv -fv "${S}"/shared-tob/hd025music/* "${Ddir}"/Shared/music
mv -fv "${S}"/shared-tob/hd0_override/* "${Ddir}"/Shared/override
mv -fv "${S}"/patches/tob-en/main/override/* "${Ddir}"/Shared/override
[[ -d "${S}"/patches/tob-eu/language_independent/override ]] && mv -fv "${S}"/patches/tob-eu/language_independent/override/* "${Ddir}"/Shared/override
[[ -d "${S}"/shared-tob/_support_language_independent_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_language_independent_os_independent_files/* "${Ddir}"/Shared
[[ -d "${S}"/shared-tob/hd0_english ]] && mv -fv "${S}"/shared-tob/hd0_english/* "${Ddir}"/Shared-English
[[ -d "${S}"/shared-tob/_support_english_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_english_os_independent_files/* "${Ddir}"/Shared-English
[[ -d "${S}"/patches/tob-en/main ]] && mv -fv "${S}"/patches/tob-en/main/*.* "${Ddir}"/Shared-English
[[ -d "${S}"/shared-tob/minimum_25_sound_english ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_english/* "${Ddir}"/Shared-English/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_english ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_english/* "${Ddir}"/Shared-English/characters
[[ -d "${S}"/shared-tob/minimum_25_data_english ]] && mv -fv "${S}"/shared-tob/minimum_25_data_english/* "${Ddir}"/Shared-English/data
fi
if use linguas_fr
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/French/data
mv -fv "${S}"/cd1/French/[Dd]ata/* "${Ddir}"/cd1/French/data
mkdir -p "${Ddir}"/cd1/French/movies
mv -fv "${S}"/cd1/French/[Mm]ovies/* "${Ddir}"/cd1/French/movies
mkdir -p "${Ddir}/Shared-French"
[[ -d "${S}"/shared-soa/hd0_cab_french ]] && mv -fv "${S}"/shared-soa/hd0_cab_french/* "${Ddir}"/Shared-French
[[ -d "${S}"/shared-soa/_support_french_\(standard\)_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_french_\(standard\)_os_independent_files/* "${Ddir}"/Shared-French
[[ -d "${S}"/patches/soa-eu/french ]] && mv -fv "${S}"/patches/soa-eu/french/* "${Ddir}"/Shared-French
mkdir -p "${Ddir}/Shared-French/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_french ]] && mv -fv "${S}"/shared-soa/hd0_sound_french/* "${Ddir}"/Shared-French/sounds
mkdir -p "${Ddir}/Shared-French/characters"
[[ -d "${S}"/shared-soa/hd0_characters_french ]] && mv -fv "${S}"/shared-soa/hd0_characters_french/* "${Ddir}"/Shared-French/characters
mkdir -p "${Ddir}/Shared-French/data"
[[ -d "${S}"/shared-soa/hd0_data_french ]] && mv -fv "${S}"/shared-soa/hd0_data_french/* "${Ddir}"/Shared-French/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_french ]] && mv -fv "${S}"/shared-tob/hd0_french/* "${Ddir}"/Shared-French
[[ -d "${S}"/shared-tob/_support_french_\(standard\)_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_french_\(standard\)_os_independent_files/* "${Ddir}"/Shared-French
[[ -d "${S}"/patches/tob-eu/french ]] && mv -fv "${S}"/patches/tob-eu/french/*.* "${Ddir}"/Shared-French
[[ -d "${S}"/shared-tob/minimum_25_sound_french ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_french/* "${Ddir}"/Shared-French/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_french ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_french/* "${Ddir}"/Shared-French/characters
[[ -d "${S}"/shared-tob/minimum_25_data_french ]] && mv -fv "${S}"/shared-tob/minimum_25_data_french/* "${Ddir}"/Shared-French/data
fi
fi
if use linguas_it
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/Italian/data
mv -fv "${S}"/cd1/Italian/[Dd]ata/* "${Ddir}"/cd1/Italian/data
mkdir -p "${Ddir}"/cd1/Italian/movies
mv -fv "${S}"/cd1/Italian/[Mm]ovies/* "${Ddir}"/cd1/Italian/movies
mkdir -p "${Ddir}/Shared-Italian"
[[ -d "${S}"/shared-soa/hd0_cab_italian ]] && mv -fv "${S}"/shared-soa/hd0_cab_italian/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/shared-soa/_support_italian_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_italian_os_independent_files/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/patches/soa-eu/italian ]] && mv -fv "${S}"/patches/soa-eu/italian/* "${Ddir}"/Shared-Italian
mkdir -p "${Ddir}/Shared-Italian/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_italian ]] && mv -fv "${S}"/shared-soa/hd0_sound_italian/* "${Ddir}"/Shared-Italian/sounds
mkdir -p "${Ddir}/Shared-Italian/characters"
[[ -d "${S}"/shared-soa/hd0_characters_italian ]] && mv -fv "${S}"/shared-soa/hd0_characters_italian/* "${Ddir}"/Shared-Italian/characters
mkdir -p "${Ddir}/Shared-Italian/data"
[[ -d "${S}"/shared-soa/hd0_data_italian ]] && mv -fv "${S}"/shared-soa/hd0_data_italian/* "${Ddir}"/Shared-Italian/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_italian ]] && mv -fv "${S}"/shared-tob/hd0_italian/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/shared-tob/_support_italian_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_italian_os_independent_files/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/patches/tob-eu/italian ]] && mv -fv "${S}"/patches/tob-eu/italian/*.* "${Ddir}"/Shared-Italian
[[ -d "${S}"/shared-tob/minimum_25_sound_italian ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_italian/* "${Ddir}"/Shared-Italian/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_italian ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_italian/* "${Ddir}"/Shared-Italian/characters
[[ -d "${S}"/shared-tob/minimum_25_data_italian ]] && mv -fv "${S}"/shared-tob/minimum_25_data_italian/* "${Ddir}"/Shared-Italian/data
fi
fi
if use linguas_es
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/Spanish/data
mv -fv "${S}"/cd1/Spanish/[Dd]ata/* "${Ddir}"/cd1/Spanish/data
mkdir -p "${Ddir}"/cd1/Spanish/movies
mv -fv "${S}"/cd1/Spanish/[Mm]ovies/* "${Ddir}"/cd1/Spanish/movies
mkdir -p "${Ddir}/Shared-Spanish"
[[ -d "${S}"/shared-soa/hd0_cab_spanish ]] && mv -fv "${S}"/shared-soa/hd0_cab_spanish/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/shared-soa/_support_spanish_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_spanish_os_independent_files/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/patches/soa-eu/spanish ]] && mv -fv "${S}"/patches/soa-eu/spanish/* "${Ddir}"/Shared-Spanish
mkdir -p "${Ddir}/Shared-Spanish/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_spanish ]] && mv -fv "${S}"/shared-soa/hd0_sound_spanish/* "${Ddir}"/Shared-Spanish/sounds
mkdir -p "${Ddir}/Shared-Spanish/characters"
[[ -d "${S}"/shared-soa/hd0_characters_spanish ]] && mv -fv "${S}"/shared-soa/hd0_characters_spanish/* "${Ddir}"/Shared-Spanish/characters
[[ -d "${S}"/patches/soa-eu/spanish/characters ]] && mv -fv "${S}"/patches/soa-eu/spanish/characters/* "${Ddir}"/Shared-Spanish/characters
mkdir -p "${Ddir}/Shared-Spanish/data"
[[ -d "${S}"/shared-soa/hd0_data_spanish ]] && mv -fv "${S}"/shared-soa/hd0_data_spanish/* "${Ddir}"/Shared-Spanish/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_spanish ]] && mv -fv "${S}"/shared-tob/hd0_spanish/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/shared-tob/_support_spanish_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_spanish_os_independent_files/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/patches/tob-eu/spanish ]] && mv -fv "${S}"/patches/tob-eu/spanish/*.* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/shared-tob/minimum_25_sound_spanish ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_spanish/* "${Ddir}"/Shared-Spanish/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_spanish ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_spanish/* "${Ddir}"/Shared-Spanish/characters
[[ -d "${S}"/shared-tob/minimum_25_data_spanish ]] && mv -fv "${S}"/shared-tob/minimum_25_data_spanish/* "${Ddir}"/Shared-Spanish/data
fi
fi
if use linguas_de
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/German/data
mv -fv "${S}"/cd1/German/[Dd]ata/* "${Ddir}"/cd1/German/data
mkdir -p "${Ddir}"/cd1/German/movies
mv -fv "${S}"/cd1/German/[Mm]ovies/* "${Ddir}"/cd1/German/movies
mkdir -p "${Ddir}/Shared-German"
[[ -d "${S}"/shared-soa/hd0_cab_german ]] && mv -fv "${S}"/shared-soa/hd0_cab_german/* "${Ddir}"/Shared-German
[[ -d "${S}"/shared-soa/_support_german_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_german_os_independent_files/* "${Ddir}"/Shared-German
[[ -d "${S}"/patches/soa-eu/german ]] && mv -fv "${S}"/patches/soa-eu/german/* "${Ddir}"/Shared-German
mkdir -p "${Ddir}/Shared-German/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_german ]] && mv -fv "${S}"/shared-soa/hd0_sound_german/* "${Ddir}"/Shared-German/sounds
mkdir -p "${Ddir}/Shared-German/characters"
[[ -d "${S}"/shared-soa/hd0_characters_german ]] && mv -fv "${S}"/shared-soa/hd0_characters_german/* "${Ddir}"/Shared-German/characters
mkdir -p "${Ddir}/Shared-German/data"
[[ -d "${S}"/shared-soa/hd0_data_german ]] && mv -fv "${S}"/shared-soa/hd0_data_german/* "${Ddir}"/Shared-German/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_german ]] && mv -fv "${S}"/shared-tob/hd0_german/* "${Ddir}"/Shared-German
[[ -d "${S}"/shared-tob/_support_german_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_german_os_independent_files/* "${Ddir}"/Shared-German
[[ -d "${S}"/patches/tob-eu/german ]] && mv -fv "${S}"/patches/tob-eu/german/*.* "${Ddir}"/Shared-German
[[ -d "${S}"/shared-tob/minimum_25_sound_german ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_german/* "${Ddir}"/Shared-German/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_german ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_german/* "${Ddir}"/Shared-German/characters
[[ -d "${S}"/shared-tob/minimum_25_data_german ]] && mv -fv "${S}"/shared-tob/minimum_25_data_german/* "${Ddir}"/Shared-German/data
fi
fi
for d in cd2 cd3 cd4 cd5
do
if [[ -d ${d} ]]
then
mkdir -p "${Ddir}"/${d}/data
mv -fv "${S}"/${d}/[Dd]ata/AREA*.* "${Ddir}"/${d}/data
mv -fv "${S}"/${d}/[Dd]ata/*.* "${Ddir}"/Shared/data
mkdir -p "${Ddir}"/${d}/movies
mv -fv "${S}"/${d}/[Mm]ovies/*.* "${Ddir}"/${d}/movies
fi
done
if ! use videos
then
rm -rf "${S}"/movies/*
fi
cd "${Ddir}"
for d in cd1/English cd1/French cd1/Italian cd1/Spanish cd1/German cd2 cd3 cd4 cd5 Shared Shared-English Shared-French Shared-Italian Shared-Spanish Shared-German
do
if [[ -d ${d} ]]
then
( cd ${d}
for f in $(find . -name '*.*') ; do
lcf=$(echo ${f} | tr [:upper:] [:lower:])
if [[ ${f} != ${lcf} ]] && [[ -f ${f} ]]
then
mv ${f} ${lcf}
fi
done )
fi
done
find "${Ddir}" -iname "*.exe" -exec rm {} \; 2> /dev/null
find "${Ddir}" -iname "*.dll" -exec rm {} \; 2> /dev/null
find "${Ddir}" -iname "*.pdf" -exec rm {} \; 2> /dev/null
cat > ${launcher} <<-EOF
#!/bin/bash
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Automatically generated by ${CATEGORY}/${PF}
# Exec the acroread script for the language chosen in
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
L=\${LC_ALL}
L=\${L:-\${LC_MESSAGES}}
L=\${L:-\${LANG}}
[[ ! -d ~/.bioware/bg2/save ]] && mkdir -p ~/.bioware/bg2/save
if [[ -f ~/.bioware/bg2/GemRB.cfg ]]
then
exec gemrb -c ~/.bioware/bg2/GemRB.cfg
else
case \${L} in
EOF
mkdir -p "${Ddir}"/English
${LNDIR} "${Ddir}"/cd1/English English
${LNDIR} "${Ddir}"/Shared-English English
${LNDIR} "${Ddir}"/Shared English
echo "en*) exec cp ${dir}/English/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!English!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB.cfg > ${Ddir}/English/GemRB.cfg
if use linguas_fr
then
mkdir -p "${Ddir}"/French
${LNDIR} "${Ddir}"/cd1/French French
${LNDIR} "${Ddir}"/Shared-French French
${LNDIR} "${Ddir}"/Shared French
echo "fr*) exec cp ${dir}/French/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!French!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB.cfg > ${Ddir}/French/GemRB.cfg
fi
if use linguas_it
then
mkdir -p "${Ddir}"/Italian
${LNDIR} "${Ddir}"/cd1/Italian Italian
${LNDIR} "${Ddir}"/Shared-Italian Italian
${LNDIR} "${Ddir}"/Shared Italian
echo "it*) exec cp ${dir}/Italian/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!Italian!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB.cfg > ${Ddir}/Italian/GemRB.cfg
fi
if use linguas_es
then
mkdir -p "${Ddir}"/Spanish
${LNDIR} "${Ddir}"/cd1/Spanish Spanish
${LNDIR} "${Ddir}"/Shared-Spanish Spanish
${LNDIR} "${Ddir}"/Shared Spanish
echo "es*) exec cp ${dir}/Spanish/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!Spanish!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB.cfg > ${Ddir}/Spanish/GemRB.cfg
fi
if use linguas_de
then
mkdir -p "${Ddir}"/German
${LNDIR} "${Ddir}"/cd1/German German
${LNDIR} "${Ddir}"/Shared-German German
${LNDIR} "${Ddir}"/Shared German
echo "de*) exec cp ${dir}/German/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!German!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB.cfg > ${Ddir}/German/GemRB.cfg
fi
cat >> ${launcher} <<-EOF
*) exec cp ${dir}/English/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;
esac
exec gemrb -c ~/.bioware/bg2/GemRB.cfg
fi
EOF
newicon "${DISTDIR}"/Baldur-s-Gate-2-Shadows-of-Amn-2-128x128.png Baldur-s-Gate-2-Shadows-of-Amn.png
make_desktop_entry BaldursGate${SLOT} "Baldur's Gate II - Shadows of Amn ${PV}" Baldur-s-Gate-2-Shadows-of-Amn.png
if use tob
then
newicon "${DISTDIR}"/Baldur-s-Gate-2-Throne-of-Bhaal-2-128x128.png Baldur-s-Gate-2-Throne-of-Bhaal.png
make_desktop_entry BaldursGate${SLOT} "Baldur's Gate II - Throne of Bhaal ${PV}" Baldur-s-Gate-2-Throne-of-Bhaal.png
fi
dobin ${launcher}
prepgamesdirs
chmod g+rwX ${Ddir} || die "could not chmod"
# die
}

View File

@ -1,656 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils games multilib
LANGUAGES="linguas_fr linguas_it linguas_es linguas_de"
MY_PV=${PV//.}
UPDATE_BASEURL="http://downloads.bioware.com/baldursgate2/"
SOA_ENGLISH="Baldur%27sGateII-ShadowsofAmnPatchENGLISH.exe"
SOA_EUROPE="Baldur%27sGateII-ShadowsofAmnPatchEUROPE.exe"
TOB_ENGLISH="BGII-ThroneofBhaal_Patch_26498_ENGLISH.exe"
TOB_EUROPE="BGII-ThroneofBhaal_Patch_26498_EUROPEAN.exe"
LINGUAS_SRC_URI="linguas_fr? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_it? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_es? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_es? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
linguas_de? (
tob? ( ${UPDATE_BASEURL}/${TOB_EUROPE} )
${UPDATE_BASEURL}/${SOA_EUROPE} )
tob? ( ${UPDATE_BASEURL}/${TOB_ENGLISH} )
${UPDATE_BASEURL}/${SOA_ENGLISH}"
DESCRIPTION="Baldurs Gate SOA TOB"
HOMEPAGE="http://www.bioware.com/games/shadows_amn/ http://www.bioware.com/games/throne_bhaal/"
SRC_URI="http://www.tamacom.com/pathconvert/pathconvert.tar.gz
http://www.iconarchive.com/icons/3xhumed/mega-games-pack-25/Baldur-s-Gate-2-Shadows-of-Amn-2-128x128.png
tob? ( http://www.iconarchive.com/icons/3xhumed/mega-games-pack-25/Baldur-s-Gate-2-Throne-of-Bhaal-2-128x128.png )
${LINGUAS_SRC_URI}"
LICENSE="BG2-EULA"
SLOT="2"
KEYWORDS="~amd64 x86"
IUSE="tob videos ${LANGUAGES}"
RESTRICT="strip mirror"
RDEPEND=">=games-engines/gemrb-0.5.0"
DEPEND="${RDEPEND}
app-arch/unshield
app-arch/p7zip"
GAMES_LICENSE_CHECK=yes
launcher=${S}/BaldursGate${SLOT}
dir=${GAMES_PREFIX_OPT}/BioWare/BaldursGate${SLOT}
Ddir=${D}/${dir}
LNDIR="${S}"/pathconvert/lndir/lndir
BG2_SET=
# This is my fun section where I try to determine which CD/DVD set we have.
# Expect this to be very messy and ugly, and hopefully it all works as we want
# it to on all of the various media.
get_bg2_set() {
# First we check to see if we have CD_ROOT defined already. If we do,
# this will make our lives so much easier.
if [[ -n "${CD_ROOT}" ]]
then
if [[ -f "${CD_ROOT}"/CD4/Data/CD4CreAn.bif ]] && [[ -f "${CD_ROOT}"/data1.hdr ]]
then
BG2_SET="dvd"
einfo "Baldurs Gate II: Shadows of Amn DVD found..."
elif [[ -f "${CD_ROOT}"/data1.hdr ]]
then
BG2_SET="original_cd"
einfo "Baldurs Gate II: Shadows of Amn CD set found..."
fi
# Now we check to see if we have CD_ROOT_1 set, which means we have a CD
# set, or even a DVD set.
elif [[ -n "${CD_ROOT_1}" ]]
then
if [[ -f "${CD_ROOT_1}"/CD4/Data/CD4CreAn.bif ]] && [[ -f "${CD_ROOT_1}"/data1.hdr ]]
then
BG2_SET="dvd"
einfo "Baldurs Gate II: Shadows of Amn DVD found..."
elif [[ -f "${CD_ROOT_1}"/data1.hdr ]]
then
BG2_SET="original_cd"
einfo "Baldurs Gate II: Shadows of Amn CD set found..."
fi
# OK. Neither were set, so now we're going to start our detection and try
# to figure out what we have to work from.
else
local mline=
for mline in $(mount | egrep -e '(iso|cdrom|udf)' | awk '{print $3}')
do
if [[ -f "${mline}"/CD4/Data/CD4CreAn.bif ]] && [[ -f "${mline}"/data1.hdr ]]
then
BG2_SET="dvd"
einfo "Baldurs Gate II: Shadows of Amn DVD found..."
elif [[ -f "${mline}"/data1.hdr ]]
then
BG2_SET="original_cd"
einfo "Baldurs Gate II: Shadows of Amn CD set found..."
fi
done
fi
}
get_cd_set() {
while `[[ -z "${BG2_SET}" ]]`
do
echo "Please insert your first Baldurs Gate II: Shadows of Amn CD/DVD into your drive and"
echo "press any key to continue"
read -n 1
get_bg2_set
done
# Here is where we start our CD/DVD detection for changing disks.
case "${BG2_SET}" in
dvd)
export CDROM_NAME_1="DVD1"
einfo "Both Shadows of Undrentide and Hordes of the Underdark will"
einfo "be installed from your DVD along with Neverwinter Nights."
if use tob
then
einfo "You will also need the SoU CD for this installation."
export CDROM_NAME_2="ToB"
cdrom_get_cds CD4/Data/CD4CreAn.bif CD5/movies/25Movies.bif
else
cdrom_get_cds CD4/Data/CD4CreAn.bif
fi
;;
original_cd)
export CDROM_NAME_1="CD1" CDROM_NAME_2="CD2" CDROM_NAME_3="CD3" CDROM_NAME_4="CD4"
touch .metadata/orig || die "touch orig"
if use tob
then
einfo "You will also need the SoU CD for this installation."
export CDROM_NAME_5="ToB"
cdrom_get_cds data1.hdr CD2/Data/MovHD0.bif \
CD3/Data/CD3CreAn.bif CD4/Data/CD4CreAn.bif CD5/movies/25Movies.bif
else
cdrom_get_cds data1.hdr CD2/Data/MovHD0.bif \
CD3/Data/CD3CreAn.bif CD4/Data/CD4CreAn.bif
fi
;;
esac
}
src_unpack() {
mkdir -p "${S}"
cd "${S}"
# We create this .metadata directory so we can keep track of what we have
# installed without needing to keep all of these multiple USE flags in all
# of the ebuilds.
mkdir -p .metadata || die "Creating .metadata"
# Since we dont *always* want to do this, we check for USE=cdinstall
# Here, we determine which CD/DVD set that we have. This will seem a
# bit odd, since well be doing the detection a few times.
get_bg2_set
# Now that we know what were looking for, lets look for the media.
get_cd_set
mkdir -p "${S}"/patches
cd "${S}"/patches
einfo "Unpacking Patch ${SOA_ENGLISH} files..."
7z x -osoa-en -y ${DISTDIR}/${SOA_ENGLISH} || die "unpacking"
unshield -L -d soa-en x "${S}"/patches/soa-en/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_ENGLISH} files..."
7z x -otob-en -y ${DISTDIR}/${TOB_ENGLISH} || die "unpacking"
unshield -L -d tob-en x "${S}"/patches/tob-en/data?.* || die "unshield"
fi
if use linguas_fr
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
if use linguas_it
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
if use linguas_es
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
if use linguas_de
then
einfo "Unpacking Patch ${SOA_EUROPE} files..."
7z x -osoa-eu -y ${DISTDIR}/${SOA_EUROPE} || die "unpacking"
unshield -L -d soa-eu x "${S}"/patches/soa-eu/data?.* || die "unshield"
if use tob
then
einfo "Unpacking Patch ${TOB_EUROPE} files..."
7z x -otob-eu -y ${DISTDIR}/${TOB_EUROPE} || die "unpacking"
unshield -L -d tob-eu x "${S}"/patches/tob-eu/data?.* || die "unshield"
fi
fi
case ${BG2_SET} in
dvd)
mkdir -p "${S}"/shared-soa
cd "${S}"
# We dont give the user the option to install SoU/HotU. While some
# people might complain about this, most newer NWN stuff requires
# them both anyway, so it makes no sense not to install them.
einfo "Unpacking files..."
unshield -L -d shared-soa x "${CDROM_ROOT}"/data?.* || die "unpacking"
# We have to adjust the files after unpacking the cab file.
mkdir -p "${S}"/cd1
einfo "Copying CD1 files..."
[[ -d "${CDROM_ROOT}"/English ]] && cp -rv "${CDROM_ROOT}"/English cd1
if use linguas_fr
then
[[ -d "${CDROM_ROOT}"/French ]] && cp -rv "${CDROM_ROOT}"/French cd1
fi
if use linguas_it
then
[[ -d "${CDROM_ROOT}"/Italian ]] && cp -rv "${CDROM_ROOT}"/Italian cd1
fi
if use linguas_es
then
[[ -d "${CDROM_ROOT}"/Spanish ]] && cp -rv "${CDROM_ROOT}"/Spanish cd1
fi
if use linguas_de
then
[[ -d "${CDROM_ROOT}"/German ]] && cp -rv "${CDROM_ROOT}"/German cd1
fi
einfo "Copying CD2 files..."
mkdir -p "${S}"/cd2
cp -rv "${CDROM_ROOT}"/CD2/* cd2
einfo "Copying CD3 files..."
mkdir -p "${S}"/cd3
cp -rv "${CDROM_ROOT}"/CD3/* cd3
einfo "Copying CD4 files..."
mkdir -p "${S}"/cd4
cp -rv "${CDROM_ROOT}"/CD4/* cd4
if use tob
then
mkdir -p "${S}"/shared-tob
cdrom_load_next_cd
einfo "Unpacking files..."
unshield -L -d shared-tob x "${CDROM_ROOT}"/data?.* || die "unpacking"
einfo "Copying CD5 (ToB) files..."
mkdir -p "${S}"/cd5
cp -rv "${CDROM_ROOT}"/CD5/* cd5
fi
;;
original_cd)
mkdir -p "${S}"/shared-soa
cd "${S}"
# We dont give the user the option to install SoU/HotU. While some
# people might complain about this, most newer NWN stuff requires
# them both anyway, so it makes no sense not to install them.
einfo "Unpacking files..."
unshield -L -d shared-soa x "${CDROM_ROOT}"/data?.* || die "unpacking"
# We have to adjust the files after unpacking the cab file.
mkdir -p "${S}"/cd1
einfo "Copying CD1 files..."
[[ -d "${CDROM_ROOT}"/English ]] && cp -rv "${CDROM_ROOT}"/English cd1
if use linguas_fr
then
[[ -d "${CDROM_ROOT}"/French ]] && cp -rv "${CDROM_ROOT}"/French cd1
fi
if use linguas_it
then
[[ -d "${CDROM_ROOT}"/Italian ]] && cp -rv "${CDROM_ROOT}"/Italian cd1
fi
if use linguas_es
then
[[ -d "${CDROM_ROOT}"/Spanish ]] && cp -rv "${CDROM_ROOT}"/Spanish cd1
fi
if use linguas_de
then
[[ -d "${CDROM_ROOT}"/German ]] && cp -rv "${CDROM_ROOT}"/German cd1
fi
cdrom_load_next_cd
einfo "Copying CD2 files..."
mkdir -p "${S}"/cd2
cp -rv "${CDROM_ROOT}"/CD2/* cd2
cdrom_load_next_cd
einfo "Copying CD3 files..."
mkdir -p "${S}"/cd3
cp -rv "${CDROM_ROOT}"/CD3/* cd3
cdrom_load_next_cd
einfo "Copying CD4 files..."
mkdir -p "${S}"/cd4
cp -rv "${CDROM_ROOT}"/CD4/* cd4
if use tob
then
mkdir -p "${S}"/shared-tob
cdrom_load_next_cd
einfo "Unpacking files..."
unshield -L -d shared-tob x "${CDROM_ROOT}"/data?.* || die "unpacking"
einfo "Copying CD5 (ToB) files..."
mkdir -p "${S}"/cd5
cp -rv "${CDROM_ROOT}"/CD5/* cd5
fi
;;
esac
# We unpack this for all media sets.
unpack pathconvert.tar.gz
}
src_compile() {
cd "${S}"/pathconvert
make -C lib
cp lib/libpathconvert.a .
cd "${S}"/pathconvert/lndir
xmkmf
make lndir
}
src_install() {
mkdir -p "${Ddir}/Shared"
mv -fv "${S}"/shared-soa/hd0_cab/* "${Ddir}/Shared"
mkdir -p "${Ddir}"/Shared/cache
mv -fv "${S}"/shared-soa/hd0_cache/* "${Ddir}"/Shared/cache
mkdir -p "${Ddir}"/Shared/data
mv -fv "${S}"/shared-soa/hd0_data/* "${Ddir}"/Shared/data
mkdir -p "${Ddir}"/Shared/music
mv -fv "${S}"/shared-soa/hd0_music/* "${Ddir}"/Shared/music
mkdir -p "${Ddir}"/Shared/override
mv -fv "${S}"/shared-soa/hd0_override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/Shared/scripts
mv -fv "${S}"/shared-soa/hd0_scripts/* "${Ddir}"/Shared/scripts
mv -fv "${S}"/patches/soa-en/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/English/data
mv -fv "${S}"/cd1/English/[Dd]ata/* "${Ddir}"/cd1/English/data
mkdir -p "${Ddir}"/cd1/English/movies
mv -fv "${S}"/cd1/English/[Mm]ovies/* "${Ddir}"/cd1/English/movies
mkdir -p "${Ddir}/Shared-English"
[[ -d "${S}"/shared-soa/hd0_cab_english ]] && mv -fv "${S}"/shared-soa/hd0_cab_english/* "${Ddir}"/Shared-English
[[ -d "${S}"/shared-soa/_support_english_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_english_os_independent_files/* "${Ddir}"/Shared-English
[[ -d "${S}"/patches/soa-en/english_files ]] && mv -fv "${S}"/patches/soa-en/english_files/* "${Ddir}"/Shared-English
mkdir -p "${Ddir}/Shared-English/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_english ]] && mv -fv "${S}"/shared-soa/hd0_sound_english/* "${Ddir}"/Shared-English/sounds
mkdir -p "${Ddir}/Shared-English/characters"
[[ -d "${S}"/shared-soa/hd0_characters_english ]] && mv -fv "${S}"/shared-soa/hd0_characters_english/* "${Ddir}"/Shared-English/characters
mkdir -p "${Ddir}/Shared-English/data"
[[ -d "${S}"/shared-soa/hd0_data_english ]] && mv -fv "${S}"/shared-soa/hd0_data_english/* "${Ddir}"/Shared-English/data
if use tob
then
mv -fv "${S}"/shared-tob/hd0/* "${Ddir}/Shared"
mv -fv "${S}"/shared-tob/minimum_25_data/* "${Ddir}"/Shared/data
mv -fv "${S}"/shared-tob/hd025music/* "${Ddir}"/Shared/music
mv -fv "${S}"/shared-tob/hd0_override/* "${Ddir}"/Shared/override
mv -fv "${S}"/patches/tob-en/main/override/* "${Ddir}"/Shared/override
[[ -d "${S}"/patches/tob-eu/language_independent/override ]] && mv -fv "${S}"/patches/tob-eu/language_independent/override/* "${Ddir}"/Shared/override
[[ -d "${S}"/shared-tob/_support_language_independent_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_language_independent_os_independent_files/* "${Ddir}"/Shared
[[ -d "${S}"/shared-tob/hd0_english ]] && mv -fv "${S}"/shared-tob/hd0_english/* "${Ddir}"/Shared-English
[[ -d "${S}"/shared-tob/_support_english_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_english_os_independent_files/* "${Ddir}"/Shared-English
[[ -d "${S}"/patches/tob-en/main ]] && mv -fv "${S}"/patches/tob-en/main/*.* "${Ddir}"/Shared-English
[[ -d "${S}"/shared-tob/minimum_25_sound_english ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_english/* "${Ddir}"/Shared-English/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_english ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_english/* "${Ddir}"/Shared-English/characters
[[ -d "${S}"/shared-tob/minimum_25_data_english ]] && mv -fv "${S}"/shared-tob/minimum_25_data_english/* "${Ddir}"/Shared-English/data
fi
if use linguas_fr
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/French/data
mv -fv "${S}"/cd1/French/[Dd]ata/* "${Ddir}"/cd1/French/data
mkdir -p "${Ddir}"/cd1/French/movies
mv -fv "${S}"/cd1/French/[Mm]ovies/* "${Ddir}"/cd1/French/movies
mkdir -p "${Ddir}/Shared-French"
[[ -d "${S}"/shared-soa/hd0_cab_french ]] && mv -fv "${S}"/shared-soa/hd0_cab_french/* "${Ddir}"/Shared-French
[[ -d "${S}"/shared-soa/_support_french_\(standard\)_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_french_\(standard\)_os_independent_files/* "${Ddir}"/Shared-French
[[ -d "${S}"/patches/soa-eu/french ]] && mv -fv "${S}"/patches/soa-eu/french/* "${Ddir}"/Shared-French
mkdir -p "${Ddir}/Shared-French/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_french ]] && mv -fv "${S}"/shared-soa/hd0_sound_french/* "${Ddir}"/Shared-French/sounds
mkdir -p "${Ddir}/Shared-French/characters"
[[ -d "${S}"/shared-soa/hd0_characters_french ]] && mv -fv "${S}"/shared-soa/hd0_characters_french/* "${Ddir}"/Shared-French/characters
mkdir -p "${Ddir}/Shared-French/data"
[[ -d "${S}"/shared-soa/hd0_data_french ]] && mv -fv "${S}"/shared-soa/hd0_data_french/* "${Ddir}"/Shared-French/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_french ]] && mv -fv "${S}"/shared-tob/hd0_french/* "${Ddir}"/Shared-French
[[ -d "${S}"/shared-tob/_support_french_\(standard\)_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_french_\(standard\)_os_independent_files/* "${Ddir}"/Shared-French
[[ -d "${S}"/patches/tob-eu/french ]] && mv -fv "${S}"/patches/tob-eu/french/*.* "${Ddir}"/Shared-French
[[ -d "${S}"/shared-tob/minimum_25_sound_french ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_french/* "${Ddir}"/Shared-French/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_french ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_french/* "${Ddir}"/Shared-French/characters
[[ -d "${S}"/shared-tob/minimum_25_data_french ]] && mv -fv "${S}"/shared-tob/minimum_25_data_french/* "${Ddir}"/Shared-French/data
fi
fi
if use linguas_it
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/Italian/data
mv -fv "${S}"/cd1/Italian/[Dd]ata/* "${Ddir}"/cd1/Italian/data
mkdir -p "${Ddir}"/cd1/Italian/movies
mv -fv "${S}"/cd1/Italian/[Mm]ovies/* "${Ddir}"/cd1/Italian/movies
mkdir -p "${Ddir}/Shared-Italian"
[[ -d "${S}"/shared-soa/hd0_cab_italian ]] && mv -fv "${S}"/shared-soa/hd0_cab_italian/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/shared-soa/_support_italian_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_italian_os_independent_files/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/patches/soa-eu/italian ]] && mv -fv "${S}"/patches/soa-eu/italian/* "${Ddir}"/Shared-Italian
mkdir -p "${Ddir}/Shared-Italian/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_italian ]] && mv -fv "${S}"/shared-soa/hd0_sound_italian/* "${Ddir}"/Shared-Italian/sounds
mkdir -p "${Ddir}/Shared-Italian/characters"
[[ -d "${S}"/shared-soa/hd0_characters_italian ]] && mv -fv "${S}"/shared-soa/hd0_characters_italian/* "${Ddir}"/Shared-Italian/characters
mkdir -p "${Ddir}/Shared-Italian/data"
[[ -d "${S}"/shared-soa/hd0_data_italian ]] && mv -fv "${S}"/shared-soa/hd0_data_italian/* "${Ddir}"/Shared-Italian/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_italian ]] && mv -fv "${S}"/shared-tob/hd0_italian/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/shared-tob/_support_italian_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_italian_os_independent_files/* "${Ddir}"/Shared-Italian
[[ -d "${S}"/patches/tob-eu/italian ]] && mv -fv "${S}"/patches/tob-eu/italian/*.* "${Ddir}"/Shared-Italian
[[ -d "${S}"/shared-tob/minimum_25_sound_italian ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_italian/* "${Ddir}"/Shared-Italian/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_italian ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_italian/* "${Ddir}"/Shared-Italian/characters
[[ -d "${S}"/shared-tob/minimum_25_data_italian ]] && mv -fv "${S}"/shared-tob/minimum_25_data_italian/* "${Ddir}"/Shared-Italian/data
fi
fi
if use linguas_es
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/Spanish/data
mv -fv "${S}"/cd1/Spanish/[Dd]ata/* "${Ddir}"/cd1/Spanish/data
mkdir -p "${Ddir}"/cd1/Spanish/movies
mv -fv "${S}"/cd1/Spanish/[Mm]ovies/* "${Ddir}"/cd1/Spanish/movies
mkdir -p "${Ddir}/Shared-Spanish"
[[ -d "${S}"/shared-soa/hd0_cab_spanish ]] && mv -fv "${S}"/shared-soa/hd0_cab_spanish/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/shared-soa/_support_spanish_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_spanish_os_independent_files/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/patches/soa-eu/spanish ]] && mv -fv "${S}"/patches/soa-eu/spanish/* "${Ddir}"/Shared-Spanish
mkdir -p "${Ddir}/Shared-Spanish/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_spanish ]] && mv -fv "${S}"/shared-soa/hd0_sound_spanish/* "${Ddir}"/Shared-Spanish/sounds
mkdir -p "${Ddir}/Shared-Spanish/characters"
[[ -d "${S}"/shared-soa/hd0_characters_spanish ]] && mv -fv "${S}"/shared-soa/hd0_characters_spanish/* "${Ddir}"/Shared-Spanish/characters
[[ -d "${S}"/patches/soa-eu/spanish/characters ]] && mv -fv "${S}"/patches/soa-eu/spanish/characters/* "${Ddir}"/Shared-Spanish/characters
mkdir -p "${Ddir}/Shared-Spanish/data"
[[ -d "${S}"/shared-soa/hd0_data_spanish ]] && mv -fv "${S}"/shared-soa/hd0_data_spanish/* "${Ddir}"/Shared-Spanish/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_spanish ]] && mv -fv "${S}"/shared-tob/hd0_spanish/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/shared-tob/_support_spanish_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_spanish_os_independent_files/* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/patches/tob-eu/spanish ]] && mv -fv "${S}"/patches/tob-eu/spanish/*.* "${Ddir}"/Shared-Spanish
[[ -d "${S}"/shared-tob/minimum_25_sound_spanish ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_spanish/* "${Ddir}"/Shared-Spanish/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_spanish ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_spanish/* "${Ddir}"/Shared-Spanish/characters
[[ -d "${S}"/shared-tob/minimum_25_data_spanish ]] && mv -fv "${S}"/shared-tob/minimum_25_data_spanish/* "${Ddir}"/Shared-Spanish/data
fi
fi
if use linguas_de
then
mv -fv "${S}"/patches/soa-eu/main/override/* "${Ddir}"/Shared/override
mkdir -p "${Ddir}"/cd1/German/data
mv -fv "${S}"/cd1/German/[Dd]ata/* "${Ddir}"/cd1/German/data
mkdir -p "${Ddir}"/cd1/German/movies
mv -fv "${S}"/cd1/German/[Mm]ovies/* "${Ddir}"/cd1/German/movies
mkdir -p "${Ddir}/Shared-German"
[[ -d "${S}"/shared-soa/hd0_cab_german ]] && mv -fv "${S}"/shared-soa/hd0_cab_german/* "${Ddir}"/Shared-German
[[ -d "${S}"/shared-soa/_support_german_os_independent_files ]] && mv -fv "${S}"/shared-soa/_support_german_os_independent_files/* "${Ddir}"/Shared-German
[[ -d "${S}"/patches/soa-eu/german ]] && mv -fv "${S}"/patches/soa-eu/german/* "${Ddir}"/Shared-German
mkdir -p "${Ddir}/Shared-German/sounds"
[[ -d "${S}"/shared-soa/hd0_sound_german ]] && mv -fv "${S}"/shared-soa/hd0_sound_german/* "${Ddir}"/Shared-German/sounds
mkdir -p "${Ddir}/Shared-German/characters"
[[ -d "${S}"/shared-soa/hd0_characters_german ]] && mv -fv "${S}"/shared-soa/hd0_characters_german/* "${Ddir}"/Shared-German/characters
mkdir -p "${Ddir}/Shared-German/data"
[[ -d "${S}"/shared-soa/hd0_data_german ]] && mv -fv "${S}"/shared-soa/hd0_data_german/* "${Ddir}"/Shared-German/data
if use tob
then
[[ -d "${S}"/shared-tob/hd0_german ]] && mv -fv "${S}"/shared-tob/hd0_german/* "${Ddir}"/Shared-German
[[ -d "${S}"/shared-tob/_support_german_os_independent_files ]] && mv -fv "${S}"/shared-tob/_support_german_os_independent_files/* "${Ddir}"/Shared-German
[[ -d "${S}"/patches/tob-eu/german ]] && mv -fv "${S}"/patches/tob-eu/german/*.* "${Ddir}"/Shared-German
[[ -d "${S}"/shared-tob/minimum_25_sound_german ]] && mv -fv "${S}"/shared-tob/minimum_25_sound_german/* "${Ddir}"/Shared-German/sounds
[[ -d "${S}"/shared-tob/minimum_25_characters_german ]] && mv -fv "${S}"/shared-tob/minimum_25_characters_german/* "${Ddir}"/Shared-German/characters
[[ -d "${S}"/shared-tob/hd0_german/characters ]] && mv -fv "${S}"/shared-tob/hd0_german/characters/* "${Ddir}"/Shared-German/characters
[[ -d "${S}"/shared-tob/minimum_25_data_german ]] && mv -fv "${S}"/shared-tob/minimum_25_data_german/* "${Ddir}"/Shared-German/data
fi
fi
for d in cd2 cd3 cd4 cd5
do
if [[ -d ${d} ]]
then
mkdir -p "${Ddir}"/${d}/data
mv -fv "${S}"/${d}/[Dd]ata/AREA*.* "${Ddir}"/${d}/data
mv -fv "${S}"/${d}/[Dd]ata/*.* "${Ddir}"/Shared/data
mkdir -p "${Ddir}"/${d}/movies
mv -fv "${S}"/${d}/[Mm]ovies/*.* "${Ddir}"/${d}/movies
fi
done
if ! use videos
then
rm -rf "${S}"/movies/*
fi
cd "${Ddir}"
for d in cd1/English cd1/French cd1/Italian cd1/Spanish cd1/German cd2 cd3 cd4 cd5 Shared Shared-English Shared-French Shared-Italian Shared-Spanish Shared-German
do
if [[ -d ${d} ]]
then
( cd ${d}
for f in $(find . -name '*.*') ; do
lcf=$(echo ${f} | tr [:upper:] [:lower:])
if [[ ${f} != ${lcf} ]] && [[ -f ${f} ]]
then
mv ${f} ${lcf}
fi
done )
fi
done
find "${Ddir}" -iname "*.exe" -exec rm {} \; 2> /dev/null
find "${Ddir}" -iname "*.dll" -exec rm {} \; 2> /dev/null
find "${Ddir}" -iname "*.pdf" -exec rm {} \; 2> /dev/null
find "${Ddir}" -iname "*.url" -exec rm {} \; 2> /dev/null
cat > ${launcher} <<-EOF
#!/bin/bash
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Automatically generated by ${CATEGORY}/${PF}
# Exec the BaldursGate${SLOT} script for the language chosen in
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
L=\${LC_ALL}
L=\${L:-\${LC_MESSAGES}}
L=\${L:-\${LANG}}
[[ ! -d ~/.bioware/bg2/save ]] && mkdir -p ~/.bioware/bg2/save
if [[ -f ~/.bioware/bg2/GemRB.cfg ]]
then
exec gemrb -c ~/.bioware/bg2/GemRB.cfg
else
case \${L} in
EOF
mkdir -p "${Ddir}"/English
${LNDIR} "${Ddir}"/cd1/English English
${LNDIR} "${Ddir}"/Shared-English English
${LNDIR} "${Ddir}"/Shared English
echo "en*) exec cp ${dir}/English/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!English!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB${SLOT}.cfg > ${Ddir}/English/GemRB.cfg
if use linguas_fr
then
mkdir -p "${Ddir}"/French
${LNDIR} "${Ddir}"/cd1/French French
${LNDIR} "${Ddir}"/Shared-French French
${LNDIR} "${Ddir}"/Shared French
echo "fr*) exec cp ${dir}/French/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!French!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB${SLOT}.cfg > ${Ddir}/French/GemRB.cfg
fi
if use linguas_it
then
mkdir -p "${Ddir}"/Italian
${LNDIR} "${Ddir}"/cd1/Italian Italian
${LNDIR} "${Ddir}"/Shared-Italian Italian
${LNDIR} "${Ddir}"/Shared Italian
echo "it*) exec cp ${dir}/Italian/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!Italian!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB${SLOT}.cfg > ${Ddir}/Italian/GemRB.cfg
fi
if use linguas_es
then
mkdir -p "${Ddir}"/Spanish
${LNDIR} "${Ddir}"/cd1/Spanish Spanish
${LNDIR} "${Ddir}"/Shared-Spanish Spanish
${LNDIR} "${Ddir}"/Shared Spanish
echo "es*) exec cp ${dir}/Spanish/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!Spanish!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB${SLOT}.cfg > ${Ddir}/Spanish/GemRB.cfg
fi
if use linguas_de
then
mkdir -p "${Ddir}"/German
${LNDIR} "${Ddir}"/cd1/German German
${LNDIR} "${Ddir}"/Shared-German German
${LNDIR} "${Ddir}"/Shared German
echo "de*) exec cp ${dir}/German/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;" >> ${launcher}
sed -e "s!@DESTDIR@!${dir}!g" \
-e "s!@LANG@!German!g" \
-e "s!@LIBDIR@!$(get_libdir)!g" < ${FILESDIR}/GemRB${SLOT}.cfg > ${Ddir}/German/GemRB.cfg
fi
cat >> ${launcher} <<-EOF
*) exec cp ${dir}/English/GemRB.cfg ~/.bioware/bg2/GemRB.cfg;;
esac
exec gemrb -c ~/.bioware/bg2/GemRB.cfg
fi
EOF
newicon "${DISTDIR}"/Baldur-s-Gate-2-Shadows-of-Amn-2-128x128.png Baldur-s-Gate-2-Shadows-of-Amn.png
make_desktop_entry BaldursGate${SLOT} "Baldur's Gate II - Shadows of Amn ${PV}" Baldur-s-Gate-2-Shadows-of-Amn.png
if use tob
then
newicon "${DISTDIR}"/Baldur-s-Gate-2-Throne-of-Bhaal-2-128x128.png Baldur-s-Gate-2-Throne-of-Bhaal.png
make_desktop_entry BaldursGate${SLOT} "Baldur's Gate II - Throne of Bhaal ${PV}" Baldur-s-Gate-2-Throne-of-Bhaal.png
fi
dobin ${launcher}
prepgamesdirs
chmod g+rwX ${Ddir} || die "could not chmod"
# die
}

View File

@ -1,228 +0,0 @@
#####################################################
# #
# This is the GemRB Configuration file. #
# Here are defined some default parameters for #
# basic configuration and paths definition. #
# #
# Parameters are defined as a Name=Value pair #
# The Value can be of three types: #
# - String #
# - Integer #
# - Boolean #
# #
# The String value is represented as follows #
# i.e. H:\GemRB\plugins #
# Integers are defined as follows #
# i.e. 12723 #
# Booleans are represented as 1 or 0 in this file #
# #
# Lines starting with # are ignored #
# #
#####################################################
#####################################################
# #
# Game Type [String] Use one of the following #
# values: #
# #
# bg1 Baldur's Gate #
# bg2 Baldur's Gate 2 : SoA #
# tob Baldur's Gate 2 : ToB #
# iwd IceWind Dale #
# how IceWind Dale : HoW or ToTL #
# iwd2 IceWind Dale 2 #
# pst Planescape Torment #
# (More will come) #
# #
#####################################################
GameType=bg1
#####################################################
# Game Name [String] Title for GemRB window, use #
# anything you wish, e.g. Baldur's Gate 3: RotFL #
#####################################################
GameName=Baldur's Gate 2
#####################################################
# Video Parameters #
#####################################################
#Screen width
Width=1024
#Screen height
Height=768
#Bits per pixel [Integer:16,24,32]
Bpp=32
#Fullscreen [Boolean]
Fullscreen=1
# Delay before tooltips appear [milliseconds]
TooltipDelay=500
#####################################################
# Audio Parameters #
#####################################################
# #
# All volume options are in percents, with 100 #
# being the normal and default volume #
# #
#####################################################
# Volume of ambient sounds
VolumeAmbients = 100
# Volume during movie playback
VolumeMovie = 100
# Volume of background music
VolumeMusic = 100
# Volume of sound effects
VolumeSFX = 100
# Volume of PC or NPC voices
VolumeVoices = 100
#####################################################
# Case Sensitive Filesystem [Boolean] #
# #
# If your installed game files are residing on a #
# case sensitive filesystem (ext2 on Linux) then #
# you need to set this value to 1, it has no #
# effect on Windows #
#####################################################
CaseSensitive=1
#GameOnCD=0
#####################################################
# Debug #
#####################################################
# Do not play intro videos [Boolean], useful for development
SkipIntroVideos=0
# Draw Frames per Second info [Boolean]
DrawFPS=0
# Hide unexplored parts of a map
FogOfWar=1
# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt
# full listing
EnableCheatKeys=0
#####################################################
# Paths #
#####################################################
# #
# Note: You have to terminate all paths with the #
# path separator character ('\' for Windows users, #
# '/' for Linux users) #
# #
#####################################################
#####################################################
# Game Paths [String] #
# #
# These are the paths where the Game you want to #
# play is installed. #
# Enter the full path to the directory. #
#####################################################
GamePath=@DESTDIR@/@LANG@/
CD1=@DESTDIR@/cd1/@LANG@/
CD2=@DESTDIR@/cd2/
CD3=@DESTDIR@/cd3/
CD4=@DESTDIR@/cd4/
CD5=@DESTDIR@/cd5/
#####################################################
# GemRB Path [String] #
# #
# This is the path where GemRB is stored, just #
# enter the full path to the GemRB executable #
#####################################################
GemRBPath=/usr/share/games/gemrb/
#####################################################
# GemRB Cache Path [String] #
# #
# This is the path where GemRB will store the #
# cached files, enter the full path to the GemRB #
# Cache directory. #
#####################################################
CachePath=/var/cache/gemrb/
#####################################################
# GemRB GUI Scripts Path [String] #
# #
# This is the path where GemRB GUI scripts are #
# stored, usually these are in the GemRB directory #
# Enter the full path to the directory containing #
# the 'GUIScript' subdirectory. #
#####################################################
GUIScriptsPath=/usr/share/games/gemrb/
#####################################################
# GemRB Plugins Path [String] #
# #
# This is the path containing GemRB plugins #
# - shared libraries (.so) on Unixes, or #
# DLLs (.dll) on windows. #
# Enter the full path to the directory. #
# #
# You may need to specify this path if running #
# GemRB from source directory on Linux. #
#####################################################
PluginsPath=/usr/games/@LIBDIR@/gemrb/plugins/
#####################################################
# GemRB Save Path [String] #
# #
# This is the path where GemRB looks for saved #
# games. #
# Enter the full path to the directory containing #
# e.g. the 'save' subdirectory. #
# #
# You do not have to specify this if you use save #
# subdir in the GamePath directory. #
#####################################################
SavePath=~/.bioware/bg2/
#####################################################
# Game Data Path [String] #
# #
# This is the subdirectory under GamePath where #
# game data files are stored. #
# #
# You probably do NOT want to specify this! #
#####################################################
GameDataPath=data
#####################################################
# Game Data Override Path [String] #
# #
# This is the subdirectory under GamePath where #
# game data override files are stored. #
# #
# You probably do NOT want to specify this! #
#####################################################
GameOverridePath=override
#####################################################
# END #
#####################################################

View File

@ -1,228 +0,0 @@
#####################################################
# #
# This is the GemRB Configuration file. #
# Here are defined some default parameters for #
# basic configuration and paths definition. #
# #
# Parameters are defined as a Name=Value pair #
# The Value can be of three types: #
# - String #
# - Integer #
# - Boolean #
# #
# The String value is represented as follows #
# i.e. H:\GemRB\plugins #
# Integers are defined as follows #
# i.e. 12723 #
# Booleans are represented as 1 or 0 in this file #
# #
# Lines starting with # are ignored #
# #
#####################################################
#####################################################
# #
# Game Type [String] Use one of the following #
# values: #
# #
# bg1 Baldur's Gate #
# bg2 Baldur's Gate 2 : SoA #
# tob Baldur's Gate 2 : ToB #
# iwd IceWind Dale #
# how IceWind Dale : HoW or ToTL #
# iwd2 IceWind Dale 2 #
# pst Planescape Torment #
# (More will come) #
# #
#####################################################
GameType=bg2
#####################################################
# Game Name [String] Title for GemRB window, use #
# anything you wish, e.g. Baldur's Gate 3: RotFL #
#####################################################
GameName=Baldur's Gate 2
#####################################################
# Video Parameters #
#####################################################
#Screen width
Width=1024
#Screen height
Height=768
#Bits per pixel [Integer:16,24,32]
Bpp=32
#Fullscreen [Boolean]
Fullscreen=1
# Delay before tooltips appear [milliseconds]
TooltipDelay=500
#####################################################
# Audio Parameters #
#####################################################
# #
# All volume options are in percents, with 100 #
# being the normal and default volume #
# #
#####################################################
# Volume of ambient sounds
VolumeAmbients = 100
# Volume during movie playback
VolumeMovie = 100
# Volume of background music
VolumeMusic = 100
# Volume of sound effects
VolumeSFX = 100
# Volume of PC or NPC voices
VolumeVoices = 100
#####################################################
# Case Sensitive Filesystem [Boolean] #
# #
# If your installed game files are residing on a #
# case sensitive filesystem (ext2 on Linux) then #
# you need to set this value to 1, it has no #
# effect on Windows #
#####################################################
CaseSensitive=1
#GameOnCD=0
#####################################################
# Debug #
#####################################################
# Do not play intro videos [Boolean], useful for development
SkipIntroVideos=0
# Draw Frames per Second info [Boolean]
DrawFPS=0
# Hide unexplored parts of a map
FogOfWar=1
# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt
# full listing
EnableCheatKeys=0
#####################################################
# Paths #
#####################################################
# #
# Note: You have to terminate all paths with the #
# path separator character ('\' for Windows users, #
# '/' for Linux users) #
# #
#####################################################
#####################################################
# Game Paths [String] #
# #
# These are the paths where the Game you want to #
# play is installed. #
# Enter the full path to the directory. #
#####################################################
GamePath=@DESTDIR@/@LANG@/
CD1=@DESTDIR@/cd1/@LANG@/
CD2=@DESTDIR@/cd2/
CD3=@DESTDIR@/cd3/
CD4=@DESTDIR@/cd4/
CD5=@DESTDIR@/cd5/
#####################################################
# GemRB Path [String] #
# #
# This is the path where GemRB is stored, just #
# enter the full path to the GemRB executable #
#####################################################
GemRBPath=/usr/share/games/gemrb/
#####################################################
# GemRB Cache Path [String] #
# #
# This is the path where GemRB will store the #
# cached files, enter the full path to the GemRB #
# Cache directory. #
#####################################################
CachePath=/var/cache/gemrb/
#####################################################
# GemRB GUI Scripts Path [String] #
# #
# This is the path where GemRB GUI scripts are #
# stored, usually these are in the GemRB directory #
# Enter the full path to the directory containing #
# the 'GUIScript' subdirectory. #
#####################################################
GUIScriptsPath=/usr/share/games/gemrb/
#####################################################
# GemRB Plugins Path [String] #
# #
# This is the path containing GemRB plugins #
# - shared libraries (.so) on Unixes, or #
# DLLs (.dll) on windows. #
# Enter the full path to the directory. #
# #
# You may need to specify this path if running #
# GemRB from source directory on Linux. #
#####################################################
PluginsPath=/usr/games/@LIBDIR@/gemrb/plugins/
#####################################################
# GemRB Save Path [String] #
# #
# This is the path where GemRB looks for saved #
# games. #
# Enter the full path to the directory containing #
# e.g. the 'save' subdirectory. #
# #
# You do not have to specify this if you use save #
# subdir in the GamePath directory. #
#####################################################
SavePath=~/.bioware/bg2/
#####################################################
# Game Data Path [String] #
# #
# This is the subdirectory under GamePath where #
# game data files are stored. #
# #
# You probably do NOT want to specify this! #
#####################################################
GameDataPath=data
#####################################################
# Game Data Override Path [String] #
# #
# This is the subdirectory under GamePath where #
# game data override files are stored. #
# #
# You probably do NOT want to specify this! #
#####################################################
GameOverridePath=override
#####################################################
# END #
#####################################################

File diff suppressed because it is too large Load Diff

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -1,4 +1,4 @@
AUX makeresolvedeb-gentoo.patch 3164 BLAKE2B 798d172b151cb339f0e4b3c612928b845e73479ea65f88a0de27fbb5f3490aafc84d2e0ae80cd68c22038845bfe5bb6dbc1585309c3a09381db7e8a1d4d8ebec SHA512 41fa34f56634b06afacba28e29d07bd00cf0698a24a4470a7aee1faae26f117db6707e105df74ac34d3d1391a62cb70a555ba6e3d839d925760d44c480d5d8de AUX makeresolvedeb-gentoo.patch 3164 BLAKE2B 798d172b151cb339f0e4b3c612928b845e73479ea65f88a0de27fbb5f3490aafc84d2e0ae80cd68c22038845bfe5bb6dbc1585309c3a09381db7e8a1d4d8ebec SHA512 41fa34f56634b06afacba28e29d07bd00cf0698a24a4470a7aee1faae26f117db6707e105df74ac34d3d1391a62cb70a555ba6e3d839d925760d44c480d5d8de
DIST DaVinci_Resolve_17.4.4_Linux.zip 2340150104 BLAKE2B 28f410b8a7c959e8522e33b7c40d5842d8c614752800fa7acc11f83ab1d57cf9d6a6545eb064992e72f304b5a71d4c1612899640a0e8c2cee1c50f288f4ef2b5 SHA512 ea921df0988fdc11cc7de79060ed00b98556c0035ade53f56ea29fcbd89aed3a014f46d2d2caa194b05732620974ba259c6f6159ed3bf3c887e7cbda0665f013 DIST DaVinci_Resolve_17.4.5_Linux.zip 2339966220 BLAKE2B 55a6ad8ada56f3823c477f6675043f7dc4743e4c8e2986ce3f3ee4821f3aa03f23f225d7c75d004202d13c3fdf8cc13545b5e4bca84f0935feea69b75c73781f SHA512 e4dbe04f4985b147a61a8c47304a1a45a191a8a16454f8e1e93662ec9ceec300a387f7af84f75b7e9f88bd1eb8769f0cb07eada8e65f16e99dde42ea9a45d5b6
DIST makeresolvedeb_1.5.1_multi.sh.tar.gz 4012 BLAKE2B 1200f3fc09f79e8c1b5f9a2bc77c0884784268f0e9fc19c9d114e76786c7558ed81990b99c52aedbcc20044ef504ae017e98218f04a78de9dc87e10a28b78824 SHA512 ac03bb94822a99640cfc3daad15031046859afadb7e32740da3d8069db453d6562117337a6b032e7218bb32394344e03d690f6dcbf32710687fbcb3161391b93 DIST makeresolvedeb_1.5.1_multi.sh.tar.gz 4012 BLAKE2B 1200f3fc09f79e8c1b5f9a2bc77c0884784268f0e9fc19c9d114e76786c7558ed81990b99c52aedbcc20044ef504ae017e98218f04a78de9dc87e10a28b78824 SHA512 ac03bb94822a99640cfc3daad15031046859afadb7e32740da3d8069db453d6562117337a6b032e7218bb32394344e03d690f6dcbf32710687fbcb3161391b93
EBUILD davinci-resolve-17.4.4.ebuild 2416 BLAKE2B cd7abb72082ed52afe7a35aef8e1e8e227979b396ba85059ee03a628dc757456796fdb2a591dc694d60a80239ec10dacea6ce6fe663e136c10794f1c3e3e1a3e SHA512 97ffd4ebcec16a6d4f7289e1ad75cbbaab159258ec6dcb4e2c92f28187a90a576dab24ab83de57da4e9650f50fc14e6ded2d3ea605babba02bc96461cbb1db91 EBUILD davinci-resolve-17.4.5.ebuild 2416 BLAKE2B cd7abb72082ed52afe7a35aef8e1e8e227979b396ba85059ee03a628dc757456796fdb2a591dc694d60a80239ec10dacea6ce6fe663e136c10794f1c3e3e1a3e SHA512 97ffd4ebcec16a6d4f7289e1ad75cbbaab159258ec6dcb4e2c92f28187a90a576dab24ab83de57da4e9650f50fc14e6ded2d3ea605babba02bc96461cbb1db91

View File

@ -1,5 +0,0 @@
AUX makemkv-path.patch 1579 BLAKE2B 6ca7ed6c854c0357fea864bedc3f65a1051a466a52db1380bf1904c97bfa2b455beeb7ff9852fe57f6d224ed659df63d02db96a281be7a14f0587bece9aff75b SHA512 9294d3645b953fdb7ca24e83066becfbf07e03cab01d0aaf4527cf2d54fb0990649da1f766836a0f3efea9c363c8f00116b4624c49fd7bcfa197cae2ef17e6ed
DIST makemkv-bin-1.16.5.tar.gz 15585124 BLAKE2B c006b47af571089de5a3283f0f4094556b3fbd9b67d26f7fc57e05e6feb0b3a6875742d8eb5536c561dbd8e6914b9255e38b97eb0b9acaba761daa28e532c3af SHA512 4e0ee2f2d9036a46dc3d3bdf13048c17f7efe886ddf808911d7694c319b0b887439907a0d5f47a7ff3824ef7bfb036d5900a66d3f500dc1b57223012479a0609
DIST makemkv-oss-1.16.5.tar.gz 6541723 BLAKE2B e628fa65a883e69b51a84bdc0d46da5628c1981017f2e64a31e36e3b7bc45e16d2a94831a6e0fd405676d8385ce11afb9db7d5fc81f2cb174e9ca44dde775f1d SHA512 865f621fb326541dcc05231667510895cb20e3bccb4705d67533aefec57b043d6fd33f0541290428f45226123f2dc419f7d0f2c071518f6f7a548c5aeea8978e
EBUILD makemkv-1.16.5.ebuild 2967 BLAKE2B 74b0362791559182073052251d34363cf00d476d80d92edee471e5b59098da9d6157fb13b9b3b38e6c46421058835c49ccc93926688354795c7ca555a0dd5e86 SHA512 ff8210b70501c8064ed5e3d110fe88289e1b9bde09b901a62e1e2a245e660f12c94f2b735f9f534fe936963594d6ca87c88bafb24f152c01674ba3bcb8574dd5
MISC metadata.xml 1225 BLAKE2B c65dc32de4283f661bb1725d24d7346ad93a5cc77fc794cb41ef95174eaabd3fe17fac4ae7c4a4791170563e7ae0596c37ec734880723f9a9e81b5d991646b4d SHA512 b5730528c0efef8dc5d98248d0eaa85625b292e610cb7aa294d87f968fabdd45a6d240e66d7d2a4f0cdfc7642ad11dbaf36417b36b8895b8e50b307202ac1bb9

View File

@ -1,47 +0,0 @@
diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp
--- makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp 2016-04-15 21:35:36.000000000 +0100
+++ makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp 2016-05-08 13:51:48.761885862 +0100
@@ -54,8 +54,6 @@
if (AppName[0]==':')
{
- bool app_found = false;
- const char* const* app_locations = ApGetAppLocations();
const char* p_env = getenv("MAKEMKVCON");
AppName++;
@@ -63,6 +61,13 @@
if (p_env!=NULL)
{
strcpy(app_path,p_env);
+ } else {
+ strcpy(app_path,AppName);
+ }
+ } else {
+ strcpy(app_path,AppName);
+ }
+/*
app_found = true;
} else {
for (size_t i=0;app_locations[i]!=NULL;i++)
@@ -105,7 +110,7 @@
}
strcpy(p,AppName);
}
-
+*/
strcpy(str_guiserver,"guiserver");
strcpy(str_apver,verstr);
diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp
--- makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp 2016-04-15 21:35:36.000000000 +0100
+++ makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp 2016-05-08 10:52:37.137598384 +0100
@@ -70,7 +70,7 @@
}
}
- err = posix_spawn(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp);
+ err = posix_spawnp(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp);
posix_spawn_file_actions_destroy(&spawn_actions);
posix_spawnattr_destroy(&spawn_attr);

View File

@ -1,114 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic linux-info xdg
MY_P=makemkv-oss-${PV}
MY_PB=makemkv-bin-${PV}
DESCRIPTION="Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs"
HOMEPAGE="http://www.makemkv.com/"
SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
http://www.makemkv.com/download/${MY_PB}.tar.gz"
LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="+gui libressl"
RESTRICT="bindist mirror"
QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
DEPEND="
sys-libs/glibc
dev-libs/expat
sys-libs/zlib
gui? (
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
>=media-video/ffmpeg-1.0.0:0=
!libressl? ( dev-libs/openssl:0=[-bindist(-)] )
libressl? ( dev-libs/libressl:0= )
"
RDEPEND="
${DEPEND}
media-video/ccextractor
net-misc/wget
"
BDEPEND="
virtual/pkgconfig
gui? ( dev-qt/qtcore:5 )
"
CONFIG_CHECK="~CHR_DEV_SG"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${PN}-path.patch
)
src_configure() {
# See bug #439380.
replace-flags -O* -Os
econf \
--enable-debug \
--disable-noec \
$(use_enable gui) \
$(use_enable gui qt5)
}
src_install() {
default
# add missing symlinks for QA
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so.0.${PV}
cd "${WORKDIR}"/${MY_PB} || die
# install prebuilt bin
dobin bin/$(usex x86 i386 ${ARCH})/makemkvcon
# additional tool is actually part of makemkvcon
dosym makemkvcon /usr/bin/sdftool
# install profiles and locales
insinto /usr/share/MakeMKV
doins src/share/*
# add symlink rather than relying on MMCCEXTRACTOR env var
dosym ccextractor /usr/bin/mmccextr
}
pkg_postinst() {
xdg_pkg_postinst
elog "While MakeMKV is in beta mode, upstream has provided a license"
elog "to use if you do not want to purchase one."
elog ""
elog "See this forum thread for more information, including the key:"
elog "https://www.makemkv.com/forum/viewtopic.php?f=5&t=1053"
elog ""
elog "Note that beta license may have an expiration date and you will"
elog "need to check for newer licenses/releases. "
elog ""
elog "We previously said to copy default.mmcp.xml to ~/.MakeMKV/. This"
elog "is no longer necessary and you should delete it from there to"
elog "avoid warning messages."
elog ""
elog "MakeMKV can also act as a drop-in replacement for libaacs and"
elog "libbdplus, allowing transparent decryption of a wider range of"
elog "titles under players like VLC and mplayer. To enable this, set"
elog "the following variables when launching the player:"
elog "LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd"
}

View File

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chewi@gentoo.org</email>
<name>James Le Cuirot</name>
</maintainer>
<longdescription>
MakeMKV is your one-click solution to convert video that you own
into free and patents-unencumbered format that can be played
everywhere. MakeMKV is a format converter, otherwise called
transcoder. It converts the video clips from proprietary (and
usually encrypted) disc into a set of MKV files, preserving most
information but not changing it in any way. The MKV format can
store multiple video/audio tracks with all meta-information and
preserve chapters. There are many players that can play MKV
files nearly on all platforms, and there are tools to convert
MKV files to many formats, including DVD and Blu-ray discs.
Additionally MakeMKV can instantly stream decrypted video
without intermediate conversion to wide range of players, so you
may watch Blu-ray and DVD discs with your favorite player on
your favorite OS or on your favorite device.
</longdescription>
<use>
<flag name="gui">Build the Qt5 GUI</flag>
</use>
</pkgmetadata>

View File

@ -1,24 +0,0 @@
# ChangeLog for net-im/jitsi
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*jitsi-2.6.5390 (20 Mar 2015)
*jitsi-2.8.5426 (20 Mar 2015)
20 Mar 2015; Mario Fetka <mario.fetka@gmail.com> +jitsi-2.6.5390.ebuild,
+jitsi-2.8.5426.ebuild:
Bump
*jitsi-2.4.4997 (08 Jan 2014)
08 Jan 2014; Mario Fetka <mario.fetka@gmail.com> +jitsi-2.4.4997.ebuild,
-jitsi-2.0.4506.10553.ebuild, -jitsi-2.2.4603.9615.ebuild,
-jitsi-2.3.4789.ebuild:
Bump
*jitsi-2.2.4603.9615 (10 Aug 2013)
*jitsi-2.3.4789 (10 Aug 2013)
10 Aug 2013; Mario Fetka <mario.fetka@gmail.com> +files/jitsi-2.3,
+jitsi-2.2.4603.9615.ebuild, +jitsi-2.3.4789.ebuild, files/jitsi:
Bump

View File

@ -1,11 +0,0 @@
AUX jitsi 1295 SHA256 883788ffe84e327fabbe63ab3d26cd8d3a245c41100d8655e346c01909f07fb4 SHA512 8aa9c49c479432ac4cc93854df307e19f18651e1ef54128a0f5a590e8c12e216ecf99d04cef0f36d8acae000dd761b70650aa9d7e29401627c29a9f97cb2c462 WHIRLPOOL 235609996f80412ea3edb03a53f92d773f0b3c1a6d48ac69ca43096533162dd6453dc0ffe80d67118e2414bd949ec1735828d89653b0773b0d9c03960b1eed9a
AUX jitsi-2.3 1250 SHA256 439b05f184ae20b807b1828fcd648739f57e1adb353fa4fb54d5cbc1e722c19a SHA512 4245a333ebb4c11d335ed941a6a175bf6a4951d306300011e8de21782c2f19547bcc74a2834ceda3d825c99a2c41fbe2704537d534dc7771ff8a55f0548a96a7 WHIRLPOOL 66206eb34b0c4253cfc5b35b688fbd2bcf20e94446d6b354a8b58cc657ba8dc0f1e72d7d92991d8b8a8a197185675b1917cf76e672930d90c772724c8edab5a9
DIST jitsi-src-2.10.5550.zip 54909095 SHA256 cdfc6f038d1b877c42d26dba1864ac7c6b554dd55c18767a29f2db3618647287 SHA512 52c54300f3892632bf6f988585591e28f93eb34291a06f7146fa80d592d1b16e9c66b35a864adaa6ee9324d13d6eacfac6dd7890cfa094358965bbfb2df9152e WHIRLPOOL 4b7c16b9d56ab1d4465b250401c5ebdaf6f7fc1c94af1374cd42ce37f523be1ded7d347485dbf273b2b029313e206e855bdb492699b89314ce6b003c33934c72
DIST jitsi-src-2.4.4997.zip 64745374 SHA256 f1c2688d7d6bf1916fed3b8b105a785662980c5b297dcab3c9e7d272647ef825 SHA512 5c6afeffa9ff59fb07cd836b742c73a50dd23b4a954d377290fb31e9d13318db499b26c29261256809eaf801b7e0b4830128017136220b8cde8fd31cc63dcd0a WHIRLPOOL d37c3aa368775affd6e95a15a2b3d112be2fed5d9cc8d0d929da5f13935444c6d2bbe9f22a167e4c31230c70e76d33a71cf32187f3108c89aaf8ab65466d52da
DIST jitsi-src-2.6.5390.zip 67861690 SHA256 853d4358b265e9fba274dc354dd2b692522d7ee24fd3fa4a37ac07d2b983c887 SHA512 794e767ea550d9ad386f6e15ef4425ee845cef393e94ab2636e071862430d795c8d14cea097c4f8fa11faba19bd10f4a690288e75a3aa41ed3e211269e3017a7 WHIRLPOOL df01af9019a2deed3a9b0e4f7d694f80a5740c368c5284ca5de0935d702ddd2e157755f3ef649892be57685ef24cc661698cbabe28024b8a91c2e3a41ba55793
DIST jitsi-src-2.8.5426.zip 67515973 SHA256 e649867e186cf195c4b1bb159d7ffe0a38c4dc60659e5c55f9a74461a309f36c SHA512 9a44f3af10620e42a4de87967c74084f6d07eea433c69f9e2e0ddd529723777ac48bcd250d5717872f8cea926cdf237cbbaf44cbeaba1ab201f23a34d68d7841 WHIRLPOOL c060e8eadfd7607f2ad5c8edbace630ae030efb5218f42fedf8e1d08ea149ad9047aeaa12bd37f0fdeaf8bf04c318b4afabb532ce2f5164d4b23a946fafa0c49
EBUILD jitsi-2.10.5550.ebuild 2669 SHA256 e1ee26a5552dc8bc67b450bed2ec207a5f06aed093cf718b9942e5dd36dceffc SHA512 4e03165d0f88bb57daba16d2d7d3c484142dd0f4d2c3752040a4e30aa160c2c5ffce5fcdd2825256408795ac9229250f2ef4cd19a15be11d1682b616e5a57ad5 WHIRLPOOL a5480a52ff8e9fc464c497379133a758715a5913b030b0cc091cd3dc685ed928f6fadde53a56fbfffe436a563757d1dc0429ff7b077a68fa09c77a808895a788
EBUILD jitsi-2.4.4997.ebuild 2669 SHA256 ff1b9e964a176c0d0c3e1002ebd6a3638a2f740fd3339d675a5490517cc45e8b SHA512 d4e04ae339913d986d67321731ead58122f8bc83556a66e6511b395dc8829e6eaf84eee9b91763aa6c76e14efe831141b2ce1f668ab800a92bace5051467ced4 WHIRLPOOL cebbdea0d780fa35d57bd083248303a981b72982597674dca68090add896e81d8a7c0a44ea57d489e4d96ae553c290082c147adea6af2e542bbe29b41e643488
EBUILD jitsi-2.6.5390.ebuild 2669 SHA256 63733c69561b92308f9fb1ec0dc13267d4f7413468f9d0b7f40be8f5f4ec276f SHA512 58a4554469d81eb5f4d3fb7351a899e45cc8d7aff6e6e03ca323de3374d66e36f2a655b84f7fed9729b2b739e2e4ee698d8ef802694b9a7eb1b84e9614d945bf WHIRLPOOL 92ff9b0417323677f60355317b926bd6e0f8a452328a8940c3abc4c223b8f0bf7721e152acdabd3be2312f6531e0ea1772e2471f7d1acbef8ec47a9765cb29cf
EBUILD jitsi-2.8.5426.ebuild 2669 SHA256 63733c69561b92308f9fb1ec0dc13267d4f7413468f9d0b7f40be8f5f4ec276f SHA512 58a4554469d81eb5f4d3fb7351a899e45cc8d7aff6e6e03ca323de3374d66e36f2a655b84f7fed9729b2b739e2e4ee698d8ef802694b9a7eb1b84e9614d945bf WHIRLPOOL 92ff9b0417323677f60355317b926bd6e0f8a452328a8940c3abc4c223b8f0bf7721e152acdabd3be2312f6531e0ea1772e2471f7d1acbef8ec47a9765cb29cf
MISC ChangeLog 694 SHA256 48c8c46b8a1d39c754aff71c5627b690f002fcffccf08c6ab83453d27b66c738 SHA512 1c285e6d72b760bca16b4add10f276a6f586efa9e61b6002705704f1078a78fb81de15bb24d86e4e4110959622abf0e3ea46f33dc13d37514ad441e4f0be87a0 WHIRLPOOL d4f76cab4f7458fe9a3bef2f9e7d8f5bd6ca4a6cea84fcfa06b98b5cd5463f1efd1e03a87feedb8e22a5d9d15adce068db63b529288969dc4a96f000507280a1

View File

@ -1,33 +0,0 @@
#!/bin/bash
# Change memory settings for 32-bit systems
CLIENTARGS=""
uname -m | grep -q 'i.86' && CLIENTARGS="-client -Xmx256m"
# Standard paths
javabin="$(java-config -J)"
SCDIR="/usr/lib/jitsi"
LIBPATH="$SCDIR/lib"
# Configuration files
FELIX_CONFIG="$LIBPATH/felix.client.run.properties"
LOG_CONFIG="$LIBPATH/logging.properties"
# Command assembly
# Add libraries and sip-communicator bundles:
CLASSPATH="$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:$LIBPATH/bcprovider.jar:$SCDIR/sc-bundles/sc-launcher.jar:$SCDIR/sc-bundles/util.jar"
# Set the system properties:
SYSPROPS=( -Djna.library.path="$LIBPATH/native" -Dfelix.config.properties="file:$FELIX_CONFIG" -Djava.util.logging.config.file="$LOG_CONFIG" )
# The full command:
COMMAND=( "$javabin" $CLIENTARGS -classpath "$CLASSPATH" "${SYSPROPS[@]}" net.java.sip.communicator.launcher.SIPCommunicator )
# Also add "LIBPATH/native" to LD_LIBRARY_PATH.
jarch="$( uname -m | sed 's/i.86/i386/; s/x86_64/amd64/' )"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:$LIBPATH/native"
# Fix font anti-aliasing
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
# Run the command
cd "$SCDIR"
exec "${COMMAND[@]}" "$@"

View File

@ -1,33 +0,0 @@
#!/bin/bash
# Change memory settings for 32-bit systems
CLIENTARGS=""
uname -m | grep -q 'i.86' && CLIENTARGS="-client -Xmx256m"
# Standard paths
javabin="$(java-config -J)"
SCDIR="/usr/lib/jitsi"
LIBPATH="$SCDIR/lib"
# Configuration files
FELIX_CONFIG="$LIBPATH/felix.client.run.properties"
LOG_CONFIG="$LIBPATH/logging.properties"
# Command assembly
# Add libraries and sip-communicator bundles:
CLASSPATH="$LIBPATH/felix.jar:$LIBPATH/bcprovider.jar:$SCDIR/sc-bundles/sc-launcher.jar:$SCDIR/sc-bundles/util.jar"
# Set the system properties:
SYSPROPS=( -Djna.library.path="$LIBPATH/native" -Dfelix.config.properties="file:$FELIX_CONFIG" -Djava.util.logging.config.file="$LOG_CONFIG" )
# The full command:
COMMAND=( "$javabin" $CLIENTARGS -classpath "$CLASSPATH" "${SYSPROPS[@]}" net.java.sip.communicator.launcher.SIPCommunicator )
# Also add "LIBPATH/native" to LD_LIBRARY_PATH.
jarch="$( uname -m | sed 's/i.86/i386/; s/x86_64/amd64/' )"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:$LIBPATH/native"
# Fix font anti-aliasing
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
# Run the command
cd "$SCDIR"
exec "${COMMAND[@]}" "$@"

View File

@ -1,90 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 java-ant-2 eutils multilib prefix
DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
HOMEPAGE="http://www.jitsi.org/"
#SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
SRC_URI="https://download.jitsi.org/jitsi/src/${PN}-src-${PV}.zip"
# This download comes with 30 Mb of useless jars.
# SVN access is available, but requires an account at java.net.
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
RDEPEND=">=virtual/jdk-1.8"
DEPEND=">=virtual/jdk-1.8
dev-java/xalan:0
dev-java/ant-nodeps:0
dev-util/patchelf"
S=${WORKDIR}/${PN}
QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
EANT_BUILD_TARGET="rebuild"
src_prepare() {
# Set RPATH for preserve-libs handling.
local x jarch
if [[ ${ARCH} == amd64 ]] ; then
jarch=amd64
cd lib/native/linux-64 || die
else
jarch=i386
cd lib/native/linux || die
fi
local x jarch jdir
jdir=$(java-config -o || die)
for x in * ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
die "patchelf failed on ${x}"
done
}
src_install() {
# Netbeans bundles
insinto /usr/$(get_libdir)/${PN}/sc-bundles
doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
# Other libraries
insinto /usr/$(get_libdir)/${PN}/lib
doins lib/*
doins -r lib/bundle # Unnecessary?
# Native libraries
exeinto /usr/$(get_libdir)/${PN}/lib/native
# WARNING: Foreign binaries!
if [[ ${ARCH} == amd64 ]] ; then
doexe lib/native/linux-64/*
else
doexe lib/native/linux/*
fi
# Make sure revdep-rebuild doesn't complain about them.
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
insinto /etc/revdep-rebuild && doins "50-${PN}"
# Starter item / icon
insinto /usr/share/pixmaps
doins resources/install/debian/${PN}.svg
make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
# Generate man page from template
sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
doman "${T}/jitsi.1"
# Install custom runscript
exeinto /usr/bin
newbin "${FILESDIR}/jitsi-2.3" "jitsi"
}

View File

@ -1,90 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 java-ant-2 eutils multilib prefix
DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
HOMEPAGE="http://www.jitsi.org/"
#SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
SRC_URI="https://download.jitsi.org/jitsi/src/${PN}-src-${PV}.zip"
# This download comes with 30 Mb of useless jars.
# SVN access is available, but requires an account at java.net.
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
RDEPEND=">=virtual/jdk-1.6"
DEPEND=">=virtual/jdk-1.6
dev-java/xalan:0
dev-java/ant-nodeps:0
dev-util/patchelf"
S=${WORKDIR}/${PN}
QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
EANT_BUILD_TARGET="rebuild"
src_prepare() {
# Set RPATH for preserve-libs handling.
local x jarch
if [[ ${ARCH} == amd64 ]] ; then
jarch=amd64
cd lib/native/linux-64 || die
else
jarch=i386
cd lib/native/linux || die
fi
local x jarch jdir
jdir=$(java-config -o || die)
for x in * ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
die "patchelf failed on ${x}"
done
}
src_install() {
# Netbeans bundles
insinto /usr/$(get_libdir)/${PN}/sc-bundles
doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
# Other libraries
insinto /usr/$(get_libdir)/${PN}/lib
doins lib/*
doins -r lib/bundle # Unnecessary?
# Native libraries
exeinto /usr/$(get_libdir)/${PN}/lib/native
# WARNING: Foreign binaries!
if [[ ${ARCH} == amd64 ]] ; then
doexe lib/native/linux-64/*
else
doexe lib/native/linux/*
fi
# Make sure revdep-rebuild doesn't complain about them.
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
insinto /etc/revdep-rebuild && doins "50-${PN}"
# Starter item / icon
insinto /usr/share/pixmaps
doins resources/install/debian/${PN}.svg
make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
# Generate man page from template
sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
doman "${T}/jitsi.1"
# Install custom runscript
exeinto /usr/bin
newbin "${FILESDIR}/jitsi-2.3" "jitsi"
}

View File

@ -1,90 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 java-ant-2 eutils multilib prefix
DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
HOMEPAGE="http://www.jitsi.org/"
#SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
SRC_URI="https://download.jitsi.org/jitsi/src/${PN}-src-${PV}.zip"
# This download comes with 30 Mb of useless jars.
# SVN access is available, but requires an account at java.net.
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
RDEPEND=">=virtual/jdk-1.6"
DEPEND=">=virtual/jdk-1.6
dev-java/xalan:0
dev-java/ant-nodeps:0
dev-util/patchelf"
S=${WORKDIR}/${PN}
QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
EANT_BUILD_TARGET="rebuild"
src_prepare() {
# Set RPATH for preserve-libs handling.
local x jarch
if [[ ${ARCH} == amd64 ]] ; then
jarch=amd64
cd lib/native/linux-64 || die
else
jarch=i386
cd lib/native/linux || die
fi
local x jarch jdir
jdir=$(java-config -o || die)
for x in * ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
die "patchelf failed on ${x}"
done
}
src_install() {
# Netbeans bundles
insinto /usr/$(get_libdir)/${PN}/sc-bundles
doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
# Other libraries
insinto /usr/$(get_libdir)/${PN}/lib
doins lib/*
doins -r lib/bundle # Unnecessary?
# Native libraries
exeinto /usr/$(get_libdir)/${PN}/lib/native
# WARNING: Foreign binaries!
if [[ ${ARCH} == amd64 ]] ; then
doexe lib/native/linux-64/*
else
doexe lib/native/linux/*
fi
# Make sure revdep-rebuild doesn't complain about them.
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
insinto /etc/revdep-rebuild && doins "50-${PN}"
# Starter item / icon
insinto /usr/share/pixmaps
doins resources/install/debian/${PN}.svg
make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
# Generate man page from template
sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
doman "${T}/jitsi.1"
# Install custom runscript
exeinto /usr/bin
newbin "${FILESDIR}/jitsi-2.3" "jitsi"
}

View File

@ -1,90 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 java-ant-2 eutils multilib prefix
DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
HOMEPAGE="http://www.jitsi.org/"
#SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
SRC_URI="https://download.jitsi.org/jitsi/src/${PN}-src-${PV}.zip"
# This download comes with 30 Mb of useless jars.
# SVN access is available, but requires an account at java.net.
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
RDEPEND=">=virtual/jdk-1.6"
DEPEND=">=virtual/jdk-1.6
dev-java/xalan:0
dev-java/ant-nodeps:0
dev-util/patchelf"
S=${WORKDIR}/${PN}
QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
EANT_BUILD_TARGET="rebuild"
src_prepare() {
# Set RPATH for preserve-libs handling.
local x jarch
if [[ ${ARCH} == amd64 ]] ; then
jarch=amd64
cd lib/native/linux-64 || die
else
jarch=i386
cd lib/native/linux || die
fi
local x jarch jdir
jdir=$(java-config -o || die)
for x in * ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
die "patchelf failed on ${x}"
done
}
src_install() {
# Netbeans bundles
insinto /usr/$(get_libdir)/${PN}/sc-bundles
doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
# Other libraries
insinto /usr/$(get_libdir)/${PN}/lib
doins lib/*
doins -r lib/bundle # Unnecessary?
# Native libraries
exeinto /usr/$(get_libdir)/${PN}/lib/native
# WARNING: Foreign binaries!
if [[ ${ARCH} == amd64 ]] ; then
doexe lib/native/linux-64/*
else
doexe lib/native/linux/*
fi
# Make sure revdep-rebuild doesn't complain about them.
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
insinto /etc/revdep-rebuild && doins "50-${PN}"
# Starter item / icon
insinto /usr/share/pixmaps
doins resources/install/debian/${PN}.svg
make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
# Generate man page from template
sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
doman "${T}/jitsi.1"
# Install custom runscript
exeinto /usr/bin
newbin "${FILESDIR}/jitsi-2.3" "jitsi"
}

View File

@ -0,0 +1,2 @@
DIST digital-0.29.zip 12260853 BLAKE2B c1cf80aa9d12102eb8cbd1160e8fe11123bdd335d7915cf7a5debdf4007406b708400d1d54320277ac56d57c6acc717d70da82d014dcb6c734dd9d04547388a7 SHA512 7d7864bda32fe55e91da156dcdbcd0999aa95d158f272f0d3bd34550ebf8e027e1e7172318733332779ffcaa6b7d520f4449a8ce41a7c3c8817e411f8b82f054
EBUILD digital-0.29.ebuild 1829 BLAKE2B 3186d12a105d561b5a02dabd533fdc248beab7029c08a47840a31c201ff96974155179c91d51d7f1e683a080e9383c0728b0ab101602f09cfe846001ca4b6a9e SHA512 9517bed92e9ad08dbb6997b9278bf5027f068c4796a21aacf85b41da4d18758b537f358b5495efcb4d7c1ea243c811f2e4f318b5993cafeadb79765b965403a5

View File

@ -0,0 +1,75 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 xdg-utils
DESCRIPTION="Digital is an easy-to-use digital logic designer and circuit simulator designed for educational purposes."
HOMEPAGE="https://github.com/hneemann/Digital"
SRC_URI="https://github.com/hneemann/Digital/releases/download/v${PV}/Digital.zip -> ${P}.zip"
LICENSE="GPL-3"
RESTRICT=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6
dev-util/desktop-file-utils
"
S="${WORKDIR}/Digital"
pkg_setup() { :; }
src_compile() { :; }
src_install() {
local dir="/opt/${PN}"
# buggy binary crap also requires the demo dir ??
insinto "${dir}"
doins -r examples lib
# Xerces has been patched hope this gets upstream was version 2.9.1
# relaxng is a heavely modified version of jing 20030619
java-pkg_jarinto "${dir}"
java-pkg_dojar Digital.jar
#local dep="javahelp,saxon-6.5,saxon-9,xml-commons-resolver"
#java-pkg_register-dependency ${dep}
# put launchers into the xxe/bin dir as expected by the xxe.jar
into "${dir}"
java-pkg_dolauncher ${PN} \
--main "de.neemann.digital.gui.Main" \
--java_args "-Xss4m -Xmx512m"
# for direct run without creating an env.d file link them
dodir /opt/bin
dosym ${dir}/bin/${PN} /opt/bin/${PN}
dodoc docu/* *.txt *.me
newicon icon.svg ${PN}.svg
sed -e "s,<EXEC_LOCATION>,${dir}/bin/${PN},g" \
-e "s,<ICON_LOCATION>,${PN},g" "${S}/linux/desktop.template" > "${S}/${PN}.desktop"
domenu ${PN}.desktop
# Install mime info (from Ubuntu)
insinto /usr/share/mime/packages/
doins "linux/digital-simulator.xml"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,3 @@
DIST ghdl-2.0.0.tar.gz 6825565 BLAKE2B dd16b53d412230e5d0f6fde4b54e7cad1e9f83f0fc057eada12140994e9149fe30d4cf5fd74ae849c1977a0390cdd9511edd738416f880475df8e66133242f94 SHA512 f4474a7916f9cc5cce976d0b4620d1441c377d72b749867b170397bf62d534983b37d4fc9bb31ef85e40eb7beb9b3a681a7ac32931f665934b357e97e74be6da
EBUILD ghdl-2.0.0.ebuild 838 BLAKE2B 1f1c4376fd4ccf51b487c2e7ad9b8ce48c3b709b327d56e098c624f3bf680c9d386012e72644a69d997a47c9456cf127891991b19922876b1b5c6181e9b5cbfc SHA512 a8ab813102ea203473a5b10a7d463248fb9b79c086394c5bbb595c5283dc2638e2eccc23be002ccb75efbab29870af5cd6f130f86e5394d586827800e9f364b3
MISC metadata.xml 311 BLAKE2B daf501ec739ff94d860ee7f074813f1d2f7d936fa1fea357b1ec398e42c036094e35fa9661994ecf444e7a6955654655753478e82b45f3a4e1204884e8b83857 SHA512 d789f23c36b96d1ed84b12e68c92c26aa1e5ff7038013561876e2f0986c21b17dc4bfcdc6f6767c16d8408d98638b2d06fe8489038990964fbdcdc66c80ab5cb

View File

@ -0,0 +1,39 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
ADA_COMPAT=(gnat_2020 gnat_2021)
inherit ada multilib
DESCRIPTION="VHDL 2008/93/87 simulator"
HOMEPAGE="http://ghdl.free.fr/"
SRC_URI="https://github.com/ghdl/ghdl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="synth"
DEPEND="${ADA_DEPS}"
RDEPEND="${DEPEND}"
BDEPEND=""
REQUIRED_USE="${ADA_REQUIRED_USE}"
src_prepare() {
default
sed -e 's#$(prefix)/lib$#$(prefix)/'"$(get_libdir)"'#g' -i "${S}/Makefile.in" \
|| die 'unable to fix library install path'
}
src_configure() {
echo $EADA
ada_export GCC GNATMAKE
./configure --prefix="${EPREFIX}"/usr --disable-werror $(use_enable synth)
}
src_compile() {
ada_export GCC GNATMAKE
emake GCC="${GCC}" GNATMAKE="${GNATMAKE}"
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@dblsaiko.net</email>
<name>Marco Rebhan</name>
</maintainer>
<use>
<flag name="synth">Enable synthesis feature</flag>
</use>
</pkgmetadata>

View File

@ -1,3 +1,4 @@
AUX multichan.patch 1291 BLAKE2B f874b456769a7dffcd0b89da1bd824d98a49b1373a0ce076606c7f69377b2c82bf485f3512e718abe5ccdc10d427966da08ac4f4a72b3765bb77493fcf1897f5 SHA512 5c63c724d7d3a806b6f24e2ef8e3cf75ddd2313b7e63ac3c113217064b8b48bbd7185bcda6068aff202022353d174f55c759f8edbd29df272d87adf9bb5b3cba
DIST labpowerqt-0.1.3.tar.gz 352902 BLAKE2B 90306a9bd78d97075f9648d724223d455194a51f7df3e93fa94a960e6059f70b5d5ba04ab54df6531ab18a8dbf90842a0e3c4db3101bf722047cb63455deeed2 SHA512 d808d9f727bc5cf3ece12ffa96fd87346c49599058e496cca0b82deb62206ae6369d2a0d1706cafb95c2435234a51a55a52eadba5597a0c9ddf4273d22c87aa9 DIST labpowerqt-0.1.3.tar.gz 352902 BLAKE2B 90306a9bd78d97075f9648d724223d455194a51f7df3e93fa94a960e6059f70b5d5ba04ab54df6531ab18a8dbf90842a0e3c4db3101bf722047cb63455deeed2 SHA512 d808d9f727bc5cf3ece12ffa96fd87346c49599058e496cca0b82deb62206ae6369d2a0d1706cafb95c2435234a51a55a52eadba5597a0c9ddf4273d22c87aa9
EBUILD labpowerqt-0.1.3.ebuild 735 BLAKE2B 839d5ac41ab74e4accbc5cf383717df99874fad2f041254f1819cc318c00958a4ef2bd31011afd18068933add6bf9894a570886ae80273e830b9180083ecd5fd SHA512 3847f90cc753b8f91f1abf52451654a42037ba7c603bcf7292eed7484993029e0f0ef3bbd57770b836fbba14500ff8db0d626be9a7cc523ec0216097db3e1524 EBUILD labpowerqt-0.1.3.ebuild 803 BLAKE2B ca6dc7623b96b2a708c1f6e299ecba05332bf0c0937e025db4a5d124498b05d2a38011e419820c3eed3edee49b9cf57797eb46729e4347b73e68369b365dc84a SHA512 65fc289a4ee62a84afa7340c39cb96f1b441d3cc656e9668027992441f378d1c72c1c93302394f931302ab16840ae67d72e56f8f16ba7afe56d797c5685c47ea
MISC ChangeLog 429 BLAKE2B 483f338dd65a80489cb473ee69c7db39f5bb317f9f4a7ce6e6904405ba0e1c64ed3db6b366353ef24191a6c32b054d59d98be79bb128414d062a33b6f786ac11 SHA512 00b40c33e265adc27b6d5cb6d1d33653eeb45af01ac0a7cf899e8e615d9064af58bea00c6cc6c8fc551a05a71128310f56f93abf76cec8731ee42524f51bbc91 MISC ChangeLog 429 BLAKE2B 483f338dd65a80489cb473ee69c7db39f5bb317f9f4a7ce6e6904405ba0e1c64ed3db6b366353ef24191a6c32b054d59d98be79bb128414d062a33b6f786ac11 SHA512 00b40c33e265adc27b6d5cb6d1d33653eeb45af01ac0a7cf899e8e615d9064af58bea00c6cc6c8fc551a05a71128310f56f93abf76cec8731ee42524f51bbc91

View File

@ -0,0 +1,35 @@
*** labpowerqt-0.1.3/src/koradscpi.cpp 2017-11-27 07:03:16.000000000 +0100
--- labpowerqt-0.1.3/src/koradscpi.cpp 2021-06-27 14:54:56.000000000 +0200
***************
*** 326,339 ****
for (int i = 1; i <= this->noOfChannels; i++) {
com = std::make_shared<SerialCommand>(
static_cast<int>(c), i, QVariant(), true,
korcon::SERIALCOMMANDBUFLENGTH.at(c));
}
} else {
com = std::make_shared<SerialCommand>(
static_cast<int>(c), 1, QVariant(), true,
korcon::SERIALCOMMANDBUFLENGTH.at(c));
}
- comVec.push_back(com);
}
return comVec;
}
--- 326,340 ----
for (int i = 1; i <= this->noOfChannels; i++) {
com = std::make_shared<SerialCommand>(
static_cast<int>(c), i, QVariant(), true,
korcon::SERIALCOMMANDBUFLENGTH.at(c));
+ comVec.push_back(com);
}
} else {
com = std::make_shared<SerialCommand>(
static_cast<int>(c), 1, QVariant(), true,
korcon::SERIALCOMMANDBUFLENGTH.at(c));
+ comVec.push_back(com);
}
}
return comVec;
}

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
EAPI="5" EAPI=6
inherit cmake-utils inherit cmake-utils
DESCRIPTION="LabPowerQt is an application to control laboratory power supplies and to record and visualize the data" DESCRIPTION="LabPowerQt is an application to control laboratory power supplies and to record and visualize the data"
@ -24,6 +24,11 @@ RDEPEND="dev-qt/qtgui:5
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
# dev-qt/qtquick:5 # dev-qt/qtquick:5
src_prepare() {
eapply "${FILESDIR}/multichan.patch"
eapply_user
}
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
"-DEALOGGER_EXTERNAL=off" ) "-DEALOGGER_EXTERNAL=off" )

View File

@ -1,4 +1,3 @@
DIST logisim-evolution-3.4.1-all.jar 24277158 BLAKE2B 68a26c712f05e81597df11ebfaffa74b1038928873baf021477f888e995ede7650693d80c75a7fcff928764911994e11c178ebdad8d3ded2cffc48ae06b881b1 SHA512 98c60d5444604b76809376e2ea9306aa4103202ee9c553820ba530064d3fa099e8cc7673ecaa0592a14cee450b8da11ac0270e41971d6a216e11f9ebc1630959 DIST logisim-evolution-3.7.2-all.jar 26002479 BLAKE2B 48ab8515669445ef87469f8809449fcd66d80027c33f2cf28a809b3b021fbb9126af97b6e5ecd6d1b0d01f7dacfba24e440d99a25ac1909bf3d91c2c0b8131c2 SHA512 514ace8cd7259eee34c930983da0b09a1e5efebe4305bc81b4885df7bcd283e1db2405668c5b5a88286ea3b9d4fc31d84efefb85ea728baf1dc4e1944a8171e2
DIST v2.14.6.tar.gz 38810790 BLAKE2B 059c7194babd739072053707eb5ad298f2943b811ecec009c39b8b59ef6d3131002555e65dfe58c66c7d299c9b6bd35b19746493e5ba1391890f8057c92f30ad SHA512 d7c92a413cff977d440a6ed29126cd6065870332d4e83a9fa68dc6e87af114010d35ea4eb334d0506485a0130274767694d2c3232abe5f30ad8307e2a76fdd17 DIST logisim-evolution-icon.svg 136043 BLAKE2B dddc9bd9a13a1954f179adaf93e0858c49a7c0f94a4d760208dd6891cc5d5910cb1912abedec95efe3fe7e3d5bec3592cdba7d749c0562bcf8cdcbd8802319a2 SHA512 28e8380db30df11d13f2fd3268d777e2dd9ae9c1d0ce01a46d47438ebb864bb8f3a97fbf52ecbc90551d53bbf45b70b0d9d0330d8e04ca982e495ed16fbf84a4
EBUILD logisim-evolution-2.14.6.ebuild 668 BLAKE2B f74f87fe477e3642008c4718f99f91926dbfee952294692471cdec978e2470928ef0bc027157c2cc918b9569ecd69194b64eea12194750f95a27fe91bf429ac9 SHA512 4fa1979b9843819e89c36ab56411de344ab3e7cf71bd831e4809fa95cde6af7f70b25d85e871c7848ae6c55c2ac11f4322a8476d1a5617df092fddee541acc51 EBUILD logisim-evolution-3.7.2.ebuild 1175 BLAKE2B 8c4b24a86e0a5894e649dee0867e9c77049a0a733550bfe95475e08121605473b0e53fc3aba409c28e51c08da0a1b4800b96f2dbf9dbe996a2c454f8dcaeed21 SHA512 a16cb88501cbfe07cbd5833b903bfbb2197eddd164ad1248f17de0e9bf887451ba0336685704155283a63bae4da63cf3c2cce83dbffbdc435880778968284feb
EBUILD logisim-evolution-3.4.1.ebuild 873 BLAKE2B 33cfb1a36ed822804a3be52858ac720844de6b6b255a75fb832c1a681d9cfecd301f92c6527138d358484c5564817e701bddd62967b88d75f82e223327d2a902 SHA512 865ab341a584823a1e1374d547cab7b14ce60241e7dde2b60d78fa4c74444e9c33eed01f350e468a3a19f79cb29cbd045680e4298b79b647139fea418a336a7e

View File

@ -1,30 +0,0 @@
EAPI=6
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Digital logic designer and simulator."
HOMEPAGE="https://github.com/reds-heig/logisim-evolution"
SRC_URI="https://github.com/reds-heig/logisim-evolution/archive/v${PV}.tar.gz"
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="java nls"
DEPEND=">=virtual/jdk-1.7"
RDEPEND=">=virtual/jre-1.7 ${DEPEND}"
S="${WORKDIR}/${P}"
src_compile() {
# Remove ALL .class and .jar files
ant cleanall
# Build logisim-evolution.jar
ant jar
}
src_install() {
java-pkg_newjar logisim-evolution.jar ${PN}.jar
java-pkg_dojar logisim-evolution.jar
java-pkg_dolauncher logisim-evolution -jar logisim-evolution.jar
}

View File

@ -1,37 +0,0 @@
EAPI=6
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Digital logic designer and simulator."
HOMEPAGE="https://github.com/reds-heig/logisim-evolution"
#SRC_URI="https://github.com/reds-heig/logisim-evolution/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/reds-heig/logisim-evolution/releases/download/v3.4.1/logisim-evolution-${PV}-all.jar"
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="java nls"
DEPEND=">=dev-java/openjdk-bin-11"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}"
src_unpack() {
mkdir -p ${S}
cp ${DISTDIR}/${A} ${S}/logisim-evolution.jar
}
#src_compile() {
# Remove ALL .class and .jar files
#gradlew shadowJar
# Build logisim-evolution.jar
#gradlew shadowJar
#}
src_install() {
java-pkg_newjar logisim-evolution.jar ${PN}.jar
java-pkg_dojar logisim-evolution.jar
java-pkg_dolauncher logisim-evolution -jar logisim-evolution.jar
}

View File

@ -0,0 +1,40 @@
EAPI=6
inherit eutils java-pkg-2 java-ant-2 desktop
DESCRIPTION="Digital logic designer and simulator."
HOMEPAGE="https://github.com/logisim-evolution/logisim-evolution"
#SRC_URI="https://github.com/logisim-evolution/logisim-evolution/archive/v${PV}.tar.gz"
SRC_URI="https://github.com/logisim-evolution/logisim-evolution/releases/download/v${PV}/logisim-evolution-${PV}-all.jar
https://github.com/logisim-evolution/logisim-evolution/blob/master/artwork/logisim-evolution-icon.svg"
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="java nls"
DEPEND=">=virtual/jre-11:*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}"
src_unpack() {
mkdir -p ${S}
cp ${DISTDIR}/logisim-evolution-${PV}-all.jar ${S}/logisim-evolution.jar
}
#src_compile() {
# Remove ALL .class and .jar files
#gradlew shadowJar
# Build logisim-evolution.jar
#gradlew shadowJar
#}
src_install() {
java-pkg_newjar logisim-evolution.jar ${PN}.jar
java-pkg_dojar logisim-evolution.jar
java-pkg_dolauncher logisim-evolution -jar logisim-evolution.jar
newicon ${DISTDIR}/logisim-evolution-icon.svg ${PN}.svg
make_desktop_entry ${PN} "Logisim Evolution" ${PN} "Science;Electricity;ComputerScience"
}

View File

@ -2,5 +2,5 @@ AUX minipro-0.5-libs.patch 992 BLAKE2B 6bd4dd3cd9865199973c48a6c49c6aac1638b4d40
DIST minipro-0.4.tar.gz 363052 BLAKE2B e6b07c05c1c2841fa862132d598781f3675df61cb41ac447e8dfb9677913126429f4f547afc757f2d32360ddbfc89850f3b234c13b381920d5f726f5fe163dd7 SHA512 cdbcb1a02b475874a32497b9a683a0b4734a16cc75d2b0336a5c5cd26a30b63ca4c115b3cfbe6448a8bb3be95aeb902c79ac256c45789d45abf9e01cda355eda DIST minipro-0.4.tar.gz 363052 BLAKE2B e6b07c05c1c2841fa862132d598781f3675df61cb41ac447e8dfb9677913126429f4f547afc757f2d32360ddbfc89850f3b234c13b381920d5f726f5fe163dd7 SHA512 cdbcb1a02b475874a32497b9a683a0b4734a16cc75d2b0336a5c5cd26a30b63ca4c115b3cfbe6448a8bb3be95aeb902c79ac256c45789d45abf9e01cda355eda
DIST minipro-0.5.tar.gz 388754 BLAKE2B c22110c269405e7b8ff81fd7c649c2b652bc39da84d92cf9a151da71a1c6d4a202baa6ae13a1fb789a04c8e57f3cc9a60403bcef82896320d95e2507c5960f01 SHA512 e2341213bc43ef53b106211d07a488a142083fe4b6dd6ced0f02595164ce2e0e47f6bdc0a6f6c63f19b9b9438c8f5ad173485953d8a29cb39f89272f8e70dc7c DIST minipro-0.5.tar.gz 388754 BLAKE2B c22110c269405e7b8ff81fd7c649c2b652bc39da84d92cf9a151da71a1c6d4a202baa6ae13a1fb789a04c8e57f3cc9a60403bcef82896320d95e2507c5960f01 SHA512 e2341213bc43ef53b106211d07a488a142083fe4b6dd6ced0f02595164ce2e0e47f6bdc0a6f6c63f19b9b9438c8f5ad173485953d8a29cb39f89272f8e70dc7c
EBUILD minipro-0.4.ebuild 549 BLAKE2B d236e820d16f33e6f1cb367bdfc30a29a1501bb715213e80593a2c0790818435616ba85c413b04478c096a66e744b509f4fde1bb856d962c0666dddc4665a729 SHA512 64a93009251f787616072deb0a105a361686f230afb4c474ac6196f60e6616bc00668b409e468b8f0f48eefd5ff23437abca98581825a12f1ccaa97a2aa39a68 EBUILD minipro-0.4.ebuild 549 BLAKE2B d236e820d16f33e6f1cb367bdfc30a29a1501bb715213e80593a2c0790818435616ba85c413b04478c096a66e744b509f4fde1bb856d962c0666dddc4665a729 SHA512 64a93009251f787616072deb0a105a361686f230afb4c474ac6196f60e6616bc00668b409e468b8f0f48eefd5ff23437abca98581825a12f1ccaa97a2aa39a68
EBUILD minipro-0.5.ebuild 676 BLAKE2B 411d89ea4953c35d758fde539b9427d90141adb7f3e31008019cae5b7e5e50d10e5ff5e6ceaae93ce535dd96506ef922f7ef9289dec131a635da60c4e5f92918 SHA512 68d66d2f0227b79bf7bcdc662814a0b1e52e56212c64155e7e92954ec60a8700a666eeef09319f877fe86de4d1b29e71721d3278988fdcf0edab1cb93a2c46fe EBUILD minipro-0.5.ebuild 737 BLAKE2B 9f24d4050fdf81ee9a07dee88fb0014f67ff251edf628f25c04e5cb2eac25b32f30358a348af5a70b88bff310e60f51e8f4dfe1b531b7c2cc233a7976ae58198 SHA512 80bf15aea327274d3178df2279f4c4b0f9a868104390103724961fbdf671a548738eae941313f93a88f247731ba06d3665e65fd24e6ac06e8ab68876d3992bcb
MISC metadata.xml 350 BLAKE2B 6143d2ff48be605a0f5fb240a308ee956bc35c0a997f8b93e869010eef005c79dc08336e56c6217c50ec610904fe605f0bfb919e69cc8868e7138d6243ef7134 SHA512 47ec9f8afd3abb94f64072af8c553812be878740efa313b39853a710aa8d8c821a5c5487c6f8bf510756169eb27d3714531d6a207a0d476f869198531e136624 MISC metadata.xml 350 BLAKE2B 6143d2ff48be605a0f5fb240a308ee956bc35c0a997f8b93e869010eef005c79dc08336e56c6217c50ec610904fe605f0bfb919e69cc8868e7138d6243ef7134 SHA512 47ec9f8afd3abb94f64072af8c553812be878740efa313b39853a710aa8d8c821a5c5487c6f8bf510756169eb27d3714531d6a207a0d476f869198531e136624

View File

@ -26,7 +26,8 @@ src_compile() {
} }
src_install() { src_install() {
emake install DESTDIR="${D}" PREFIX=/usr emake install DESTDIR="${D}" PREFIX=/usr UDEV_DIR=$(get_udevdir)
emake install_library DESTDIR="${D}" PREFIX=/usr emake install_library DESTDIR="${D}" PREFIX=/usr UDEV_DIR=$(get_udevdir)
dobashcomp bash_completion.d/minipro dobashcomp bash_completion.d/minipro
udev_reload
} }

View File

@ -1,6 +1,2 @@
DIST Logic-2.3.30-master.AppImage 138331721 BLAKE2B e914c54c79c49a39a8dc397094ad03d6dcbfca18a7c3eed3003dad19035ce60c9d524c98965230e03c3a0bac9d7ff5ca725cdb33fd193430da3e985e11313597 SHA512 0667363283a3f57056787ff4cc4476037c8331af4e14147b3286a96bb7b013f26abacf79e67ed97ae6e1819c49eb2fe474cfa0319c1b3a0b00d2553aac793c40 DIST Logic-2.3.47-master.AppImage 164173039 BLAKE2B 0051797e17ff5fa3e7cc4cee3df8c8ca806e42e7da10f52b983c452d85cd694a07f4edca9e26d916f2557e8073210fa41b46800cf7e33a0d240c36264e06b6af SHA512 d9cea9b3b6e85a20184a69d30a53ae1865ee300557106c1f0f5dcc4b5d482001e13322b18cc4cba005911a07337200a9ad5dc3df88900bd8418198c9f146363d
DIST Logic-2.3.36-master.AppImage 139955310 BLAKE2B 73dc69c4ccb5cb17fdd6beabfd60b2d5540f3496bb9342c5126ba1e725f96f38e3e793bc027e87c88fb7fc8981e815590ce676f905143ecfac2c3cd3a996e695 SHA512 afa68aa7d9aedbe643ed464a212d883e08dfce08f0787ab891bfc8d6cce488ed60368a9525fb6ba7713f71793350f78d775a7ee986b3bd228504f7e480497c67 EBUILD saleae-logic-bin-2.3.47.ebuild 2950 BLAKE2B d2accffd8faefca110d745bdccba23a915a1cc9813335ed6131bd2d12cbcb93c0b6a7c33aa7e5f1778236ab1c3ec85303198c37970bd4ae2f452ef263029f0ad SHA512 696c1a17c0199df04bbff62cfb63fac5114dbc9d05c72b6cdf74cb6fb3275b8d8208be430c2ac472ef9893f25ac40f9decd28816945350992888c5f519765d1c
DIST Logic-2.3.45-master.AppImage 164131793 BLAKE2B eab1bfbd586b7f2242944a4e1abb6008a28243a73b3ca127a4399eff25e4ace579987f16df820f8414e8460ae9ff55703dbfae49da621357bcfa08b7502546d5 SHA512 f54fad89ccf7f430b085b9bb1a3ae234d2d8b0b7dd93a64f564af9f644990a2ae7d874d89c7f6ec114d1d33fe22e4197e3cb61f183c932adfce379bec2c6e882
EBUILD saleae-logic-bin-2.3.30.ebuild 2792 BLAKE2B 3f2347a6e323e8333049af542c5a74e0717706794b477cf436bfc9d9ada01b21be8ecaba1eb8d0fb2f4cf9f72d782d645b194f10ff9c997797cade48c132b28c SHA512 f5dab7e9f1f9a53bb82b185d452c9ff1445624fed9a7f1655a8dcfd18c122827654cb103749fc551e07544abc96e63f21d8ff02945058dd1ec585191093a46d9
EBUILD saleae-logic-bin-2.3.36.ebuild 2792 BLAKE2B 3f2347a6e323e8333049af542c5a74e0717706794b477cf436bfc9d9ada01b21be8ecaba1eb8d0fb2f4cf9f72d782d645b194f10ff9c997797cade48c132b28c SHA512 f5dab7e9f1f9a53bb82b185d452c9ff1445624fed9a7f1655a8dcfd18c122827654cb103749fc551e07544abc96e63f21d8ff02945058dd1ec585191093a46d9
EBUILD saleae-logic-bin-2.3.45.ebuild 2792 BLAKE2B 3f2347a6e323e8333049af542c5a74e0717706794b477cf436bfc9d9ada01b21be8ecaba1eb8d0fb2f4cf9f72d782d645b194f10ff9c997797cade48c132b28c SHA512 f5dab7e9f1f9a53bb82b185d452c9ff1445624fed9a7f1655a8dcfd18c122827654cb103749fc551e07544abc96e63f21d8ff02945058dd1ec585191093a46d9

View File

@ -1,89 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MULTILIB_COMPAT=( abi_x86_64 )
inherit appimage chromium-2 desktop pax-utils multilib-build xdg
DESCRIPTION="Debug hardware like the pros."
HOMEPAGE="https://www.saleae.com/"
SRC_URI="
amd64? ( https://downloads.saleae.com/logic2/Logic-${PV}-master.AppImage )
"
LICENSE="EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="bindist mirror splitdebug strip"
RDEPEND="
app-accessibility/at-spi2-atk[${MULTILIB_USEDEP}]
app-accessibility/at-spi2-core[${MULTILIB_USEDEP}]
dev-libs/atk[${MULTILIB_USEDEP}]
dev-libs/expat[${MULTILIB_USEDEP}]
dev-libs/glib[${MULTILIB_USEDEP}]
dev-libs/nspr[${MULTILIB_USEDEP}]
dev-libs/nss[${MULTILIB_USEDEP}]
x11-libs/cairo[${MULTILIB_USEDEP}]
x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
x11-libs/pango[${MULTILIB_USEDEP}]
net-print/cups[${MULTILIB_USEDEP}]
|| ( sys-devel/base-gcc[cxx] sys-devel/gcc[cxx] )
sys-apps/dbus[${MULTILIB_USEDEP}]
x11-libs/gtk+[${MULTILIB_USEDEP}]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
x11-libs/libXcursor[${MULTILIB_USEDEP}]
x11-libs/libXdamage[${MULTILIB_USEDEP}]
x11-libs/libXext[${MULTILIB_USEDEP}]
x11-libs/libXfixes[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-libs/libXrender[${MULTILIB_USEDEP}]
x11-libs/libXtst[${MULTILIB_USEDEP}]
media-libs/alsa-lib[${MULTILIB_USEDEP}]
sys-libs/glibc[${MULTILIB_USEDEP}]
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
x11-libs/libxcb[${MULTILIB_USEDEP}]
"
S="${WORKDIR}"
QA_PREBUILT="opt/Saleae/${PN}/Logic opt/Saleae/${PN}/libffmpeg.so opt/Saleae/${PN}/libnode.so"
MY_PN=Logic
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
rm -r ${P}/usr/lib
sed -i 's/^Exec=AppRun/Exec=${MY_PN}/' "${P}/Logic.desktop" \
|| die "Failed to patch desktop file"
default_src_prepare
}
src_install() {
cp -a ${P}/usr "${ED}"
rm -f ${P}/.DirIcon
dodir /opt/Saleae/Logic
find ${P} -type d -exec chmod 755 {} \;
find ${P} -type f -exec chmod 644 {} \;
find ${P} -type f -name "*.so*" -print0 |xargs -0 chmod +x
find ${P}/resources/linux/pythonlibs/bin -type f -print0 |xargs -0 chmod +x
find ${P}/resources/app.asar.unpacked/node_modules/@saleae/graph-interface/bin/linux-x64-76 -type f -print0 |xargs -0 chmod +x
chmod +x ${P}/Logic
cp -a ${P}/* "${ED}"/opt/Saleae/Logic || die "Failed to move directory"
# remove chrome-sandbox binary, users should use kernel namespaces
# https://bugs.gentoo.org/692692#c18
rm "${ED}"/opt/Saleae/Logic/chrome-sandbox || die
dosym ../../opt/Saleae/Logic/Logic /usr/bin/Logic
domenu "${ED}"/opt/Saleae/Logic/Logic.desktop
doicon "${ED}"/opt/Saleae/Logic/Logic.png
}

View File

@ -1,89 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MULTILIB_COMPAT=( abi_x86_64 )
inherit appimage chromium-2 desktop pax-utils multilib-build xdg
DESCRIPTION="Debug hardware like the pros."
HOMEPAGE="https://www.saleae.com/"
SRC_URI="
amd64? ( https://downloads.saleae.com/logic2/Logic-${PV}-master.AppImage )
"
LICENSE="EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="bindist mirror splitdebug strip"
RDEPEND="
app-accessibility/at-spi2-atk[${MULTILIB_USEDEP}]
app-accessibility/at-spi2-core[${MULTILIB_USEDEP}]
dev-libs/atk[${MULTILIB_USEDEP}]
dev-libs/expat[${MULTILIB_USEDEP}]
dev-libs/glib[${MULTILIB_USEDEP}]
dev-libs/nspr[${MULTILIB_USEDEP}]
dev-libs/nss[${MULTILIB_USEDEP}]
x11-libs/cairo[${MULTILIB_USEDEP}]
x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
x11-libs/pango[${MULTILIB_USEDEP}]
net-print/cups[${MULTILIB_USEDEP}]
|| ( sys-devel/base-gcc[cxx] sys-devel/gcc[cxx] )
sys-apps/dbus[${MULTILIB_USEDEP}]
x11-libs/gtk+[${MULTILIB_USEDEP}]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
x11-libs/libXcursor[${MULTILIB_USEDEP}]
x11-libs/libXdamage[${MULTILIB_USEDEP}]
x11-libs/libXext[${MULTILIB_USEDEP}]
x11-libs/libXfixes[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-libs/libXrender[${MULTILIB_USEDEP}]
x11-libs/libXtst[${MULTILIB_USEDEP}]
media-libs/alsa-lib[${MULTILIB_USEDEP}]
sys-libs/glibc[${MULTILIB_USEDEP}]
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
x11-libs/libxcb[${MULTILIB_USEDEP}]
"
S="${WORKDIR}"
QA_PREBUILT="opt/Saleae/${PN}/Logic opt/Saleae/${PN}/libffmpeg.so opt/Saleae/${PN}/libnode.so"
MY_PN=Logic
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
rm -r ${P}/usr/lib
sed -i 's/^Exec=AppRun/Exec=${MY_PN}/' "${P}/Logic.desktop" \
|| die "Failed to patch desktop file"
default_src_prepare
}
src_install() {
cp -a ${P}/usr "${ED}"
rm -f ${P}/.DirIcon
dodir /opt/Saleae/Logic
find ${P} -type d -exec chmod 755 {} \;
find ${P} -type f -exec chmod 644 {} \;
find ${P} -type f -name "*.so*" -print0 |xargs -0 chmod +x
find ${P}/resources/linux/pythonlibs/bin -type f -print0 |xargs -0 chmod +x
find ${P}/resources/app.asar.unpacked/node_modules/@saleae/graph-interface/bin/linux-x64-76 -type f -print0 |xargs -0 chmod +x
chmod +x ${P}/Logic
cp -a ${P}/* "${ED}"/opt/Saleae/Logic || die "Failed to move directory"
# remove chrome-sandbox binary, users should use kernel namespaces
# https://bugs.gentoo.org/692692#c18
rm "${ED}"/opt/Saleae/Logic/chrome-sandbox || die
dosym ../../opt/Saleae/Logic/Logic /usr/bin/Logic
domenu "${ED}"/opt/Saleae/Logic/Logic.desktop
doicon "${ED}"/opt/Saleae/Logic/Logic.png
}

View File

@ -5,7 +5,7 @@ EAPI=7
MULTILIB_COMPAT=( abi_x86_64 ) MULTILIB_COMPAT=( abi_x86_64 )
inherit appimage chromium-2 desktop pax-utils multilib-build xdg inherit appimage chromium-2 desktop pax-utils multilib-build xdg udev
DESCRIPTION="Debug hardware like the pros." DESCRIPTION="Debug hardware like the pros."
HOMEPAGE="https://www.saleae.com/" HOMEPAGE="https://www.saleae.com/"
@ -86,4 +86,7 @@ src_install() {
dosym ../../opt/Saleae/Logic/Logic /usr/bin/Logic dosym ../../opt/Saleae/Logic/Logic /usr/bin/Logic
domenu "${ED}"/opt/Saleae/Logic/Logic.desktop domenu "${ED}"/opt/Saleae/Logic/Logic.desktop
doicon "${ED}"/opt/Saleae/Logic/Logic.png doicon "${ED}"/opt/Saleae/Logic/Logic.png
dodir /etc/udev/rules.d
cat "${ED}"/opt/Saleae/Logic/resources/linux/99-SaleaeLogic.rules > "${ED}"/etc/udev/rules.d/99-SaleaeLogic.rules
udev_reload
} }

View File

@ -0,0 +1,23 @@
# ChangeLog for net-im/skypeforlinux
# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*skypeforlinux-8.13.76.6 (18 Dec 2017)
18 Dec 2017; Mario Fetka <mario@gentoo.org> +skypeforlinux-8.13.76.6.ebuild,
-skypeforlinux-8.13.76.4.ebuild:
Bump
*skypeforlinux-8.13.76.4 (12 Dec 2017)
12 Dec 2017; Mario Fetka <mario@gentoo.org> +skypeforlinux-8.13.76.4.ebuild,
-skypeforlinux-8.12.76.2.ebuild:
Bump
*skypeforlinux-8.11.76.3 (01 Dec 2017)
*skypeforlinux-8.11.76.8 (01 Dec 2017)
*skypeforlinux-8.12.76.2 (01 Dec 2017)
01 Dec 2017; Mario Fetka <mario@gentoo.org> +skypeforlinux-8.11.76.3.ebuild,
+skypeforlinux-8.11.76.8.ebuild, +skypeforlinux-8.12.76.2.ebuild:
bUMP

View File

@ -0,0 +1,5 @@
DIST wavedrom-editor-v2.9.1-linux-x64.tar.gz 129977619 BLAKE2B 51210ff485242b06cb78ed121c3ce78a3a56ece4ff8c80698212d61b1660574b7ba8d7bdf478a4c0d021d3a32ed144f11d661ed6291cda39a79253c14a089062 SHA512 5d627fce56d2cb96a6bcf20b5a749b2f7d7f724bcba599ab95c28c398bf8d85fdb10244a110d2b22cc5dbaf6ccb8ba1f98a97848ceac7189dc1d05167b60398a
DIST wavedrom.png 10639 BLAKE2B 91a91ba1304af8b1c25480b0019c4920b23f7d6751f263437a2006b0ec29f526a8893ec041825f2817f918ae36440de5674362e5dd7b5c830adf00b7a3871b1f SHA512 3f4c4f607d07a45a394fec5b8cc84241cccf36587dc3e334ffdd3d99e7a2d573e51fd18c3523ec538e98011c46763b6c575761ddefe25d2e28e6e370edd885a8
EBUILD wavedrom-2.9.1.ebuild 2339 BLAKE2B 7c719ae94e7a19e46e8dba4be327413228bb8efb02e693fe62b373851acb9d5d9828384651a3c0afce89b2b7215094e75cc6b3fadbfbda07f4bb5140ee71f14b SHA512 0a24a6ce6ba9ca3f2c2d5d5be1a7243553ddb545b91a7af8a12519838d929b56838c9f01328f664bf275b6074a7976867daf94f872fa99f1a156740acb95abb9
MISC ChangeLog 717 BLAKE2B 62e7b63422d35e011a1d799f960e65026d1bca64361d1520e0123c928386be2926e7e1c5ea20e2fcce0f6c930cbcd1d23755ad0adc660256ba01bc4cfe5f483a SHA512 aeef06e239237b851ee67ace8c1fb8b822f5e39a8b90cd3335fa696336b1c68913780ee0f5642001116fa65a2cc54cd125840fb376f0721bf51094d6301f6403
MISC metadata.xml 795 BLAKE2B da666b2ac257898116bb8fcf60bf27947b2261f8f718e6bd9cdf3e2c35e38954659be9499675a425cea0f2a9309fb2ada85b54684651f25463140b7f4e89fde9 SHA512 7c97ba77885e397a00e855ffca0dd1f2aa4e1b9c5780650cac09a729ecf4cce07599179c67b86ace1d7e1cd47eafe3a397e9487b42de56e96a86ffb15947abf9

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>shentino@gmail.com</email>
<name>Raymond Jennings</name>
</maintainer>
<maintainer type="person">
<email>krlgrudzinski@gmail.com</email>
<name>Karol Grudziński</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="pax_kernel">Triggers a paxmarking of the main skype binary</flag>
</use>
<longdescription>Skype is for doing things together, whenever you're apart. Skype's text, voice and video make it simple to share experiences with the people that matter to you, wherever they are.</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,73 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MULTILIB_COMPAT=( abi_x86_64 )
inherit chromium-2 desktop pax-utils multilib-build xdg
DESCRIPTION="Instant messaging client, with support for audio and video"
HOMEPAGE="https://www.skype.com/"
SRC_URI="https://github.com/wavedrom/wavedrom.github.io/releases/download/v${PV}/${PN}-editor-v${PV}-linux-x64.tar.gz
https://windows-cdn.softpedia.com/screenshots/thumbs/WaveDrom-Editor-thumb.png -> ${PN}.png"
S="${WORKDIR}"
LICENSE="Skype-TOS MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
SLOT="0"
KEYWORDS="-* ~amd64"
QA_PREBUILT="*"
RESTRICT="mirror bindist strip" #299368
RDEPEND="
app-crypt/libsecret[${MULTILIB_USEDEP}]
dev-libs/atk[${MULTILIB_USEDEP}]
dev-libs/expat[${MULTILIB_USEDEP}]
dev-libs/glib:2[${MULTILIB_USEDEP}]
dev-libs/nspr[${MULTILIB_USEDEP}]
dev-libs/nss[${MULTILIB_USEDEP}]
media-libs/alsa-lib[${MULTILIB_USEDEP}]
media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
media-libs/freetype:2[${MULTILIB_USEDEP}]
media-libs/libv4l[${MULTILIB_USEDEP}]
net-print/cups[${MULTILIB_USEDEP}]
sys-apps/dbus[${MULTILIB_USEDEP}]
sys-devel/gcc[cxx]
sys-libs/glibc
virtual/ttf-fonts
x11-libs/cairo[${MULTILIB_USEDEP}]
x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
x11-libs/libXcursor[${MULTILIB_USEDEP}]
x11-libs/libXdamage[${MULTILIB_USEDEP}]
x11-libs/libXext[${MULTILIB_USEDEP}]
x11-libs/libXfixes[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-libs/libXrender[${MULTILIB_USEDEP}]
x11-libs/libXtst[${MULTILIB_USEDEP}]
x11-libs/libxcb[${MULTILIB_USEDEP}]
x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
x11-libs/libxkbfile[${MULTILIB_USEDEP}]
x11-libs/pango[${MULTILIB_USEDEP}]"
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_install() {
dodir /opt/bin
mv ${PN}-editor-v${PV}-linux-x64 "${ED}"/opt/${PN} || die
dosym "${ED}"/opt/${PN}/${PN}-editor opt/bin/${PN}
doicon ${DISTDIR}/${PN}.png
make_desktop_entry ${PN} "Wavedrom" ${PN}
pax-mark -m "${ED}"/opt/${PN}/${PN}-editor
}