From de49812990871e1705b64051c35161d5e6400269 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Dec 2018 14:11:38 +0000 Subject: gentoo resync : 24.12.2018 --- media-video/gpac/Manifest | 4 +- media-video/gpac/gpac-0.7.1-r1.ebuild | 153 ++++++++++++++++++++++++++++++++++ media-video/gpac/gpac-0.7.1.ebuild | 141 ------------------------------- media-video/gpac/gpac-9999.ebuild | 110 +++++++++++++----------- 4 files changed, 216 insertions(+), 192 deletions(-) create mode 100644 media-video/gpac/gpac-0.7.1-r1.ebuild delete mode 100644 media-video/gpac/gpac-0.7.1.ebuild (limited to 'media-video/gpac') diff --git a/media-video/gpac/Manifest b/media-video/gpac/Manifest index 10e6292297c1..c33d8368efb1 100644 --- a/media-video/gpac/Manifest +++ b/media-video/gpac/Manifest @@ -8,6 +8,6 @@ AUX gpac-freetype.patch 622 BLAKE2B b27d2ae313ca95cd46280b56d42b631854995d5e2832 DIST gpac-0.6.1.tar.gz 9113143 BLAKE2B 943c09de168f7e0ce5836d5d75e670fbd651d062cf5511728867079485fcda26d984485c04cb73404d419185cd595bba18a7dae6b2f574298ebc59425b1ba62a SHA512 b1409a8ebcda08c3af504d7de591528ef84f5c3d8d506dd490502e16493de11c2435ea3f5957f39100a2ce040d5e431c86a5a203f806fcc865ae4b08f6cf5595 DIST gpac-0.7.1.tar.gz 10654838 BLAKE2B 795fd11d6bf02bb0d27d97f2c98017e9875aae26ea7d99c5587c7ec5ccc8273283fbce6444389ff4371a34d0e7d03102982ff8a8ec014c7f0c2ddd36c684cba9 SHA512 0377d9471db9e5ccf75f85dfd0c9f4e37a211108b5e128a5411ac015bd9c906257320d517717f0fa03d434e1fce24bd8a9c3a73200fac5c21b80895b716ab403 EBUILD gpac-0.6.1-r2.ebuild 3211 BLAKE2B abcf08b642fec5182c653b186fc61a16b0f8be87bcad28cd7494c3a871cc9717c3d8e9cef51616a7a9b99ed61d9e12644f284ecf95d3fb9fb0f8462faa6667eb SHA512 2bfa94a7e2ccfb8953a505047bcbf2843218530d79b66a839dc2ee9c6d324914d37f673563a0bc71eca4fdd18ee720acdc30fe58d24efb8b347df6030afb75a5 -EBUILD gpac-0.7.1.ebuild 3480 BLAKE2B 6e1e83a6bdeb6827cf6927c59d15ef299158e8f24b649c75d53601222d12567e224b64fb68678fb72df9ecf3002ccaaeabe1e63760908937fcb82954038279c8 SHA512 991f1af2143baf56748012d48ef6d9132ba4d03e9e6347d41be0e2dd81742310bc24e5b9a76b0be526efc6a9d6e5bb09f135cd69b03ca377990913457588aaa2 -EBUILD gpac-9999.ebuild 3243 BLAKE2B b9ac1b87c46486616ce0212037494ea238d42939f8b6ce88b943840414f0d7ab409d51969d8c30b1b60bb2c559e742ca388b83290ebbf18776d7ee24024a0fb5 SHA512 9f3ff849d76e8747cd913d2a28ac9768678918b5dfb73c98fa50360eac97d636920cd31e330fd1413da41e900ef6080132f876835cad8ad26ecf0ba2fe252f6a +EBUILD gpac-0.7.1-r1.ebuild 3413 BLAKE2B a10347bed4a34cbab0f5565cd841140053f12db8a9adc2adaa4b6dd839ebc2cf82122b9acde57269b8137708494d7e216dd8478ecbaf227cdcfd8c75d8302333 SHA512 80c93f26bb891b83bf1e6026e0c1e148f7362b3547d6557e3a55aa14426f4c722e8552e6d67efee27b4f17337c9fb5a746cb68cfa7568e6ebc18fa1c628fad49 +EBUILD gpac-9999.ebuild 3181 BLAKE2B 8c51ec87f24e14deac39139aab5546585a7a84a1ecb80623237390b7189d519bcaccbc9481f64c225d50879cb586b20ee4f02af21f11ae746730ff6c269dbfd3 SHA512 af202c5d441454bc677c7b7e5dc0766530164465e1776b4f764fbe967d07c05fb0f8d3183af4e63a2c9f15988361bfc1b2286a1d8e703f191d992083ab1222e7 MISC metadata.xml 356 BLAKE2B 02d021261f873991949e9d24bdd1f2791a93e033c6a350bd014bdc9d2fa32f733547d8f7b78733f010d95420e07d4d1c0dd63ac367757dcc505a4eb0801921bb SHA512 651073c0156c19eda006ee7622db5a127f1e2f747ed7e0cb141be1abca2084a1427ea82a888b335a68b056980b68a693f852b44d96bfe47f28cc985bf72dfac4 diff --git a/media-video/gpac/gpac-0.7.1-r1.ebuild b/media-video/gpac/gpac-0.7.1-r1.ebuild new file mode 100644 index 000000000000..470e9607ff77 --- /dev/null +++ b/media-video/gpac/gpac-0.7.1-r1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ ${PV} == *9999 ]] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/gpac/gpac" +else + SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd" +fi + +inherit flag-o-matic toolchain-funcs ${SCM} + +DESCRIPTION="Implementation of the MPEG-4 Systems standard developed from scratch in ANSI C" +HOMEPAGE="https://gpac.wp.imt.fr/" + +LICENSE="GPL-2" +# subslot == libgpac major +SLOT="0/7" +IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k libav libressl mad opengl oss png + pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X" + +RDEPEND=" + media-libs/libogg + a52? ( media-libs/a52dec ) + aac? ( media-libs/faad2 ) + alsa? ( media-libs/alsa-lib ) + ffmpeg? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + jack? ( virtual/jack ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/openjpeg:0 ) + mad? ( media-libs/libmad ) + opengl? ( + media-libs/freeglut + virtual/glu + virtual/opengl + ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) + theora? ( media-libs/libtheora ) + truetype? ( media-libs/freetype:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + vorbis? ( media-libs/libvorbis ) + X? ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXv + x11-libs/libXext + ) + xml? ( dev-libs/libxml2:2 ) + xvid? ( media-libs/xvid ) +" +# disabled upstream, see applications/Makefile +# wxwidgets? ( =x11-libs/wxGTK-2.8* ) +DEPEND="${RDEPEND} + virtual/pkgconfig + dvb? ( sys-kernel/linux-headers ) +" + +# DOCS="AUTHORS BUGS Changelog README.md TODO doc/CODING_STYLE doc/*.doc doc/*.bt doc/SceneGenerators doc/ipmpx_syntax.bt doc/*.txt" +PATCHES=( + "${FILESDIR}/${PN}-0.7.1-configure.patch" + "${FILESDIR}/ffmpeg4.patch" + "${FILESDIR}/${PN}-freetype.patch" + "${FILESDIR}/${P}-openssl-1.1.patch" +) + +DOCS=( + doc/CODING_STYLE + doc/GPAC\ UPnP.doc + doc/ISO\ 639-2\ codes.txt + doc/SceneGenerators + doc/ipmpx_syntax.bt + Changelog + AUTHORS + BUGS + README.md + TODO +) +HTML_DOCS="doc/*.html" + +my_use() { + local flag="$1" pflag="${2:-$1}" + if use ${flag}; then + echo "--use-${pflag}=system" + else + echo "--use-${pflag}=no" + fi +} + +src_prepare() { + default + sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die +} + +src_configure() { + tc-export CC CXX AR RANLIB + + local myeconfargs=( + --extra-cflags="${CFLAGS}" + --cc="$(tc-getCC)" + --libdir="/$(get_libdir)" + --verbose + --enable-pic + --enable-svg + --disable-amr + --disable-wx + --use-js=no + --use-ogg=system + $(use_enable alsa) + $(use_enable debug) + $(use_enable dvb dvb4linux) + $(use_enable ipv6) + $(use_enable jack jack yes) + $(use_enable opengl 3d) + $(use_enable oss oss-audio) + $(use_enable pulseaudio pulseaudio yes) + $(use_enable sdl) + $(use_enable ssl) + $(use_enable static-libs static-lib) + $(use_enable X x11) + $(use_enable X x11-shm) + $(use_enable X x11-xv) + $(my_use a52) + $(my_use aac faad) + $(my_use dvb dvbx) + $(my_use ffmpeg) + $(my_use jpeg) + $(my_use jpeg2k openjpeg) + $(my_use mad) + $(my_use png) + $(my_use theora) + $(my_use truetype ft) + $(my_use vorbis) + $(my_use xvid) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + einstalldocs + emake STRIP="true" DESTDIR="${D}" install + emake STRIP="true" DESTDIR="${D}" install-lib +} diff --git a/media-video/gpac/gpac-0.7.1.ebuild b/media-video/gpac/gpac-0.7.1.ebuild deleted file mode 100644 index 73698dcdb6b6..000000000000 --- a/media-video/gpac/gpac-0.7.1.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999 ]] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/gpac/gpac" -else - SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -fi - -inherit flag-o-matic toolchain-funcs ${SCM} - -DESCRIPTION="Implementation of the MPEG-4 Systems standard developed from scratch in ANSI C" -HOMEPAGE="https://gpac.wp.imt.fr/" - -LICENSE="GPL-2" -# subslot == libgpac major -SLOT="0/7" -IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k libav libressl mad opengl oss png - pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X" - -RDEPEND=" - a52? ( media-libs/a52dec ) - aac? ( >=media-libs/faad2-2.0 ) - alsa? ( media-libs/alsa-lib ) - dvb? ( media-tv/linuxtv-dvb-apps ) - ffmpeg? ( - !libav? ( media-video/ffmpeg:0= ) - libav? ( media-video/libav:0= ) ) - jack? ( media-sound/jack-audio-connection-kit ) - jpeg? ( virtual/jpeg:0 ) - mad? ( >=media-libs/libmad-0.15.1b ) - opengl? ( virtual/opengl media-libs/freeglut virtual/glu ) - >=media-libs/libogg-1.1 - png? ( >=media-libs/libpng-1.4:0= ) - vorbis? ( >=media-libs/libvorbis-1.1 ) - theora? ( media-libs/libtheora ) - truetype? ( >=media-libs/freetype-2.1.4:2 ) - xml? ( >=dev-libs/libxml2-2.6.0:2 ) - xvid? ( >=media-libs/xvid-1.0.1 ) - sdl? ( media-libs/libsdl ) - jpeg2k? ( media-libs/openjpeg:0 ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) ) - pulseaudio? ( media-sound/pulseaudio ) - X? ( - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXv - x11-libs/libXext - ) -" -# disabled upstream, see applications/Makefile -# wxwidgets? ( =x11-libs/wxGTK-2.8* ) -DEPEND="${RDEPEND} - virtual/pkgconfig" - -# DOCS="AUTHORS BUGS Changelog README.md TODO doc/CODING_STYLE doc/*.doc doc/*.bt doc/SceneGenerators doc/ipmpx_syntax.bt doc/*.txt" -PATCHES=( - "${FILESDIR}/${PN}-0.7.1-configure.patch" - "${FILESDIR}/ffmpeg4.patch" - "${FILESDIR}/${PN}-freetype.patch" - "${FILESDIR}/${P}-openssl-1.1.patch" -) - -DOCS=( - doc/CODING_STYLE - doc/GPAC\ UPnP.doc - doc/ISO\ 639-2\ codes.txt - doc/SceneGenerators - doc/ipmpx_syntax.bt - Changelog - AUTHORS - BUGS - README.md - TODO -) -HTML_DOCS="doc/*.html" - -my_use() { - local flag="$1" pflag="${2:-$1}" - if use ${flag}; then - echo "--use-${pflag}=system" - else - echo "--use-${pflag}=no" - fi -} - -src_prepare() { - default - sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die -} - -src_configure() { - tc-export CC CXX AR RANLIB - - econf \ - --enable-svg \ - --enable-pic \ - --disable-amr \ - --use-js=no \ - --use-ogg=system \ - $(use_enable alsa) \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_enable jack jack yes) \ - $(use_enable opengl 3d) \ - $(use_enable oss oss-audio) \ - $(use_enable pulseaudio pulseaudio yes) \ - $(use_enable sdl) \ - $(use_enable ssl) \ - $(use_enable static-libs static-lib) \ - $(use_enable X x11) $(use_enable X x11-shm) $(use_enable X x11-xv) \ - --disable-wx \ - $(my_use a52) \ - $(my_use aac faad) \ - $(my_use dvb dvbx) \ - $(my_use ffmpeg) \ - $(my_use jpeg) \ - $(my_use jpeg2k openjpeg) \ - $(my_use mad) \ - $(my_use png) \ - $(my_use theora) \ - $(my_use truetype ft) \ - $(my_use vorbis) \ - $(my_use xvid) \ - --extra-cflags="${CFLAGS}" \ - --cc="$(tc-getCC)" \ - --libdir="/$(get_libdir)" \ - --verbose -} - -src_install() { - einstalldocs - emake STRIP="true" DESTDIR="${D}" install - emake STRIP="true" DESTDIR="${D}" install-lib -} diff --git a/media-video/gpac/gpac-9999.ebuild b/media-video/gpac/gpac-9999.ebuild index 0beb2918a9d4..5acc9d8e2d32 100644 --- a/media-video/gpac/gpac-9999.ebuild +++ b/media-video/gpac/gpac-9999.ebuild @@ -23,41 +23,48 @@ IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k libav libressl mad ope pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X" RDEPEND=" + media-libs/libogg a52? ( media-libs/a52dec ) - aac? ( >=media-libs/faad2-2.0 ) + aac? ( media-libs/faad2 ) alsa? ( media-libs/alsa-lib ) - dvb? ( media-tv/linuxtv-dvb-apps ) ffmpeg? ( !libav? ( media-video/ffmpeg:0= ) - libav? ( media-video/libav:0= ) ) - jack? ( media-sound/jack-audio-connection-kit ) + libav? ( media-video/libav:0= ) + ) + jack? ( virtual/jack ) jpeg? ( virtual/jpeg:0 ) - mad? ( >=media-libs/libmad-0.15.1b ) - opengl? ( virtual/opengl media-libs/freeglut virtual/glu ) - >=media-libs/libogg-1.1 - png? ( >=media-libs/libpng-1.4:0= ) - vorbis? ( >=media-libs/libvorbis-1.1 ) + jpeg2k? ( media-libs/openjpeg:0 ) + mad? ( media-libs/libmad ) + opengl? ( + media-libs/freeglut + virtual/glu + virtual/opengl + ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) theora? ( media-libs/libtheora ) - truetype? ( >=media-libs/freetype-2.1.4:2 ) - xml? ( >=dev-libs/libxml2-2.6.0:2 ) - xvid? ( >=media-libs/xvid-1.0.1 ) + truetype? ( media-libs/freetype:2 ) sdl? ( media-libs/libsdl ) - jpeg2k? ( media-libs/openjpeg:0 ) ssl? ( !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) ) - pulseaudio? ( media-sound/pulseaudio ) + libressl? ( dev-libs/libressl:0= ) + ) + vorbis? ( media-libs/libvorbis ) X? ( x11-libs/libXt x11-libs/libX11 x11-libs/libXv x11-libs/libXext ) + xml? ( dev-libs/libxml2:2 ) + xvid? ( media-libs/xvid ) " # disabled upstream, see applications/Makefile # wxwidgets? ( =x11-libs/wxGTK-2.8* ) DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig + dvb? ( sys-kernel/linux-headers ) +" PATCHES=( "${FILESDIR}/${PN}-0.7.1-configure.patch" ) @@ -92,40 +99,45 @@ src_prepare() { src_configure() { tc-export CC CXX AR RANLIB - econf \ - --enable-svg \ - --enable-pic \ - --disable-amr \ - --use-js=no \ - --use-ogg=system \ - $(use_enable alsa) \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_enable jack jack yes) \ - $(use_enable opengl 3d) \ - $(use_enable oss oss-audio) \ - $(use_enable pulseaudio pulseaudio yes) \ - $(use_enable sdl) \ - $(use_enable ssl) \ - $(use_enable static-libs static-lib) \ - $(use_enable X x11) $(use_enable X x11-shm) $(use_enable X x11-xv) \ - --disable-wx \ - $(my_use a52) \ - $(my_use aac faad) \ - $(my_use dvb dvbx) \ - $(my_use ffmpeg) \ - $(my_use jpeg) \ - $(my_use jpeg2k openjpeg) \ - $(my_use mad) \ - $(my_use png) \ - $(my_use theora) \ - $(my_use truetype ft) \ - $(my_use vorbis) \ - $(my_use xvid) \ - --extra-cflags="${CFLAGS}" \ - --cc="$(tc-getCC)" \ - --libdir="/$(get_libdir)" \ + local myeconfargs=( + --extra-cflags="${CFLAGS}" + --cc="$(tc-getCC)" + --libdir="/$(get_libdir)" --verbose + --enable-pic + --enable-svg + --disable-amr + --disable-wx + --use-js=no + --use-ogg=system + $(use_enable alsa) + $(use_enable debug) + $(use_enable dvb dvb4linux) + $(use_enable ipv6) + $(use_enable jack jack yes) + $(use_enable opengl 3d) + $(use_enable oss oss-audio) + $(use_enable pulseaudio pulseaudio yes) + $(use_enable sdl) + $(use_enable ssl) + $(use_enable static-libs static-lib) + $(use_enable X x11) + $(use_enable X x11-shm) + $(use_enable X x11-xv) + $(my_use a52) + $(my_use aac faad) + $(my_use dvb dvbx) + $(my_use ffmpeg) + $(my_use jpeg) + $(my_use jpeg2k openjpeg) + $(my_use mad) + $(my_use png) + $(my_use theora) + $(my_use truetype ft) + $(my_use vorbis) + $(my_use xvid) + ) + econf "${myeconfargs[@]}" } src_install() { -- cgit v1.2.3