diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-08 00:08:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-08 00:08:11 +0100 |
commit | adc09cc4e6ebf7931735c02c0c272b4b885c2b30 (patch) | |
tree | d1e752b60c2ed90ae9e427cbe2b07061e3879191 /media-video/projectx | |
parent | 941687623283212199cbe6e36f7d61b89d6222b2 (diff) |
gentoo auto-resync : 08:06:2024 - 00:08:11
Diffstat (limited to 'media-video/projectx')
-rw-r--r-- | media-video/projectx/Manifest | 3 | ||||
-rw-r--r-- | media-video/projectx/projectx-0.91.0.10-r4.ebuild | 126 | ||||
-rw-r--r-- | media-video/projectx/projectx-0.91.0.10-r5.ebuild | 2 |
3 files changed, 2 insertions, 129 deletions
diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest index 04b4ab9fb4c7..b8016f573553 100644 --- a/media-video/projectx/Manifest +++ b/media-video/projectx/Manifest @@ -7,6 +7,5 @@ DIST projectx-0.91.0.10-r4.tar.xz 830232 BLAKE2B 26171e583dc608c181d3ab3de050beb DIST projectx-icon.png 1692 BLAKE2B 6da85b69961b81f64638b04860b467e8cf599287513d85157aa71e4575003b8ef6e96cbe4b0b40b54bb15b6ca74c14f4bf1855c80f1f6db89294567a77f9e151 SHA512 33d9e505140d2dd22d34f87ebff040530130bbb7d1e9958d7345f442bd3d6e17dff8d243e22f374217aed20139871e406e46ca6f03ca48eb338dc3630af2417a DIST projectx-idctfast.tar.xz 12444 BLAKE2B e4b2a6ab235601dbdd1acf8a73a14fecb5da455670bad52598e0dbd8a7300305fad1b22b3d550dd046dcac68975af4b225e042f7c968ce9108f702d01586302f SHA512 85dd6dd0011c166aaefd47a47c4455dda68ba6da65c9eda5a996f7d078ce3900168714c0c72c6250f7b99181fda84c6d81e3afb392ace9c12c3c5690de01c1d8 DIST xdg-20100731.java.xz 648 BLAKE2B 8bd082c445d64051c65c66e8a22b61e582d04f1f650e3b15ee2f3400d47b10f137d245bd8a7633d96299e2c688f7bf836b59a4dd49ea3c181684a78fa55304c3 SHA512 8b5d8e695f3f052f889002dc93742da8ba9eada173cb10ad1db525e1ad89d1c8f44200d79dc02068ccf93fdbf2e8daa5bb359dae77bacbc89cb6d4895732774b -EBUILD projectx-0.91.0.10-r4.ebuild 3096 BLAKE2B 28381e7606ed1ac8e163bc3f4cc623722e4e7de07974ff341b69d7fa74e243e6e508e4fa873f960176d7e6cfa28529cea9aa61532f89fadbde5dcdd894f4eda1 SHA512 7dfc86db8a7116737aeaf4d8ba1f1663edc2018f6be8ba639f4b042b80115a2ef878fff876ec55e1e3d4dff460b25d1c34aed92a38f3b349c5930448e8ea9eb5 -EBUILD projectx-0.91.0.10-r5.ebuild 2990 BLAKE2B daa1ddf2371c78a7caa164bf3524f33bc94d0742e8bbabcfa9d5ddb6401e7357a7d20d6d39ab76d2ac4ead59d864425bad8fe108f02f51174823e28922f963b2 SHA512 bbd6006d383823ea08ad9c006f307e023a9e408517fe49bd41e44dbef9ccc0217877391f804d4092f58f082ca3cb2f3a7d3576836a72d0de6d6c6caac0c4c9ba +EBUILD projectx-0.91.0.10-r5.ebuild 2987 BLAKE2B f69eb06144b31edcb40f9f241fe2c78f7f08a12b7ea82b2f6ef3f2e04dd8266f75b572e48282ffa6d3cfd440f40d9e5476c143742e47ddfa649fbde391ba2c79 SHA512 d4813a63deb96484072ad92bde5cae4769383c4e8514c7cb91eba1d996e548e5998c9a43253a6843921c3bc73e475e123bed8259c4a5a24a0d664f5649f6e31a MISC metadata.xml 743 BLAKE2B 1100ef8186544c4605495d3cee7ba506559e124fd500a20b54a7cbd912a792b6873143040f46d9b30837c6dd79c0e1f18f6464d25b84dc1681b0886c209471b0 SHA512 7644cbc684eaaaec7838c38a7856b3421e4e9069dc208bad12c9b4c40567ecce706633148656d2ceb193ebd925761599856f6290126ecf88405f9b86af49ab25 diff --git a/media-video/projectx/projectx-0.91.0.10-r4.ebuild b/media-video/projectx/projectx-0.91.0.10-r4.ebuild deleted file mode 100644 index 57ef227ba394..000000000000 --- a/media-video/projectx/projectx-0.91.0.10-r4.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit desktop edos2unix java-pkg-2 java-ant-2 toolchain-funcs xdg - -XDG_P="xdg-20100731" - -DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings" -HOMEPAGE="https://project-x.sourceforge.net/" -SRC_URI="https://dev.gentoo.org/~billie/distfiles/${PF}.tar.xz - https://dev.gentoo.org/~billie/distfiles/${PN}-idctfast.tar.xz - https://dev.gentoo.org/~billie/distfiles/${XDG_P}.java.xz - https://dev.gentoo.org/~billie/distfiles/${PN}-icon.png" - -S="${WORKDIR}/Project-X" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc64 x86" -IUSE="X cpu_flags_x86_mmx cpu_flags_x86_sse" - -COMMON_DEPEND=" - dev-java/commons-net:0 - X? ( dev-java/browserlauncher2:1.0 ) -" -RDEPEND=" - ${COMMON_DEPEND} - >=virtual/jre-1.8:* -" -DEPEND=" - ${COMMON_DEPEND} - >=virtual/jdk-1.8:* - app-arch/xz-utils -" - -mainclass() { - # read Main-Class from MANIFEST.MF - sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" || die -} - -src_prepare() { - default - - xdg_environment_reset - - local X - - # apply stdout corruption patch (zzam@gentoo.org) - eapply "${FILESDIR}/${PN}-0.91.0.10-stdout-corrupt.patch" - - # apply BrowserLauncher2 patch - use X && eapply "${FILESDIR}/${PN}-0.91.0.10-bl2.patch" - rm -rf src/edu || die - - # apply IDCTFast patch - eapply "${FILESDIR}/${PN}-0.91.0.10-idctfast.patch" - - # apply XDG patch - cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java" || die - eapply "${FILESDIR}/${PN}-0.91.0.10-xdg.patch" - - # copy build.xml - cp -f "${FILESDIR}/build-0.91.0.10.xml" build.xml || die - - # patch executable and icon - sed -i -e "s:^\(Exec=\).*:\1${PN}_gui:g" \ - -e "s:^\(Icon=\).*:\1${PN}:g" *.desktop || die - - # convert CRLF to LF - edos2unix *.txt MANIFEST.MF - - # merge/remove resources depending on USE="X" - if use X; then - mv -f htmls resources/ || die - else - rm -rf src/net/sourceforge/dvb/projectx/gui || die - rm resources/*.gif || die - fi - - # update library packages - cd lib || die - rm -f {commons-net,jakarta-oro}*.jar || die - java-pkg_jar-from commons-net - use X && java-pkg_jar-from browserlauncher2-1.0 - java-pkg_ensure-no-bundled-jars -} - -src_compile() { - local IDCT="idct-mjpeg" # default IDCT implementation - if use x86 || use amd64; then - use cpu_flags_x86_mmx && IDCT="idct-mjpeg-mmx" - use cpu_flags_x86_sse && IDCT="idct-mjpeg-sse" - fi - - eant build $(use_doc) -Dmanifest.mainclass=$(mainclass) - - cd lib/PORTABLE || die - emake CC="$(tc-getCC)" IDCT="${IDCT}" LDFLAGS="${LDFLAGS}" \ - CPLAT="${CFLAGS} -O3 -ffast-math -fPIC" -} - -src_install() { - java-pkg_dojar dist/${PN}.jar - java-pkg_doso lib/PORTABLE/libidctfast.so - - java-pkg_dolauncher ${PN}_cli --main $(mainclass) \ - --java_args "-Djava.awt.headless=true -Xmx256m" - - if use X; then - java-pkg_dolauncher ${PN}_gui --main $(mainclass) \ - --java_args "-Xmx256m" - dosym ${PN}_gui /usr/bin/${PN} - newicon "${DISTDIR}/${PN}-icon.png" "${PN}.png" - domenu *.desktop - else - dosym ${PN}_cli /usr/bin/${PN} - fi - - dodoc *.txt - use doc && java-pkg_dojavadoc apidocs - use source && java-pkg_dosrc src -} diff --git a/media-video/projectx/projectx-0.91.0.10-r5.ebuild b/media-video/projectx/projectx-0.91.0.10-r5.ebuild index 3e5d18a572cc..2b918e744003 100644 --- a/media-video/projectx/projectx-0.91.0.10-r5.ebuild +++ b/media-video/projectx/projectx-0.91.0.10-r5.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/Project-X" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ppc64 x86" IUSE="X cpu_flags_x86_mmx cpu_flags_x86_sse" COMMON_DEPEND=" |