diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-01-13 18:23:18 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-01-13 18:23:18 +0000 |
commit | fd7e3c22978b7efe4ad7733c6b8b0c51794472b1 (patch) | |
tree | 6c19d9de8f15308b411553efa9b258ea0f49ad15 /media-tv/tvbrowser | |
parent | add missing pkgconfig dep, bug #205674 (diff) | |
download | gentoo-2-fd7e3c22978b7efe4ad7733c6b8b0c51794472b1.tar.gz gentoo-2-fd7e3c22978b7efe4ad7733c6b8b0c51794472b1.tar.bz2 gentoo-2-fd7e3c22978b7efe4ad7733c6b8b0c51794472b1.zip |
version bump; bug 197703
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-tv/tvbrowser')
-rw-r--r-- | media-tv/tvbrowser/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/tvbrowser/files/digest-tvbrowser-2.6.2 | 120 | ||||
-rw-r--r-- | media-tv/tvbrowser/files/tvbrowser-2.6._Localizer.patch | 13 | ||||
-rw-r--r-- | media-tv/tvbrowser/tvbrowser-2.6.2.ebuild | 220 |
4 files changed, 360 insertions, 1 deletions
diff --git a/media-tv/tvbrowser/ChangeLog b/media-tv/tvbrowser/ChangeLog index 307cfda9274a..4b8ae99dba3b 100644 --- a/media-tv/tvbrowser/ChangeLog +++ b/media-tv/tvbrowser/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/tvbrowser # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v 1.23 2008/01/10 22:42:11 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/ChangeLog,v 1.24 2008/01/13 18:23:17 hd_brummy Exp $ + +*tvbrowser-2.6.2 (13 Jan 2008) + + 13 Jan 2008; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/tvbrowser-2.6._Localizer.patch, +tvbrowser-2.6.2.ebuild: + version bump; bug 197703 10 Jan 2008; Vlastimil Babka <caster@gentoo.org> tvbrowser-2.2.1.ebuild, tvbrowser-2.5.ebuild, tvbrowser-2.5-r1.ebuild, tvbrowser-2.5.2.ebuild, diff --git a/media-tv/tvbrowser/files/digest-tvbrowser-2.6.2 b/media-tv/tvbrowser/files/digest-tvbrowser-2.6.2 new file mode 100644 index 000000000000..590bb87b3220 --- /dev/null +++ b/media-tv/tvbrowser/files/digest-tvbrowser-2.6.2 @@ -0,0 +1,120 @@ +MD5 7d14a54b07eb35e4dbbab4d8bb0d9a34 BeOSthemepack.zip 39412 +RMD160 a7c49788b51d979146216f01f1dfd265e280ae7c BeOSthemepack.zip 39412 +SHA256 ec2acb46a77f38a9750ede23ab573b2c2773bedd37fa1ac7bbaa0bdc74982574 BeOSthemepack.zip 39412 +MD5 7e2b4ad72baa2335fc50935e2221ce31 CrystalClear.zip 165844 +RMD160 a4d51169285510725a8a6060e499ea2b1791798a CrystalClear.zip 165844 +SHA256 cc86027cc005c1462fcfc3f7a960d2d8af8b27f279736935a6f6b339f96f32d1 CrystalClear.zip 165844 +MD5 d3ed31d76b764f87c8cddfbe03285cbf amarachthemepack.zip 53700 +RMD160 7bb94ca80f64ef7de07dcefbd322dbdcf8bfbf9c amarachthemepack.zip 53700 +SHA256 80bbe3df2c3e44f26bb390994e271264bcc71ff581527039bf677fa38df4a547 amarachthemepack.zip 53700 +MD5 5ff1b77a775356bbdd89bfe0c1e2aeb4 architectBluethemepack.zip 52161 +RMD160 3f3b66c5038d79925d16c0f3efd6298a7994bb89 architectBluethemepack.zip 52161 +SHA256 4a6cb351ed88e924fb06a35f3e5a7bfbc01013c2464cb8a2edd0f15a9b7bc39b architectBluethemepack.zip 52161 +MD5 8b820fa536da685bd7687b81d5692e0c architectOlivethemepack.zip 52265 +RMD160 06f9acf9b883b2b3331cf1345bb05c5847a8b402 architectOlivethemepack.zip 52265 +SHA256 eafff0696a2db1ee258448689d945d5720faa8e70877f44fb6c8de9847365693 architectOlivethemepack.zip 52265 +MD5 0842f070f06d03b253eecb7b99590c88 b0sumiErgothempack.zip 54621 +RMD160 5a4502c8f55dedee392c44efee682439b838c166 b0sumiErgothempack.zip 54621 +SHA256 fedc7995976f35487a8c7acc2712d993e4a328352494ee8899c58d3ddce885f7 b0sumiErgothempack.zip 54621 +MD5 2b272c6ad748f0a8d2bea2d3b1ee4ad2 b0sumithemepack.zip 53817 +RMD160 597e9068be3c3f9f4c5e4a489e5f28a84174e206 b0sumithemepack.zip 53817 +SHA256 ba28a68ef1627ed44c67370645601d0a53ace6c9ed23ae139159d923d48ebc3f b0sumithemepack.zip 53817 +MD5 ce3575d722304b7b906715f37894a577 blueMetalthemepack.zip 67613 +RMD160 cf619eab797261fa0fff9bdfac7979ff447f1800 blueMetalthemepack.zip 67613 +SHA256 205d44aa6a6035480c2e062c4b6876fa73545c45b513ec7bf1ce033cbc13336a blueMetalthemepack.zip 67613 +MD5 3524b24a82a6c6f55ad9b0423aef64da blueTurquesathemepack.zip 62676 +RMD160 ef99f0a4c24a06622bf6859d625eb4810140ccf6 blueTurquesathemepack.zip 62676 +SHA256 c3764fe15785e2aa63a5bd86f60d9d992fa8a52262cbc366d9b612286cf5abc3 blueTurquesathemepack.zip 62676 +MD5 3ace2d8498d9a0bc99be44fa8f24e912 chaNinja-Bluethemepack.zip 77692 +RMD160 fa49946e4a7b8d61ac40b374c5ca5bdedc392358 chaNinja-Bluethemepack.zip 77692 +SHA256 927bdc98a4cb1b26c5150f40d6e8825f33d34391b6703da8cc14c246dd8e461f chaNinja-Bluethemepack.zip 77692 +MD5 4c2cabd68d0d648a6428c3714d92b59d coronaHthemepack.zip 82406 +RMD160 889f975a118a90d0f396e3740376930a1f9eb9e2 coronaHthemepack.zip 82406 +SHA256 79f1eab6d2c09c66001404bcb562d4db25edddfd142af2763c63fad6e96c775f coronaHthemepack.zip 82406 +MD5 31284ea2ca7ac062fe60240b63a11b24 cougarthemepack.zip 49992 +RMD160 36a51618acc152221dbb50a780bafe4a1c4943b8 cougarthemepack.zip 49992 +SHA256 d3b2b83ab1f149ee6cafe22e5bdb755ce1f46c68be43bdb989d8e9e63102d037 cougarthemepack.zip 49992 +MD5 f8b2ac303db7b0c660128deb92c187db crystal2themepack.zip 58696 +RMD160 56c5cb6f7673ea66823a4935c10a060422348f05 crystal2themepack.zip 58696 +SHA256 1b70750575aceca938f24ea7c25dccf4c899cccf926dda6bb4c1d3d8c10e2451 crystal2themepack.zip 58696 +MD5 2c8c02b1d873c7cbed481297eea33099 fatalEthemepack.zip 57391 +RMD160 2a012155bd5b3b0232d8c5aa330d8ff6f93fe58d fatalEthemepack.zip 57391 +SHA256 c47933c59b6f55a2decea26b69f536c1d841b207d310c468586597af2659a553 fatalEthemepack.zip 57391 +MD5 f8d361a45c7c0437b104cf9fa344995e gfxOasisthemepack.zip 55859 +RMD160 9fcedf67bb6848a3e6a827d9ad70a565af262ef8 gfxOasisthemepack.zip 55859 +SHA256 2b9e71141ede87fee8dbef4858c3e707866ab96a1d070cd1745d54da62bf79d2 gfxOasisthemepack.zip 55859 +MD5 4d6c7a73e427a279a2c2e235b238ee56 gorillathemepack.zip 43281 +RMD160 4334de74ee1151f7bf7962665e66f5223b030211 gorillathemepack.zip 43281 +SHA256 f508880ab9610fde40b187a14844c52f11197e331b98506a536b27733756cc60 gorillathemepack.zip 43281 +MD5 d51eec5eb706ca8a906dd05984e44219 hmmXPBluethemepack.zip 40046 +RMD160 4aee28d711a75cb40437d84086e167251c404370 hmmXPBluethemepack.zip 40046 +SHA256 42c18247445e3d6624b326cee90a81e1977891c8e580b649033a295585a72102 hmmXPBluethemepack.zip 40046 +MD5 7b75d468fbe75d3ddbdab43f68a2a6a3 hmmXPMonoBluethemepack.zip 39815 +RMD160 c626bcd94c508c17104ccf6249ebc77886942785 hmmXPMonoBluethemepack.zip 39815 +SHA256 7886dcc91c0d692c3d80b0016f89724187a8a90e70d59bfb6c64d9506ece77cb hmmXPMonoBluethemepack.zip 39815 +MD5 26fcb3dd4b4f8b83d2fa00edea1dcbe3 iBarthemepack.zip 68829 +RMD160 5fcac4ead3a95418e93a9aeee42ffda824053a26 iBarthemepack.zip 68829 +SHA256 acf46246336007f161dd396cc92ff17927dc45991ffb8a54c24620493ed65b6b iBarthemepack.zip 68829 +MD5 4ac4b4bdf72a12bcd311eebe007ca5bf midnightthemepack.zip 44585 +RMD160 6c0bd8becbb75339aeb0b0d99842e71ac44ca786 midnightthemepack.zip 44585 +SHA256 b3517806229fabcf5872da7acbe3d0878a710e4cee63908423a384bf5b4f8eed midnightthemepack.zip 44585 +MD5 b8b5b7ab7ad3ee080f9799913b5a7158 mmMagra-Xthemepack.zip 76329 +RMD160 be129fd46d4ad951c67006abbe921da3d1bcf96c mmMagra-Xthemepack.zip 76329 +SHA256 e6c4062797568f4a1667974529e17d9c50ebc1a1fbcc826f0f536eaf4919ac34 mmMagra-Xthemepack.zip 76329 +MD5 b2c88d873faf7b3a83eac25c6614b197 noia.zip 174721 +RMD160 1f8fe9182fdd233171f193a853badc39357787cf noia.zip 174721 +SHA256 bd6236c8c8cb7c38d667904130417927a154c4201b5373b65260466083fb7a7d noia.zip 174721 +MD5 8441a0655854fbc735b23ae1214ce54f nuvola.zip 286612 +RMD160 6cd196f85faeaf859815ff756b3b79d448aa7b27 nuvola.zip 286612 +SHA256 8ac40d72387663961062d09dbc749f2b2a865aebca8243bf94cb8d5101e9e894 nuvola.zip 286612 +MD5 b739bcc0d85c6310196ec7876d0f2e26 oliveGreenLunaXPthemepack.zip 62509 +RMD160 ab7472e3e5de7656805c2b72cf71148e47969856 oliveGreenLunaXPthemepack.zip 62509 +SHA256 bd71c50b464a5778a3af4c7c0eec18d6917b378a960b1ba7d31dfa272d13ab49 oliveGreenLunaXPthemepack.zip 62509 +MD5 915cb8961fe54c36c3bab028bcf45c69 opusLunaSilverthemepack.zip 55716 +RMD160 58f0d70878800a92829bf5efd738b3c75ba958bd opusLunaSilverthemepack.zip 55716 +SHA256 c1e1e77e1f9bc328a5b472c522fc3c3daf69e6e86ced280cda57283a065f1bdc opusLunaSilverthemepack.zip 55716 +MD5 64933b256a5bf9059d44c058ea3e3baa opusOSBluethemepack.zip 56227 +RMD160 1b99fe1a829b736c00120920f9159f2880aab33b opusOSBluethemepack.zip 56227 +SHA256 bea825716bfb76959a33607b4e7894a5ac1b09a0ca2e505e8441ba892f5fefcf opusOSBluethemepack.zip 56227 +MD5 297fd45543f9c2325ae44ab0853272ee opusOSDeepthemepack.zip 56418 +RMD160 1a6ab02da4df15f6641671b35353757287a9598f opusOSDeepthemepack.zip 56418 +SHA256 527ad7ae50992b2dbb52217658c03cb855451dd7731b0b71bbc16eabd0a503df opusOSDeepthemepack.zip 56418 +MD5 aed56a4aa0bacec58c2595423c8bbc4f opusOSOlivethemepack.zip 55758 +RMD160 9dec9b1c4882b47e42c2a1dc278c41b76c0a01cf opusOSOlivethemepack.zip 55758 +SHA256 a1d9e1ef4f0047151a7966eb19b2b0721ccbe5cc31de378b0081ac787b348e92 opusOSOlivethemepack.zip 55758 +MD5 9662238c943322d3fe5c06139c2d8aaa quickSilverRthemepack.zip 75812 +RMD160 99783201e3d9280517ae5cd8f0e3de7282f6372f quickSilverRthemepack.zip 75812 +SHA256 4e6c4597a56d4a75daf17b94717792ea0e3ad4eeeb0f3c6fc154c80d38ae7a4e quickSilverRthemepack.zip 75812 +MD5 b651dbfffd0def96ca8e06cd6b809856 roueBluethemepack.zip 48959 +RMD160 0975d183f65923e5003b3d6c00fc4fed30caa8b5 roueBluethemepack.zip 48959 +SHA256 9514431ae6a4ecf8ad6621b00ff01b583a46efe570c4309e13c26750fa4e0035 roueBluethemepack.zip 48959 +MD5 2b6991865014f93d4b4552a183fb4905 roueBrownthemepack.zip 49043 +RMD160 b1de91f96fa48299d0cbf604448e60ef8426e778 roueBrownthemepack.zip 49043 +SHA256 f6c02ae51aa197cc43db9a1854da54e24efdb590c254a259cc1844ce1a0ead79 roueBrownthemepack.zip 49043 +MD5 7088149a06ce61d7f7632e94ad3b0f10 roueGreenthemepack.zip 48957 +RMD160 6b379c243d963fbf9dbcfc07e0b3ab3debb7dc24 roueGreenthemepack.zip 48957 +SHA256 87402bf8f7b508e6be51bf0305a9ad3bcdc5e3c311149bb2db2d66b3c19782e8 roueGreenthemepack.zip 48957 +MD5 b5ada8cf3469fb27c9dbf03203cc5fc3 royalInspiratthemepack.zip 50579 +RMD160 d1ef2311810a052e8e26761cef01fcd84b67614f royalInspiratthemepack.zip 50579 +SHA256 fcc9bdb217c78d22fed169e8c3686a652afeff8b46a845832709bea13270eb02 royalInspiratthemepack.zip 50579 +MD5 a1284c88bd6e481fc3a58e2cdbaca666 silverLunaXPthemepack.zip 54618 +RMD160 fc2327afc30c4078f962985d3597799680664d9e silverLunaXPthemepack.zip 54618 +SHA256 f53cfa989a023b28337a7794956746de2aae81ab43784360db18b73c29197d52 silverLunaXPthemepack.zip 54618 +MD5 7a3bd68d54c2543fae35db85291841ed solunaRthemepack.zip 59579 +RMD160 4003979473972e3458c2f97bacddf39c060e2927 solunaRthemepack.zip 59579 +SHA256 49a561c657223de888dd390c2011edb1fac1dc6a95543ffc41f70c0fe015a9d8 solunaRthemepack.zip 59579 +MD5 e32f42adbac874514aa1cd254b39b3f1 tigerGraphitethemepack.zip 75611 +RMD160 f08763851e3d8fbd98faec03155e99c9ace01b09 tigerGraphitethemepack.zip 75611 +SHA256 94d2b4978686158a421122dec73b385725b21408c0941984b6f37677c965fb35 tigerGraphitethemepack.zip 75611 +MD5 6b65ea39406a71d56355fd8644bacc89 tigerthemepack.zip 77856 +RMD160 8b47754c9dcb64eb3912bdbe8fbf29ea64a60b0f tigerthemepack.zip 77856 +SHA256 55002367d55ffe7953e5e059d9357ce6d9111bbba303532b91263ca7ec69dbf5 tigerthemepack.zip 77856 +MD5 29e843727a02c6ce96938a5a08e5e08e tulliana.zip 258520 +RMD160 98841d289b24cd2f3ab9723970366608bcb61706 tulliana.zip 258520 +SHA256 d9a7670c3933757f58bc6913433b6f00e984c0cbff17eaf59076d951ac195a88 tulliana.zip 258520 +MD5 6e2b35caacdb14192f548ceb93df4eeb tvbrowser-2.6.2-src.zip 9759998 +RMD160 8ce02b6d8152213beec39f7f256abc7ea0a738ca tvbrowser-2.6.2-src.zip 9759998 +SHA256 17cf38061c01ad1343578a7991e6dad19f7528927fbed2c8ee954b26d80e41e8 tvbrowser-2.6.2-src.zip 9759998 +MD5 27ce992065b04d1fa3726f0d0bf53354 underlingthemepack.zip 59786 +RMD160 7cbc1da5cf5e37c9fe535d6cb369ea3036c79c5e underlingthemepack.zip 59786 +SHA256 67dfd8757162dce375e02c250403a7184b64fbd1c1eb754a11373467ff96eb44 underlingthemepack.zip 59786 diff --git a/media-tv/tvbrowser/files/tvbrowser-2.6._Localizer.patch b/media-tv/tvbrowser/files/tvbrowser-2.6._Localizer.patch new file mode 100644 index 000000000000..69f461079531 --- /dev/null +++ b/media-tv/tvbrowser/files/tvbrowser-2.6._Localizer.patch @@ -0,0 +1,13 @@ +diff -rup tvbrowser-2.6.2-orig/src/util/ui/Localizer.java tvbrowser-2.6.2/src/util/ui/Localizer.java +--- tvbrowser-2.6.2-orig/src/util/ui/Localizer.java 2007-12-27 00:01:34.000000000 +0100 ++++ tvbrowser-2.6.2/src/util/ui/Localizer.java 2007-12-27 19:11:54.000000000 +0100 +@@ -364,7 +364,7 @@ public class Localizer { + langArray.add(Locale.ENGLISH); + + try { +- File jar = new File("tvbrowser.jar"); ++ File jar = new File("lib/tvbrowser.jar"); + + if (!jar.exists()) { + URL url = getClass().getProtectionDomain().getCodeSource().getLocation(); + diff --git a/media-tv/tvbrowser/tvbrowser-2.6.2.ebuild b/media-tv/tvbrowser/tvbrowser-2.6.2.ebuild new file mode 100644 index 000000000000..139356dc0636 --- /dev/null +++ b/media-tv/tvbrowser/tvbrowser-2.6.2.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvbrowser/tvbrowser-2.6.2.ebuild,v 1.1 2008/01/13 18:23:17 hd_brummy Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 autotools flag-o-matic + +DESCRIPTION="Themeable and easy to use TV Guide - written in Java" +HOMEPAGE="http://www.tvbrowser.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip +themes? ( +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/midnightthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueBrownthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueBluethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/roueGreenthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/blueTurquesathemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/gorillathemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/BeOSthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/crystal2themepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSDeepthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/chaNinja-Bluethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/amarachthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/quickSilverRthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/gfxOasisthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/underlingthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/coronaHthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/cougarthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/royalInspiratthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/tigerthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/mmMagra-Xthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/iBarthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/solunaRthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/fatalEthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/blueMetalthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/b0sumithemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/b0sumiErgothempack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/oliveGreenLunaXPthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/silverLunaXPthemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/architectBluethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/architectOlivethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/hmmXPBluethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/hmmXPMonoBluethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/tigerGraphitethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSBluethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusOSOlivethemepack.zip +http://javootoo.l2fprod.com/plaf/skinlf/t-packs/themepacks/opusLunaSilverthemepack.zip +http://www.tvbrowser.org/downloads/CrystalClear.zip +http://www.tvbrowser.org/downloads/noia.zip +http://www.tvbrowser.org/downloads/nuvola.zip +http://www.tvbrowser.org/downloads/tulliana.zip +)" + +SLOT="0" +KEYWORDS="~x86 ~amd64" + +# missing dependencies commons-compress, TVAnytimeAPI, jRegistryKey , gdata-calendar, gdata-client and jcom +# use local jar files + +RDEPEND=">=virtual/jre-1.5 + x11-libs/libXt + x11-libs/libSM + x11-libs/libICE + x11-libs/libXext + x11-libs/libXtst + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + dev-java/junit + dev-java/commons-net + >=dev-java/jgoodies-forms-1.1.0 + >=dev-java/jgoodies-looks-2.0 + dev-java/bsh + dev-java/l2fprod-common + >=dev-java/jakarta-oro-2.0 + >=dev-java/poi-2.5.1 + >=dev-java/xerces-2.8" + +DEPEND=">=virtual/jdk-1.5 + ${RDEPEND} + app-arch/unzip + source? ( app-arch/zip )" + +LICENSE="GPL-2" + +IUSE="doc themes source" + +src_unpack() { + unpack ${P}-src.zip + + cd "${S}" + epatch "${FILESDIR}"/tvbrowser-2.5-makefiles.patch + + # fix bug #170363 + epatch "${FILESDIR}/tvbrowser-2.6_Localizer.patch" + + local J_ARCH + case "${ARCH}" in + x86) J_ARCH=i386 ;; + amd64) J_ARCH=amd64 ;; + *) die "not supported arch for this ebuild" ;; + esac + + sed -i "${S}"/deployment/x11/src/Makefile.am \ + -e "s:/lib/i386/:/lib/${J_ARCH}/:" + + cd "${S}/tvdatakit/workspace/lib" + rm -v *.jar || die + + java-pkg_jar-from poi + java-pkg_jar-from xerces-2 + + cd "${S}"/lib + rm -v junit.jar commons-net-1.4.1.jar forms-1.1.0.jar looks-2.1.4.jar \ + bsh-2.0b4.jar l2fprod-common-tasks.jar jakarta-oro-2.0.8.jar + + java-pkg_jar-from junit + java-pkg_jar-from commons-net commons-net.jar commons-net-1.4.1.jar + java-pkg_jar-from jgoodies-forms forms.jar forms-1.1.0.jar + java-pkg_jar-from jgoodies-looks-2.0 looks.jar looks-2.1.4.jar + java-pkg_jar-from bsh bsh.jar bsh-2.0b4.jar + java-pkg_jar-from l2fprod-common l2fprod-common-tasks.jar + java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar jakarta-oro-2.0.8.jar + + # themepacks don't work with system skinlf + #java-pkg_jarfrom skinlf + + # Fails to create javadocs without this + mkdir "${S}/public" + + # fix bug #170364 + cd "${S}/deployment/x11" + chmod u+x configure + rm src/libDesktopIndicator.so + + # converting to unix line-endings + edos2unix missing depcomp + + eautoreconf +} + +src_compile() { + eant runtime-linux $(use_doc public-doc) + + # second part: DesktopIndicator + cd "${S}/deployment/x11" + + append-flags -fPIC + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + use source && java-pkg_dosrc src/* + use doc && java-pkg_dojavadoc doc + cd runtime/${PN}_linux || die + + java-pkg_dojar ${PN}.jar + + local todir="${JAVA_PKG_SHAREPATH}" + + cp -a imgs "${D}/${todir}" || die + cp -a icons "${D}/${todir}" || die + cp -a plugins "${D}/${todir}" || die + cp linux.properties "${D}/${todir}" || die + + insinto "${todir}/themepacks" + doins themepacks/themepack.zip || die + + if use themes; then + cd "${DISTDIR}" + doins midnightthemepack.zip \ + roueBrownthemepack.zip \ + roueBluethemepack.zip \ + roueGreenthemepack.zip \ + blueTurquesathemepack.zip \ + gorillathemepack.zip \ + BeOSthemepack.zip \ + crystal2themepack.zip \ + opusOSDeepthemepack.zip \ + chaNinja-Bluethemepack.zip \ + amarachthemepack.zip \ + quickSilverRthemepack.zip \ + gfxOasisthemepack.zip \ + underlingthemepack.zip \ + coronaHthemepack.zip \ + cougarthemepack.zip \ + royalInspiratthemepack.zip \ + tigerthemepack.zip \ + mmMagra-Xthemepack.zip \ + iBarthemepack.zip \ + solunaRthemepack.zip \ + fatalEthemepack.zip \ + blueMetalthemepack.zip \ + b0sumithemepack.zip \ + b0sumiErgothempack.zip \ + oliveGreenLunaXPthemepack.zip \ + silverLunaXPthemepack.zip \ + architectBluethemepack.zip \ + architectOlivethemepack.zip \ + hmmXPBluethemepack.zip \ + hmmXPMonoBluethemepack.zip \ + tigerGraphitethemepack.zip \ + opusOSBluethemepack.zip \ + opusOSOlivethemepack.zip \ + opusLunaSilverthemepack.zip || die + insinto "${todir}/icons" + doins CrystalClear.zip noia.zip nuvola.zip tulliana.zip || die + fi + + java-pkg_doso "${S}/deployment/x11/src/libDesktopIndicator.so" + + java-pkg_dolauncher "tvbrowser" \ + --jar ${todir}/lib/tvbrowser.jar \ + --pwd ${todir} \ + --java_args " -Dpropertiesfile=${todir}/linux.properties" + + make_desktop_entry ${PN} "TV Browser" /usr/share/tvbrowser/imgs/tvbrowser128.png +} + |