diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2006-07-05 19:21:24 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2006-07-05 19:21:24 +0000 |
commit | 10b15bfac5c50e5b9a0ad956010a2787705068a4 (patch) | |
tree | 7183e62f6e2f1eba1732b33c4fad53981d2a6368 | |
parent | Version bumped. Added use-flag imagemagick. (diff) | |
download | historical-10b15bfac5c50e5b9a0ad956010a2787705068a4.tar.gz historical-10b15bfac5c50e5b9a0ad956010a2787705068a4.tar.bz2 historical-10b15bfac5c50e5b9a0ad956010a2787705068a4.zip |
converted ebuild to use new java-pkg-2 and java-ant-2 eclasses.
Package-Manager: portage-2.1.1_pre2-r2
-rw-r--r-- | media-video/projectx/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/projectx/Manifest | 48 | ||||
-rw-r--r-- | media-video/projectx/files/digest-projectx-0.90.4.00-r1 | 6 | ||||
-rw-r--r-- | media-video/projectx/projectx-0.90.4.00-r1.ebuild | 82 |
4 files changed, 128 insertions, 16 deletions
diff --git a/media-video/projectx/ChangeLog b/media-video/projectx/ChangeLog index 9edf6f749b45..da3b89313a20 100644 --- a/media-video/projectx/ChangeLog +++ b/media-video/projectx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/projectx # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.16 2006/04/02 19:41:20 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.17 2006/07/05 19:21:24 sbriesen Exp $ + +*projectx-0.90.4.00-r1 (05 Jul 2006) + + 05 Jul 2006; Stefan Briesenick <sbriesen@gentoo.org> + +projectx-0.90.4.00-r1.ebuild: + converted ebuild to use new java-pkg-2 and java-ant-2 eclasses. *projectx-0.90.4.00 (02 Apr 2006) diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest index 5f1d99fc6d81..9655ca777ab2 100644 --- a/media-video/projectx/Manifest +++ b/media-video/projectx/Manifest @@ -1,30 +1,48 @@ -MD5 e2191402393696dffd2a5403f0540cb1 ChangeLog 817 -RMD160 1859927330c860cd19bf2e6f820e6657cd6c0c4d ChangeLog 817 -SHA256 16d6d325bc663ad2ba5658643e96832b6c03638750e9c1a8f18aa4bc60870222 ChangeLog 817 +AUX build-0.90.3.xml 2276 RMD160 78a4eaeb6c264f1438db282951194642a8f16c86 SHA1 1ed3eb3b12579da6f81654ea1ca34f923c59cd28 SHA256 92e122f79ec6677d6fdd27a671d7f094f229178ec239c4184b198dea4f9b39dd MD5 e328c4b88f2018f71beb83fdc4773a85 files/build-0.90.3.xml 2276 RMD160 78a4eaeb6c264f1438db282951194642a8f16c86 files/build-0.90.3.xml 2276 SHA256 92e122f79ec6677d6fdd27a671d7f094f229178ec239c4184b198dea4f9b39dd files/build-0.90.3.xml 2276 +AUX build-0.90.4.xml 2256 RMD160 9ec47bf02544542f35ee63ca939b95ce081ce315 SHA1 d35f8503c4ed777c5b61be7a1cbfdf3ec4550329 SHA256 ed4ca5545ee8ade4fd5cb2d8ce6000e40f05c1e6cbfeb03079d11f8942876849 MD5 eb72efa3ebfc180c4ecd9334b6e7fa00 files/build-0.90.4.xml 2256 RMD160 9ec47bf02544542f35ee63ca939b95ce081ce315 files/build-0.90.4.xml 2256 SHA256 ed4ca5545ee8ade4fd5cb2d8ce6000e40f05c1e6cbfeb03079d11f8942876849 files/build-0.90.4.xml 2256 -MD5 94a4612fd016a57fa22cef5b5c9ca6d1 files/digest-projectx-0.90.3.00 74 -RMD160 84b68380a1843385a6f9280d525c3b4e831b9da2 files/digest-projectx-0.90.3.00 74 -SHA256 8356489ed14c6f205c8169d417d6f18314c65929c385bef97d919d48e237fe61 files/digest-projectx-0.90.3.00 74 -MD5 480ae2e47b381833b2c9b15c58872d84 files/digest-projectx-0.90.3.01 268 -RMD160 44ce96d0fecd94ccd7da298f811c1520b877dbea files/digest-projectx-0.90.3.01 268 -SHA256 711dc2208fb9c68ea445d25c4e74cdee8685e539204666d0ea18c0ff7f52bf2b files/digest-projectx-0.90.3.01 268 -MD5 7b4581f73e9f900c70c80e4fbde2eaf7 files/digest-projectx-0.90.4.00 566 -RMD160 37de8f0abb23d7161191e5129bdf15949525fb02 files/digest-projectx-0.90.4.00 566 -SHA256 0485d242e0b8e732f6c3c0a324b5cd42599809579f58ba18f8b45446e7203293 files/digest-projectx-0.90.4.00 566 -MD5 a5bc554bd20390118527a75f399aca04 metadata.xml 552 -RMD160 e64d43298a7062ee3524be66149d4189e0a54138 metadata.xml 552 -SHA256 594f8951dcebe3c7e750e8ac9e2ae008f55c01d0d06b39865c9f682bb8bbfa8f metadata.xml 552 +DIST ProjectX_LanguagePack_0.90.4.00.zip 124257 RMD160 09f63b0761568f5934960663e52a0043a48727ee SHA1 9887c7d9a81384e006efb6dd8ef2925add7def3f SHA256 eff00b1b623e8a0c986eb79472622fd771c1c44b9d9d83062e6cc0772e9fd841 +DIST ProjectX_Source_0.90.3.00.zip 903455 +DIST ProjectX_Source_0.90.3.01.zip 909054 RMD160 519eede3650da7a118df465aff1755b6b22e99b8 SHA256 6f48b46752c59be4291c9d09e8c9954a614cc85e9155d89bb3e1fb6f3935f0b8 +DIST ProjectX_Source_eng_0.90.4.00.zip 825784 RMD160 8914557a5e04f02ba574a48711ecb6b24e651482 SHA1 ef7be92217c276204fff290add0a9080c77b7eec SHA256 fe41e409381a988201404338bb3dd178caa71ab6058151ae49a1e97b0aa58537 +EBUILD projectx-0.90.3.00.ebuild 1811 RMD160 da56ef8ba6c9d1ec283f70ead0064fb952628622 SHA1 de562f8abc863b119dcc20d7b6f379a4a2ebc52c SHA256 7bbd54d1ddf9d59e5f6432e4478f23f9a31b82aad25dd507ad381b505a3f8978 MD5 245899bcc8a1be8b6fd24fe9c7f0fb81 projectx-0.90.3.00.ebuild 1811 RMD160 da56ef8ba6c9d1ec283f70ead0064fb952628622 projectx-0.90.3.00.ebuild 1811 SHA256 7bbd54d1ddf9d59e5f6432e4478f23f9a31b82aad25dd507ad381b505a3f8978 projectx-0.90.3.00.ebuild 1811 +EBUILD projectx-0.90.3.01.ebuild 1808 RMD160 0b3aae6b4a42ca90cd964596b2e9401fed9f75fc SHA1 b7638b028f04d28098461f8af6c725796106f47c SHA256 923823d3689e641de6ed60e72dab9e395e9fc04b1246a7f533b7d152ed4b440c MD5 799dd25a61c5a343039ddc495a43b0e8 projectx-0.90.3.01.ebuild 1808 RMD160 0b3aae6b4a42ca90cd964596b2e9401fed9f75fc projectx-0.90.3.01.ebuild 1808 SHA256 923823d3689e641de6ed60e72dab9e395e9fc04b1246a7f533b7d152ed4b440c projectx-0.90.3.01.ebuild 1808 +EBUILD projectx-0.90.4.00-r1.ebuild 1897 RMD160 5d2d784afc6c5f10cf5d3770916c6e71edd90be2 SHA1 2b526500b74830d58be566dc3e422f9543bd6c2c SHA256 c6dc9b39759eac495460598f7c3a1b3f2cdf48c4fcaba9afc2c001eb5a65e9be +MD5 b489965115d2b0be8a6f57ac9ebc310b projectx-0.90.4.00-r1.ebuild 1897 +RMD160 5d2d784afc6c5f10cf5d3770916c6e71edd90be2 projectx-0.90.4.00-r1.ebuild 1897 +SHA256 c6dc9b39759eac495460598f7c3a1b3f2cdf48c4fcaba9afc2c001eb5a65e9be projectx-0.90.4.00-r1.ebuild 1897 +EBUILD projectx-0.90.4.00.ebuild 2115 RMD160 12867dd9ebfc237ad231f9f5c23875c881c5d141 SHA1 5457a15c80b463e455e2e98f9e07f20c39a0d5d3 SHA256 80d0182bbe500d4ebcc9ef3cdf75f81749f207bbf2e5808f30ec339df2c46ef3 MD5 eed5124969ca92b613e1936192cd1f4b projectx-0.90.4.00.ebuild 2115 RMD160 12867dd9ebfc237ad231f9f5c23875c881c5d141 projectx-0.90.4.00.ebuild 2115 SHA256 80d0182bbe500d4ebcc9ef3cdf75f81749f207bbf2e5808f30ec339df2c46ef3 projectx-0.90.4.00.ebuild 2115 +MISC ChangeLog 1010 RMD160 ed01481e41010d2d09ff889ee27fcaa80e5137e8 SHA1 28bf9efd32c37ee5bc81f4c0dfe0612d6412e46e SHA256 c9b79f992bbfd5ccdb145744b8c81f4c6c4fe0024fa70a68de39deb582f1ef58 +MD5 5caa2cdba95d90a3eb4377c3678bf3a7 ChangeLog 1010 +RMD160 ed01481e41010d2d09ff889ee27fcaa80e5137e8 ChangeLog 1010 +SHA256 c9b79f992bbfd5ccdb145744b8c81f4c6c4fe0024fa70a68de39deb582f1ef58 ChangeLog 1010 +MISC metadata.xml 552 RMD160 e64d43298a7062ee3524be66149d4189e0a54138 SHA1 376eadcfc81a41cff52b15c0a2a90f530660171f SHA256 594f8951dcebe3c7e750e8ac9e2ae008f55c01d0d06b39865c9f682bb8bbfa8f +MD5 a5bc554bd20390118527a75f399aca04 metadata.xml 552 +RMD160 e64d43298a7062ee3524be66149d4189e0a54138 metadata.xml 552 +SHA256 594f8951dcebe3c7e750e8ac9e2ae008f55c01d0d06b39865c9f682bb8bbfa8f metadata.xml 552 +MD5 94a4612fd016a57fa22cef5b5c9ca6d1 files/digest-projectx-0.90.3.00 74 +RMD160 84b68380a1843385a6f9280d525c3b4e831b9da2 files/digest-projectx-0.90.3.00 74 +SHA256 8356489ed14c6f205c8169d417d6f18314c65929c385bef97d919d48e237fe61 files/digest-projectx-0.90.3.00 74 +MD5 480ae2e47b381833b2c9b15c58872d84 files/digest-projectx-0.90.3.01 268 +RMD160 44ce96d0fecd94ccd7da298f811c1520b877dbea files/digest-projectx-0.90.3.01 268 +SHA256 711dc2208fb9c68ea445d25c4e74cdee8685e539204666d0ea18c0ff7f52bf2b files/digest-projectx-0.90.3.01 268 +MD5 7b4581f73e9f900c70c80e4fbde2eaf7 files/digest-projectx-0.90.4.00 566 +RMD160 37de8f0abb23d7161191e5129bdf15949525fb02 files/digest-projectx-0.90.4.00 566 +SHA256 0485d242e0b8e732f6c3c0a324b5cd42599809579f58ba18f8b45446e7203293 files/digest-projectx-0.90.4.00 566 +MD5 7b4581f73e9f900c70c80e4fbde2eaf7 files/digest-projectx-0.90.4.00-r1 566 +RMD160 37de8f0abb23d7161191e5129bdf15949525fb02 files/digest-projectx-0.90.4.00-r1 566 +SHA256 0485d242e0b8e732f6c3c0a324b5cd42599809579f58ba18f8b45446e7203293 files/digest-projectx-0.90.4.00-r1 566 diff --git a/media-video/projectx/files/digest-projectx-0.90.4.00-r1 b/media-video/projectx/files/digest-projectx-0.90.4.00-r1 new file mode 100644 index 000000000000..a5702858cd7c --- /dev/null +++ b/media-video/projectx/files/digest-projectx-0.90.4.00-r1 @@ -0,0 +1,6 @@ +MD5 edfe8d04bd3d403eec4d9e27d1b976d2 ProjectX_LanguagePack_0.90.4.00.zip 124257 +RMD160 09f63b0761568f5934960663e52a0043a48727ee ProjectX_LanguagePack_0.90.4.00.zip 124257 +SHA256 eff00b1b623e8a0c986eb79472622fd771c1c44b9d9d83062e6cc0772e9fd841 ProjectX_LanguagePack_0.90.4.00.zip 124257 +MD5 92d7b5aea50b8811307f27b6e01ceb5c ProjectX_Source_eng_0.90.4.00.zip 825784 +RMD160 8914557a5e04f02ba574a48711ecb6b24e651482 ProjectX_Source_eng_0.90.4.00.zip 825784 +SHA256 fe41e409381a988201404338bb3dd178caa71ab6058151ae49a1e97b0aa58537 ProjectX_Source_eng_0.90.4.00.zip 825784 diff --git a/media-video/projectx/projectx-0.90.4.00-r1.ebuild b/media-video/projectx/projectx-0.90.4.00-r1.ebuild new file mode 100644 index 000000000000..f8f4c2ca4798 --- /dev/null +++ b/media-video/projectx/projectx-0.90.4.00-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.90.4.00-r1.ebuild,v 1.1 2006/07/05 19:21:24 sbriesen Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +MY_PN="ProjectX" + +# micro-release == 0 ? +if [ 0${PV##*.} -eq 0 ]; then + MY_P="${MY_PN}_Source_${PV%.*}" +else + MY_P="${MY_PN}_Source_${PV}" +fi + +DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings" +HOMEPAGE="http://sourceforge.net/projects/project-x/" +SRC_URI="mirror://sourceforge/project-x/${MY_PN}_Source_eng_${PV}.zip + mirror://sourceforge/project-x/${MY_PN}_LanguagePack_${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="X doc source" + +RDEPEND=">=virtual/jre-1.4 + dev-java/commons-net + =dev-java/jakarta-oro-2.0*" + +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + app-arch/unzip + dev-java/ant-core + source? ( app-arch/zip )" + +S="${WORKDIR}/${MY_P}" + +mainclass() { + # read Main-Class from MANIFEST.MF + sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" +} + +ant_src_unpack() { + unpack ${A} + cd "${S}" + + # copy build.xml + cp -f "${FILESDIR}/build-${PV%.*}.xml" build.xml + + # patch location of executable + sed -i -e "s:^\(Exec=\).*:\1${PN}:g" *.desktop + + # convert CRLF to LF + edos2unix *.txt MANIFEST.MF + + # update library packages + cd lib + rm -f {commons-net,jakarta-oro}*.jar + java-pkg_jar-from commons-net + java-pkg_jar-from jakarta-oro-2.0 + java-pkg_ensure-no-bundled-jars +} + +src_compile() { + eant jar $(use_doc docs) -Dmanifest.mainclass=$(mainclass) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + if use X; then + java-pkg_dolauncher ${PN} --main $(mainclass) + domenu *.desktop + else + java-pkg_dolauncher ${PN} --main $(mainclass) \ + --java_args "-Djava.awt.headless=true" + fi + + dodoc *.txt + use doc && java-pkg_dohtml -r apidocs/ + use source && java-pkg_dosrc src/. +} |