From: Matti Bickel Date: Tue, 5 Dec 2006 22:56:57 +0000 (+0000) Subject: WANT_FOX added and version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3478432cb1fd5d6870cf1e44a148e2cebad39e68;p=gentoo.git WANT_FOX added and version bump Package-Manager: portage-2.1.1-r2 --- diff --git a/media-video/goggles/ChangeLog b/media-video/goggles/ChangeLog index f3fdeabc204f..d8a0cbed5a68 100644 --- a/media-video/goggles/ChangeLog +++ b/media-video/goggles/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for media-video/goggles # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/goggles/ChangeLog,v 1.11 2006/07/23 14:14:47 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/goggles/ChangeLog,v 1.12 2006/12/05 22:56:57 mabi Exp $ + +*goggles-0.9.1 (05 Dec 2006) +*goggles-0.8.0-r2 (05 Dec 2006) +*goggles-0.7.10-r1 (05 Dec 2006) +*goggles-0.7.4-r2 (05 Dec 2006) + + 05 Dec 2006; Matti Bickel +goggles-0.7.4-r2.ebuild, + +goggles-0.7.10-r1.ebuild, +goggles-0.8.0-r2.ebuild, + +goggles-0.9.1.ebuild: + Set WANT_FOX for all goggles version (bug #157034), version bump (bug + #141689), thanks to Martin von Gagern for providing the updated ebuild 23 Jul 2006; Tobias Scherbaum goggles-0.7.10.ebuild: diff --git a/media-video/goggles/Manifest b/media-video/goggles/Manifest index e44d4a8a39d3..41b1fddc8c10 100644 --- a/media-video/goggles/Manifest +++ b/media-video/goggles/Manifest @@ -1,10 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX goggles-0.7.4-gentoo.patch 874 RMD160 432d58f318d80035d764f4248fab172da2bf07f0 SHA1 6149940a878ee8a96a8f9c28b55ec23c242fe116 SHA256 d5b2fa8a1eb51526560f864eba2475f77bf789ba13753956d41d4cdead356583 MD5 5f4a7441d17566f5347a2e65d589e863 files/goggles-0.7.4-gentoo.patch 874 RMD160 432d58f318d80035d764f4248fab172da2bf07f0 files/goggles-0.7.4-gentoo.patch 874 SHA256 d5b2fa8a1eb51526560f864eba2475f77bf789ba13753956d41d4cdead356583 files/goggles-0.7.4-gentoo.patch 874 DIST goggles-0.7.10.tar.bz2 711627 RMD160 f0413d5790bf92b5b7e9fefd31172a953c9012c3 SHA1 51dfdd8ad7c8812eb4418ecdf9a3add3c55fe111 SHA256 258f636966ecdaacfdeb773282334b9f39a342fab21f9c212f31f5ae832f6b5e -DIST goggles-0.7.4.tar.bz2 704793 -DIST goggles-0.8.0.tar.bz2 490077 +DIST goggles-0.7.4.tar.bz2 704793 RMD160 0961186216d906d421105d1f5e6edb8ab44595af SHA1 eca58c19bfb3c75d8b51abf81deea3bc2a68c3d3 SHA256 be984d5c75815f511871a743c17989f56fbbd58fefeb1f4e95069f14aa61d80a +DIST goggles-0.8.0.tar.bz2 490077 RMD160 d258ca8ac30b67468b6c5db9ff44588739e04525 SHA1 a677d141c2026038819255109d21b3c3f4264a5d SHA256 1d4c15c4020cae30a004ccad4bbe3074553114dfc0d245b87b5d46448853068d +DIST goggles-0.9.1.tar.bz2 486290 RMD160 6a15a365b1b4bfaba1b6d294d2e7379b4f0fb560 SHA1 2e464e1bcf699a18f6190f5571877356388c778a SHA256 d2c14b9bd6c547021f3d77e998d673510a48051ee39417a858380cb17a000d1a +EBUILD goggles-0.7.10-r1.ebuild 1336 RMD160 c65be9dc9c59abd363ff1f16d5ff14dd862723ad SHA1 2cefcbac3a86b9fc9212379a38fc04144e871a85 SHA256 a69eab0aff9050ee20a44a3fed1e1a5a18197335de33834c82d17e2824538f48 +MD5 808fa8b706d0a836e8abc2278b75d487 goggles-0.7.10-r1.ebuild 1336 +RMD160 c65be9dc9c59abd363ff1f16d5ff14dd862723ad goggles-0.7.10-r1.ebuild 1336 +SHA256 a69eab0aff9050ee20a44a3fed1e1a5a18197335de33834c82d17e2824538f48 goggles-0.7.10-r1.ebuild 1336 EBUILD goggles-0.7.10.ebuild 1312 RMD160 c6de7e0f4715f1fdeaa78e5c4e5739ec38c4bd2f SHA1 51d71db5c7453ef392ee611fe1e6e2c38f5ab7b7 SHA256 dfffbe2b90ff040e6650f3526abbcd4adb03dfef11939fcfe7b69a625ca787f5 MD5 eba61a34fe2d0e73e0725de2ee1a411b goggles-0.7.10.ebuild 1312 RMD160 c6de7e0f4715f1fdeaa78e5c4e5739ec38c4bd2f goggles-0.7.10.ebuild 1312 @@ -13,14 +21,26 @@ EBUILD goggles-0.7.4-r1.ebuild 1223 RMD160 6a1a83265db7dfbacad7b348d8f0771fa95d0 MD5 d3a4338b6b4a7b4ea48e84aea30c60af goggles-0.7.4-r1.ebuild 1223 RMD160 6a1a83265db7dfbacad7b348d8f0771fa95d0b52 goggles-0.7.4-r1.ebuild 1223 SHA256 4fc80236dceccaf3fa9342e8f51e90fd00a6e88f8f73f115429644b877962248 goggles-0.7.4-r1.ebuild 1223 +EBUILD goggles-0.7.4-r2.ebuild 1243 RMD160 52d739744656b067f9c9ce2b0cfbf7a8e09a06a1 SHA1 7ac3f6a8f37c99f2280e701a590a65c841665512 SHA256 266bbe5bc8e30324c95e363dc88c81700248b81c9bc1d60d30885cb810474daa +MD5 9108cd705053aca49835aee2c7007993 goggles-0.7.4-r2.ebuild 1243 +RMD160 52d739744656b067f9c9ce2b0cfbf7a8e09a06a1 goggles-0.7.4-r2.ebuild 1243 +SHA256 266bbe5bc8e30324c95e363dc88c81700248b81c9bc1d60d30885cb810474daa goggles-0.7.4-r2.ebuild 1243 EBUILD goggles-0.8.0-r1.ebuild 1308 RMD160 3d921dc687fb2d481cfe09e081f4e18c2bd56a8f SHA1 fa14247b683ab0ac8d0813d32cc5c09a96258ac2 SHA256 156c69bab6f0c800e270f4793d8bd6a66dce1291c3d4c1a56611f593f9a80701 MD5 b2e738143bdaea6b7dde8327ab5f01bf goggles-0.8.0-r1.ebuild 1308 RMD160 3d921dc687fb2d481cfe09e081f4e18c2bd56a8f goggles-0.8.0-r1.ebuild 1308 SHA256 156c69bab6f0c800e270f4793d8bd6a66dce1291c3d4c1a56611f593f9a80701 goggles-0.8.0-r1.ebuild 1308 -MISC ChangeLog 1794 RMD160 7c3832e557396fa0ab9dc52a99acba5910f66f34 SHA1 472a4206d890f742d9d259bd19c7469ec4fa324c SHA256 aa0bc80ce74b83db903bad00a3e6052099b88ea4738bcbffa7961f21b09e5d7d -MD5 458bcb903721dcb425495f074f02166e ChangeLog 1794 -RMD160 7c3832e557396fa0ab9dc52a99acba5910f66f34 ChangeLog 1794 -SHA256 aa0bc80ce74b83db903bad00a3e6052099b88ea4738bcbffa7961f21b09e5d7d ChangeLog 1794 +EBUILD goggles-0.8.0-r2.ebuild 1327 RMD160 e10cfbcab624889b4aab028bfda20192bd43c795 SHA1 9f841cfcc1e004302c89bb503e98ad55f470446d SHA256 ea97ab6af16aaa11f2a1f8b845da9b689497c51d70fa13c6e82e945b3b5f15fe +MD5 ae798b9511ab3f671a0af805122a48a9 goggles-0.8.0-r2.ebuild 1327 +RMD160 e10cfbcab624889b4aab028bfda20192bd43c795 goggles-0.8.0-r2.ebuild 1327 +SHA256 ea97ab6af16aaa11f2a1f8b845da9b689497c51d70fa13c6e82e945b3b5f15fe goggles-0.8.0-r2.ebuild 1327 +EBUILD goggles-0.9.1.ebuild 1833 RMD160 3ef8c9ee47e223e4756187c334a13b70c43de42e SHA1 1e2fea0acc8c25d61e50a68e286f66d82acc2c9f SHA256 8e5fa4422a553713df5f81c70504639323c47d9fb6603fab222a0e73b4a42635 +MD5 cdb47ab743d6b8fe4f64376150aea697 goggles-0.9.1.ebuild 1833 +RMD160 3ef8c9ee47e223e4756187c334a13b70c43de42e goggles-0.9.1.ebuild 1833 +SHA256 8e5fa4422a553713df5f81c70504639323c47d9fb6603fab222a0e73b4a42635 goggles-0.9.1.ebuild 1833 +MISC ChangeLog 2213 RMD160 e98526aeaa6b510a34a8c564c0145b2d39271195 SHA1 3dcf788ac0cae87a7b71544ff875a72ea4f6739a SHA256 b1a448062dbe308d28063676fe6ad6c15a527a957f405eb852cb8edfb0b22aa8 +MD5 f52f31c844bd6caca3858424f5c9917e ChangeLog 2213 +RMD160 e98526aeaa6b510a34a8c564c0145b2d39271195 ChangeLog 2213 +SHA256 b1a448062dbe308d28063676fe6ad6c15a527a957f405eb852cb8edfb0b22aa8 ChangeLog 2213 MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 MD5 0338bfb24d7bfb6450aac4dd025c0096 metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 metadata.xml 223 @@ -28,9 +48,28 @@ SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 metadata MD5 edb78d45e44e474a6e65915287dc5fc5 files/digest-goggles-0.7.10 247 RMD160 139b75cf2d691a34d698720d81121a793dc1398e files/digest-goggles-0.7.10 247 SHA256 59c6ce9de7852f3383ef6839a2b0f2aa07dbecc8b7f7a953fde8a1a90fdc53b1 files/digest-goggles-0.7.10 247 -MD5 24eefdf711e3a7ce5e095b5b989741b8 files/digest-goggles-0.7.4-r1 66 -RMD160 82387023c759fae72a5686cb8970b2bb06a79636 files/digest-goggles-0.7.4-r1 66 -SHA256 58e8d1224810e1a8692ea375e23447934c14bfd85ef41eca79f91d66c5340078 files/digest-goggles-0.7.4-r1 66 -MD5 564d5b86d27c7e0186d0f3f91a1ea6e8 files/digest-goggles-0.8.0-r1 66 -RMD160 8fc9c5df2a6ab0080180e7bc8b51f74f1ed1bd9a files/digest-goggles-0.8.0-r1 66 -SHA256 bf924508b0a2a17f662c794a1b14cbea5dbc8bb5b081ed0026a8d740eb31c88b files/digest-goggles-0.8.0-r1 66 +MD5 edb78d45e44e474a6e65915287dc5fc5 files/digest-goggles-0.7.10-r1 247 +RMD160 139b75cf2d691a34d698720d81121a793dc1398e files/digest-goggles-0.7.10-r1 247 +SHA256 59c6ce9de7852f3383ef6839a2b0f2aa07dbecc8b7f7a953fde8a1a90fdc53b1 files/digest-goggles-0.7.10-r1 247 +MD5 4bf0792b1d0a4d610d01fc965ed4b880 files/digest-goggles-0.7.4-r1 244 +RMD160 66a4879416e0871c5d39b0670ca524bc2b2d3273 files/digest-goggles-0.7.4-r1 244 +SHA256 66dedffefe2254b83ccd91c06cca648309194c657854e58e4b4a523f96ab77d3 files/digest-goggles-0.7.4-r1 244 +MD5 4bf0792b1d0a4d610d01fc965ed4b880 files/digest-goggles-0.7.4-r2 244 +RMD160 66a4879416e0871c5d39b0670ca524bc2b2d3273 files/digest-goggles-0.7.4-r2 244 +SHA256 66dedffefe2254b83ccd91c06cca648309194c657854e58e4b4a523f96ab77d3 files/digest-goggles-0.7.4-r2 244 +MD5 b47e0ca928b0327bbd3105a4cf7f3344 files/digest-goggles-0.8.0-r1 244 +RMD160 d2b92c1b8cc02d911cbe51e7efdb23288b842e12 files/digest-goggles-0.8.0-r1 244 +SHA256 847f0f2a71a02c2c1244fc74018dc400509193c0af76cbb3d023d0fd5dfd1e11 files/digest-goggles-0.8.0-r1 244 +MD5 b47e0ca928b0327bbd3105a4cf7f3344 files/digest-goggles-0.8.0-r2 244 +RMD160 d2b92c1b8cc02d911cbe51e7efdb23288b842e12 files/digest-goggles-0.8.0-r2 244 +SHA256 847f0f2a71a02c2c1244fc74018dc400509193c0af76cbb3d023d0fd5dfd1e11 files/digest-goggles-0.8.0-r2 244 +MD5 89f1a5f7ecbb5ba7cfbbe1c0e7c85aba files/digest-goggles-0.9.1 244 +RMD160 f3140401882f88c8a45c6446399bd45f1f91e4d0 files/digest-goggles-0.9.1 244 +SHA256 e20e5565062a5d47550cec2fa65ce5ec178b4ac4bbf0863ca7cf0923ced6ffca files/digest-goggles-0.9.1 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFdfmZfNMcoUhJ7GwRAqp5AJ4mATokysN3MrFNHYL0P6WtEMyG/ACeKMg6 +uPGjapQwMm0LLdIVKo83McI= +=KSbb +-----END PGP SIGNATURE----- diff --git a/media-video/goggles/files/digest-goggles-0.7.10-r1 b/media-video/goggles/files/digest-goggles-0.7.10-r1 new file mode 100644 index 000000000000..a6b01f36e767 --- /dev/null +++ b/media-video/goggles/files/digest-goggles-0.7.10-r1 @@ -0,0 +1,3 @@ +MD5 6803b6ea4840fa7a93844c1c2181a133 goggles-0.7.10.tar.bz2 711627 +RMD160 f0413d5790bf92b5b7e9fefd31172a953c9012c3 goggles-0.7.10.tar.bz2 711627 +SHA256 258f636966ecdaacfdeb773282334b9f39a342fab21f9c212f31f5ae832f6b5e goggles-0.7.10.tar.bz2 711627 diff --git a/media-video/goggles/files/digest-goggles-0.7.4-r1 b/media-video/goggles/files/digest-goggles-0.7.4-r1 index a1aedb64e22e..543e1e51714f 100644 --- a/media-video/goggles/files/digest-goggles-0.7.4-r1 +++ b/media-video/goggles/files/digest-goggles-0.7.4-r1 @@ -1 +1,3 @@ MD5 d0ef875a6559829ba131bfc0d3b2bfdf goggles-0.7.4.tar.bz2 704793 +RMD160 0961186216d906d421105d1f5e6edb8ab44595af goggles-0.7.4.tar.bz2 704793 +SHA256 be984d5c75815f511871a743c17989f56fbbd58fefeb1f4e95069f14aa61d80a goggles-0.7.4.tar.bz2 704793 diff --git a/media-video/goggles/files/digest-goggles-0.7.4-r2 b/media-video/goggles/files/digest-goggles-0.7.4-r2 new file mode 100644 index 000000000000..543e1e51714f --- /dev/null +++ b/media-video/goggles/files/digest-goggles-0.7.4-r2 @@ -0,0 +1,3 @@ +MD5 d0ef875a6559829ba131bfc0d3b2bfdf goggles-0.7.4.tar.bz2 704793 +RMD160 0961186216d906d421105d1f5e6edb8ab44595af goggles-0.7.4.tar.bz2 704793 +SHA256 be984d5c75815f511871a743c17989f56fbbd58fefeb1f4e95069f14aa61d80a goggles-0.7.4.tar.bz2 704793 diff --git a/media-video/goggles/files/digest-goggles-0.8.0-r1 b/media-video/goggles/files/digest-goggles-0.8.0-r1 index d33ad4bbec58..d326af308070 100644 --- a/media-video/goggles/files/digest-goggles-0.8.0-r1 +++ b/media-video/goggles/files/digest-goggles-0.8.0-r1 @@ -1 +1,3 @@ MD5 3f459949fd05a3010a7a0752f403bdbe goggles-0.8.0.tar.bz2 490077 +RMD160 d258ca8ac30b67468b6c5db9ff44588739e04525 goggles-0.8.0.tar.bz2 490077 +SHA256 1d4c15c4020cae30a004ccad4bbe3074553114dfc0d245b87b5d46448853068d goggles-0.8.0.tar.bz2 490077 diff --git a/media-video/goggles/files/digest-goggles-0.8.0-r2 b/media-video/goggles/files/digest-goggles-0.8.0-r2 new file mode 100644 index 000000000000..d326af308070 --- /dev/null +++ b/media-video/goggles/files/digest-goggles-0.8.0-r2 @@ -0,0 +1,3 @@ +MD5 3f459949fd05a3010a7a0752f403bdbe goggles-0.8.0.tar.bz2 490077 +RMD160 d258ca8ac30b67468b6c5db9ff44588739e04525 goggles-0.8.0.tar.bz2 490077 +SHA256 1d4c15c4020cae30a004ccad4bbe3074553114dfc0d245b87b5d46448853068d goggles-0.8.0.tar.bz2 490077 diff --git a/media-video/goggles/files/digest-goggles-0.9.1 b/media-video/goggles/files/digest-goggles-0.9.1 new file mode 100644 index 000000000000..bfc57c357353 --- /dev/null +++ b/media-video/goggles/files/digest-goggles-0.9.1 @@ -0,0 +1,3 @@ +MD5 f907442fd382c6331d1181e257c8b882 goggles-0.9.1.tar.bz2 486290 +RMD160 6a15a365b1b4bfaba1b6d294d2e7379b4f0fb560 goggles-0.9.1.tar.bz2 486290 +SHA256 d2c14b9bd6c547021f3d77e998d673510a48051ee39417a858380cb17a000d1a goggles-0.9.1.tar.bz2 486290 diff --git a/media-video/goggles/goggles-0.7.10-r1.ebuild b/media-video/goggles/goggles-0.7.10-r1.ebuild new file mode 100644 index 000000000000..982df55fb766 --- /dev/null +++ b/media-video/goggles/goggles-0.7.10-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/goggles/goggles-0.7.10-r1.ebuild,v 1.1 2006/12/05 22:56:57 mabi Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="User-friendly frontend for the Ogle DVD Player" +HOMEPAGE="http://www.fifthplanet.net/goggles.html" +SRC_URI="http://www.fifthplanet.net/files/goggles-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND="=x11-libs/fox-1.2* + >=media-video/ogle-0.9.2 + media-libs/libpng" + +src_unpack() { + unpack ${A} + + cd ${S} + sed -i \ + -e "/^export CC=/s:=.*:=\"$(tc-getCC)\":" \ + -e "/^export CXX=/s:=.*:=\"$(tc-getCXX)\":" \ + -e "/^export CFLAGS=/s:=.*:=\"${CFLAGS}\":" \ + -e "/^export CXXFLAGS=/s:=.*:=\"${CXXFLAGS}\":" \ + build/config.linux +} + +src_compile() { + export WANT_FOX="1.2" + + ./gb || die "build failed" + + # we do it now manually, to avoid calling 'gb install' + sed "s|@prefix@|/${D}${DESTTREE}|" scripts/goggles.in > scripts/goggles +} + +src_install() { + dobin ${S}/scripts/goggles + dobin ${S}/src/ogle_gui_goggles + + if use doc; then + dodoc ${S}/desktop/goggles_manual.pdf + fi + + insinto /usr/share/applications + doins ${S}/desktop/${PN}.desktop + + insinto /usr/share/pixmaps + newins ${S}/icons/goggleslogosmall_png.png goggles.png +} diff --git a/media-video/goggles/goggles-0.7.4-r2.ebuild b/media-video/goggles/goggles-0.7.4-r2.ebuild new file mode 100644 index 000000000000..d5642a03fa2b --- /dev/null +++ b/media-video/goggles/goggles-0.7.4-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/goggles/goggles-0.7.4-r2.ebuild,v 1.1 2006/12/05 22:56:57 mabi Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="User-friendly frontend for the Ogle DVD Player" +HOMEPAGE="http://www.fifthplanet.net/goggles.html" +SRC_URI="http://www.fifthplanet.net/files/goggles-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND="=x11-libs/fox-1.2* + >=media-video/ogle-0.9.2 + media-libs/libpng" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + + sed -i \ + -e "/^export CC=/s:=.*:=\"$(tc-getCC)\":" \ + -e "/^export CXX=/s:=.*:=\"$(tc-getCXX)\":" \ + -e "/^export CFLAGS=/s:=.*:=\"${CFLAGS}\":" \ + -e "/^export CXXFLAGS=/s:=.*:=\"${CXXFLAGS}\":" \ + build/config.linux +} + +src_compile() { + export WANT_FOX="1.2" + ./gb || die "build failed" +} + +src_install() { + dobin ${S}/scripts/goggles + dobin ${S}/src/ogle_gui_goggles + + if use doc; then + dodoc ${S}/desktop/goggles_manual.pdf + fi + + insinto /usr/share/applications + doins ${S}/desktop/${PN}.desktop + + insinto /usr/share/pixmaps + newins ${S}/icons/goggleslogosmall_png.png goggles.png +} diff --git a/media-video/goggles/goggles-0.8.0-r2.ebuild b/media-video/goggles/goggles-0.8.0-r2.ebuild new file mode 100644 index 000000000000..972d42d61640 --- /dev/null +++ b/media-video/goggles/goggles-0.8.0-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/goggles/goggles-0.8.0-r2.ebuild,v 1.1 2006/12/05 22:56:57 mabi Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="User-friendly frontend for the Ogle DVD Player" +HOMEPAGE="http://www.fifthplanet.net/goggles.html" +SRC_URI="http://www.fifthplanet.net/files/goggles-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND="=x11-libs/fox-1.4* + >=media-video/ogle-0.9.2 + media-libs/libpng" + +src_unpack() { + unpack ${A} + + cd ${S} + sed -i \ + -e "/^export CC=/s:=.*:=\"$(tc-getCC)\":" \ + -e "/^export CXX=/s:=.*:=\"$(tc-getCXX)\":" \ + -e "/^export CFLAGS=/s:=.*:=\"${CFLAGS}\":" \ + -e "/^export CXXFLAGS=/s:=.*:=\"${CXXFLAGS}\":" \ + build/config.linux +} + +src_compile() { + export WANT_FOX="1.4" + + ./gb || die "build failed" + + # we do it now manually, to avoid calling 'gb install' + sed "s|@prefix@|/${DESTTREE}|" scripts/goggles.in > scripts/goggles +} + +src_install() { + dobin ${S}/scripts/goggles + dobin ${S}/src/ogle_gui_goggles + + if use doc; then + dodoc ${S}/desktop/goggles_manual.pdf + fi + + insinto /usr/share/applications + doins ${S}/desktop/${PN}.desktop + + insinto /usr/share/pixmaps + newins ${S}/icons/goggleslogosmall.png goggles.png +} diff --git a/media-video/goggles/goggles-0.9.1.ebuild b/media-video/goggles/goggles-0.9.1.ebuild new file mode 100644 index 000000000000..7812a9b9e2a7 --- /dev/null +++ b/media-video/goggles/goggles-0.9.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/goggles/goggles-0.9.1.ebuild,v 1.1 2006/12/05 22:56:57 mabi Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="User-friendly frontend for the Ogle DVD Player" +HOMEPAGE="http://www.fifthplanet.net/goggles.html" +SRC_URI="http://www.fifthplanet.net/files/goggles-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND="=x11-libs/fox-1.6* + >=media-video/ogle-0.9.2 + media-libs/libpng" + +src_unpack() { + unpack ${A} + + cd ${S} + sed -i \ + -e "/^export CC=/s:=.*:=\"$(tc-getCC)\":" \ + -e "/^export CXX=/s:=.*:=\"$(tc-getCXX)\":" \ + -e "/^export CFLAGS=/s:=.*:=\"${CFLAGS}\":" \ + -e "/^export CXXFLAGS=/s:=.*:=\"${CXXFLAGS}\":" \ + build/config.linux + + # comment out the default 'optimization' including a stripped binary + sed -i \ + -e "s/^export DEFS=\"-DNDEBUG\"/\# &/" \ + build/configdetect + + # and some seding to use the correct [[ ]] instead of [ ] + sed -i \ + -e "s/\[\(.*\)\]/\[\[\1\]\]/" \ + build/config.linux +} + +src_compile() { + export WANT_FOX=1.6 + ./gb || die "build failed" + + # we do it now manually, to avoid calling 'gb install' + sed "s|@location@|${DESTTREE}/bin|" scripts/goggles.in > scripts/goggles + grep -e '[^$]@' scripts/goggles && die "missing substitution" +} + +src_install() { + dobin ${S}/scripts/goggles || die + + # the binary is no longer (statically) named "ogle_gui_goggles", but + # (dynamically) after the package name which is "goggles" + newbin ${S}/src/goggles ogle_gui_goggles || die + + if use doc; then + dodoc ${S}/desktop/goggles_manual.pdf || die + fi + + insinto /usr/share/applications + doins ${S}/desktop/${PN}.desktop || die + + insinto /usr/share/pixmaps + newins ${S}/icons/goggleslogosmall.png goggles.png || die +}