summaryrefslogtreecommitdiff
path: root/media-video/projectx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /media-video/projectx
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'media-video/projectx')
-rw-r--r--media-video/projectx/Manifest1
-rw-r--r--media-video/projectx/projectx-0.91.0.10.ebuild126
2 files changed, 0 insertions, 127 deletions
diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest
index 1fc1eb605a7c..0de6ae83b758 100644
--- a/media-video/projectx/Manifest
+++ b/media-video/projectx/Manifest
@@ -14,5 +14,4 @@ DIST projectx-idctfast.tar.xz 12444 BLAKE2B e4b2a6ab235601dbdd1acf8a73a14fecb5da
DIST xdg-20100731.java.xz 648 BLAKE2B 8bd082c445d64051c65c66e8a22b61e582d04f1f650e3b15ee2f3400d47b10f137d245bd8a7633d96299e2c688f7bf836b59a4dd49ea3c181684a78fa55304c3 SHA512 8b5d8e695f3f052f889002dc93742da8ba9eada173cb10ad1db525e1ad89d1c8f44200d79dc02068ccf93fdbf2e8daa5bb359dae77bacbc89cb6d4895732774b
EBUILD projectx-0.91.0.10-r1.ebuild 3245 BLAKE2B 34d050b55d561562d6d6b3c6fbe4beff8f1e4b657f8ce987144a6dca1df17fb40704e3d4cbfb557a0b60e5a1fd26ed5e8be98d0b874aceb1b0b824c12fe21f85 SHA512 c92fc0fc8983ccf588dea251f381e8f7df8c79905dd96f7f7e7bb3cb801d9d9a4eaf537e4afc66ab84a3a62e9ee17c9de9d8dbe3be3541047ce43f99321d3290
EBUILD projectx-0.91.0.10-r2.ebuild 3280 BLAKE2B ee6a8b69281992f88cfe43d542c83ba095704ba6f949efa1ab308ebe6c470446332071e1c2a516c5cffc6cc32ef3a891e25bd0b18e2f62d5abd556f7438a73f6 SHA512 fcd8c4926920ae05663cf62f91da13d0390fb578f0ba7fcc6b8f3cf2fe821b5393a4efb0aedc28ecfe90aa2ad9c8683c6763abd01ecfa3d4a76e2dabdf87289d
-EBUILD projectx-0.91.0.10.ebuild 3222 BLAKE2B 51c2e3239304bdde3556f24a10a3b4e5bedbdfe14950dd792879f8da972fde7dadd005e1b629eb322968b82971a2dec0a59bc19efcb1e3860081146b90e7515b SHA512 8ba93b3cb9bd02b79bb004dcb31741ca9b165650f5e9e3dcb704df4fca9c8f66b95f0bc307b54a0be6f417630579c6fb0ed89d14fb762433d5dd1481ebfc1009
MISC metadata.xml 742 BLAKE2B 5aacc52def6d49258139e9435aa1db4f2295a07e4491a921db142c262c84a3deaaf8b9b22d7bc68dcd00ee142cb4f9912463f4ab2fb79eae74ea461375b1467c SHA512 3a5546c1efbafa335ee5d05ff24c2b22f0f49d8944e242348bef9627ac5e72205d9bd3e697b3d89c7d0ef3e34d98fe19b58c021f41bcaff872c74373a6803341
diff --git a/media-video/projectx/projectx-0.91.0.10.ebuild b/media-video/projectx/projectx-0.91.0.10.ebuild
deleted file mode 100644
index fb44f2af60bd..000000000000
--- a/media-video/projectx/projectx-0.91.0.10.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-JAVA_PKG_IUSE="doc source"
-
-inherit eutils toolchain-funcs java-pkg-2 java-ant-2
-
-XDG_P="xdg-20100731"
-
-DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings"
-HOMEPAGE="http://project-x.sourceforge.net/"
-SRC_URI="https://dev.gentoo.org/~billie/distfiles/${P}.tar.xz
- http://sbriesen.de/gentoo/distfiles/${PN}-idctfast.tar.xz
- http://sbriesen.de/gentoo/distfiles/${XDG_P}.java.xz
- http://sbriesen.de/gentoo/distfiles/${PN}-icon.png"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-IUSE="X cpu_flags_x86_mmx cpu_flags_x86_sse"
-
-COMMON_DEP="dev-java/commons-net
- X? ( =dev-java/browserlauncher2-1* )"
-
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEP}"
-
-DEPEND=">=virtual/jdk-1.5
- app-arch/xz-utils
- virtual/libiconv
- ${COMMON_DEP}"
-
-S="${WORKDIR}/Project-X"
-
-mainclass() {
- # read Main-Class from MANIFEST.MF
- sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" || die
-}
-
-java_prepare() {
- local X
-
- # apply stdout corruption patch (zzam@gentoo.org)
- epatch "${FILESDIR}/${PN}-0.90.4.00_p33-stdout-corrupt.patch"
-
- # apply BrowserLauncher2 patch
- use X && epatch "${FILESDIR}/${PN}-0.90.4.00_p33-bl2.patch"
- rm -rf src/edu || die
-
- # apply IDCTFast patch
- epatch "${FILESDIR}/${PN}-0.90.4.00_p33-idctfast.patch"
-
- # apply XDG patch
- cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java" || die
- epatch "${FILESDIR}/${PN}-0.90.4.00_p33-xdg.patch"
-
- # copy build.xml
- cp -f "${FILESDIR}/build-0.90.4.00_p33.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
-
- # convert docs to utf-8
- if [ -x "$(type -p iconv)" ]; then
- for X in zutun.txt; do
- iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || die
- done
- fi
-
- # 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
-}