summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-03-29 23:58:18 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-03-29 23:58:18 +0000
commit591c76d9568d992418de27645e39b484dc0e291d (patch)
tree0891286687621528baebf0f8ffaf2b674d9b919c /media-video/gpac
parentRemove unneeded useflag description from metadata.xml (diff)
downloadhistorical-591c76d9568d992418de27645e39b484dc0e291d.tar.gz
historical-591c76d9568d992418de27645e39b484dc0e291d.tar.bz2
historical-591c76d9568d992418de27645e39b484dc0e291d.zip
Remove old.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'media-video/gpac')
-rw-r--r--media-video/gpac/ChangeLog6
-rw-r--r--media-video/gpac/Manifest17
-rw-r--r--media-video/gpac/gpac-0.4.5-r4.ebuild148
-rw-r--r--media-video/gpac/gpac-0.4.5-r5.ebuild145
4 files changed, 6 insertions, 310 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog
index 6a0308dcd833..a43d121b391e 100644
--- a/media-video/gpac/ChangeLog
+++ b/media-video/gpac/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/gpac
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.125 2015/02/12 08:46:29 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.126 2015/03/29 23:58:12 mrueg Exp $
+
+ 29 Mar 2015; Manuel Rüger <mrueg@gentoo.org> -gpac-0.4.5-r4.ebuild,
+ -gpac-0.4.5-r5.ebuild:
+ Remove old.
12 Feb 2015; Alexis Ballier <aballier@gentoo.org> gpac-0.5.1_pre5456.ebuild,
+files/ffmpeg25.patch:
diff --git a/media-video/gpac/Manifest b/media-video/gpac/Manifest
index bfa70bc6700e..6180f731fe0a 100644
--- a/media-video/gpac/Manifest
+++ b/media-video/gpac/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX 110_all_implicitdecls.patch 1048 SHA256 6607d53e88dbecfa7185ba97f8f4ac13b266cb7396833ee42f307289f9d3d123 SHA512 cbd949b72bbe708decd7f4d24c2e1f9fbfda658fd6b355f11bc20b19ebf583e74eebb8ffc3c5b9945619efe4022123638fa243abaf07841d41101f62ad51e5ee WHIRLPOOL 3a852e35e940f6d1ecd58c8706eb519c524b9907497ac1df58da6648e4395184fe6a0ae834d850b9f69986700756aaa51ac1397a58c6f15e8bbe5ad8b39f2e9d
AUX 210_all_system_libogg.patch 647 SHA256 8c29c8b3688b5662bbcb40ea231fd3e78a722884cacda944c0ccf9c374077e64 SHA512 ea88df06002107cfc8d5700180152d9391456530fa83928cafa13ab184122f444168201447365d7b16d68357a7bb6d45ea1765791f143ecee463b7898cb4145c WHIRLPOOL 184d9124e680324f0229d2ed73a667fea0e2f34d7570b56fbd80e508348aece9d7975f5dece221754c6e1bdea253ca42a255f5106258c7c211c7402f3b9ec6da
AUX ffmpeg25.patch 1575 SHA256 6a15109095b9981e801247571809111a1b23c312dfdc385097260ee8715a4599 SHA512 00ef01dfe517aa7805de44a325f3167e46da2afa85afb2c5177680305027bb296f3f71937d11e18c33db2d1a5c3d728e6dfe92d629201695833d9894f4bd4cae WHIRLPOOL e5a87715cfa1c02fb43c76d6c3d96bae78eb7967854bc5bed13a221d1aa0cbf63f1a208d9d3336d19dea786dbc4ebeb1e8fd92a204129eaf310920949ac5cb4d
@@ -10,22 +7,10 @@ AUX gpac-0.5.0-libav9.patch 4064 SHA256 00ee9900081066d7fe05415aa8d50e1fd6cdd931
AUX gpac-0.5.0-mp42ts.patch 604 SHA256 e4c6b91585c932bca69e6fb9fdc0412316c2968ec6ee70e9b514f977533fa74e SHA512 3e40d8c0ed7930143ce3528c3d92c027818a48f11b383e7509731bc84c68482c60f302a5df7fa64b6f0170dd174f78b2dce451928f5ee81a0025372245f67027 WHIRLPOOL 9d355798a1b6481ea4bbede50e3392190d753b67cb090d51a9031a564ff7ab58407d6ae2b306051f9c91d2298ba6eb09527df0fc881a56ee05f14bd0d20ba124
AUX gpac-0.5.0-respect_ldflags.patch 1798 SHA256 c14ba6bf0f2c82af50760d3ba67fb15270788c072b992b8f4853608fd2eed48e SHA512 f1110271aaceb00bc6916c3bd533aabb48ec5ea26fb58051d0fabc201631e2229b8f563215ef66eb0c72eadd3984e505640b80c37f6ad5b4291b170ef7a4ddcf WHIRLPOOL 4b2cab4af3afab470eac1cc1fde94d8bc0d0741b9c3e40795df6ca5246228c8026ca6e7bb8f74694e9543b328a05363427117fbe203eec0390cc2f984071fa25
AUX gpac-0.5.1-build-fixes.patch 7240 SHA256 76fcf62705f2fafd5c5b8e58b796db6c2fe95330b1922e100e458b86565776ad SHA512 d7988345d73ab45a1c48bda02ae1a55db7298afdf649119433e58eccb7af2d9cd4d5370ff9d869e6804007a86d161b381e5ea535a92d1755f2a01a598d010d8b WHIRLPOOL dac48e1e5bea1e91f6845f0a7010a2e72822ece43a46ae9279772ac9cd4d38af3a1629ea2c4fd656c82e0277b9d53c89753bfe099474ac137ba03f8ffc314671
-DIST gpac-0.4.5-patches-8.tar.bz2 7263 SHA256 ed2b1bda99cd4a3dda49473876f36983ac3b7310e87f7f04cd2757de86515e57 SHA512 85806871c223722227d5b80bf8e45a25ffecdb842e1edc5586b50bfc2fb6c6fe0dfc3a414f90ffa9a64f02bcf3792be2ceea19784d27cf042e41b12be66dbde0 WHIRLPOOL 69a21a725277ace08c447e20307a955c99e7f2a9629731f0ed9b6ce5d1c7e4881cebee418415481148a82fcc7868bdb2e47174de8b7c6f7d00816fbbf2b0abfc
-DIST gpac-0.4.5-patches-9.tar.bz2 7370 SHA256 aee2cbdcc6256b320d4b9fd59ec82746f1bba797f3e604f2e5022cbef3cf89d5 SHA512 a40f0619680d5a022fd1a101555be599c834e983a432c1bb407b764a41128738298fac72ab1ae77d5a34afeced77e8099556d3c342da6980fccd01aec754102b WHIRLPOOL 9f88d3f7e3be5802d0210e184bbf8941cfa70c60e4fc4fe81d9d0764a2a934d4fb7f5bb61cdda8195b15f7e96d520ad6c71fb82324ce9b24e2cf91db7124e0c2
-DIST gpac-0.4.5.tar.gz 4269054 SHA256 f4039763ebec6630dc38e5e030c6573b47ced28fd009770c2e0e18b087753671 SHA512 96d4d9fcaa84542a81b28c775a748f06b27d5c4070e118b2c7ee6276b3078ade6e0478c08a44befcc69ef0ec50ed88dcd030c5d089c6cbb05dafdfd0d7f67ff6 WHIRLPOOL aa0aee06559591ee0886f1bb256abd1ca6c8899c381ae9185f1dfa3edc36c9b81f9bf666fd23c984dd8a715b29bbf700b7e063bf81dd14f339767fa0c30632ea
DIST gpac-0.5.0.tar.gz 7861057 SHA256 42971ac39511a1b6d1db39af664ce887b38c8657328c88cd200d87a02de81c24 SHA512 dee7701c791c441c1f050d9591d4e4dd7bdd2908f535233b114959c9a0adc256b3d5e40f5c84fd0f8b1c6764bfe6b35ec0af6bfd1fb056d593aeedca75105278 WHIRLPOOL 1797afa09864a1e9632c121dc2076963ec5e73395abdcd76896d23dc675e03847a42d733ae9fc3bb29bd26b7b336ea0f49e6e8e79c87a0bd0458cd429a7bf271
DIST gpac-0.5.1_pre5456.tar.xz 5938432 SHA256 81746ad1d9a8ae0a84c73652d1af5d86d9c36229b278422c13e353893893a83c SHA512 25883e32d83dc2b4649c506b86f745d2f8eaaaa75fff629b534205979aeb519a167243e62ec0d78e453d1edc27435acffd521a8c08a739cde05196f61e93ac47 WHIRLPOOL af5a89cb52802bc45edd29c6f0f5ce9f48decea16eef8a76c33c7161a6d48b3d43f1a2b4c3049d2f1f92d0c3f22b787a33c1652f42d2c0cf3b84ad58c2fb7589
-EBUILD gpac-0.4.5-r4.ebuild 4045 SHA256 e5e39be6c95b5ada9471c372ba1bc6035616e882aad433d265fc0a81787b7e5a SHA512 32cc005e078158d501abd9d03e253a6f6e15857df7ade86fc66c69d758553d94635dc847e34a9d37890fbdad49d7419838ab98bb7cc92a1b17abd87b61670fd6 WHIRLPOOL 2cfe3ddc561e461a97cc0d4dea685fbbe8d57a62db6f23a6fed2d09fccc93540b6b52a7f49b0fd7a25166842b4ca57fe34ab6c8bfb99212b13fb3c3e2be4e667
-EBUILD gpac-0.4.5-r5.ebuild 3927 SHA256 84b53a023e6baf9e61289bea1d2562797ff0e0abfe6f1551fccaab8a3b596455 SHA512 46b0eb2212c51923100b68490afa6f203cfe76fba6983ca407f9b6ced536bf2e9086b30ab0ce51144c3dfab118b1b8d4660c8a798ae67fc833cbc835177ac177 WHIRLPOOL f5fa634de1e4cfd1ec647c33ed74550e34c8e3c45ffc68538079c11557f5d3cb8f11240357a6762cfed163e147d2a085775abd32316d3e6d9d8ae1ccde982461
EBUILD gpac-0.5.0-r1.ebuild 3547 SHA256 6fe3ac4032ddb3df6c730a4ce26b2a1534ea935bd4aabd65d88a1cb503a837aa SHA512 80ef75f9e67a96352c77ca83854caa742fbc35d8d9250c42d3c3fb3dd517f6281b813bad7d88623038e8fb2264e1a5c93c48ce0cbc75c1be2dee72d1359c104b WHIRLPOOL fa4a1747a8b1797de59db8474b608dcf3054f933848f7e4ff57852977854f71d2ce2f0750125a86cd5d6c2c8d58e59862697df831c35485a6ab958636b0b8efe
EBUILD gpac-0.5.1_pre5456.ebuild 3209 SHA256 de9dcab1263d4342b4fdbe8e6d8d8937d1a82a9890abce35bbdb9803a1a85a4c SHA512 f0a110c5c85ddb2fc4f5b7469637f3068b2e2359a8a63f649de20c7d902ac108eef72432a1fd2294350f270702099cbd5620d05d2f6ff366139461a0599c4d02 WHIRLPOOL da088428252fedd5ae7903c1fc869cfd3b4d48b5c2c44cac05ab478a1827809b4e984dddeba24e8940e4e7da19b8f31ef94ce711b92e8b1064e8d5c63b174da6
EBUILD gpac-9999.ebuild 3057 SHA256 26605e028323bfb5c6fff77d59aa077bd9ed42998c325682cdb00341d116fbb9 SHA512 4ad7600f83d6bb252f7e23033dd445093dc82f349849d38114087afbe88ffab5af3e19bdd17d2db06a6dfc244427dd55c1e9b1ab384b90b412e2d411e3e80faa WHIRLPOOL d837c814ae16cf12293e523b0b1825f1bd2faf0e396616eec74130e0e7836e876c01f18cde35507bc5da815bcca513657cf6f66e1468cfdbd1c9efd8cf102893
-MISC ChangeLog 18460 SHA256 4bb8e1874dde8a917b2fda059e9e40188b343395278e5cbdb1a3870b194aabc9 SHA512 0b49cc96e69cf3adcf59a7d7d34cfde095d699b2694508da2cc9612726dddd013fec8e12f3e09dedca262782ebe97b869aca2d294d774c536e9bd13f8d286d3d WHIRLPOOL ecda7af9dedb76c3585d93fdebdd9bba4134e80fb231630fede1aa5b981f3f5a526befc17129bf985b864fa7b073356f8bdebf6ce6ac77d500eed6ed93c55119
+MISC ChangeLog 18568 SHA256 d5ca1972aabf9609f0be8a36baf491fd77f383380cbd20b6f3b4ee59bfb27974 SHA512 439df66f7d09c36b7613dd0a7bfa1d20d97148b744ab74891c381e204b36e7597d982f681a73757bd424d05a4dcbcc6040af6f8605fc82134e59b62151c2633a WHIRLPOOL 1f70b401e101e5349ab4fdc53712c8785b8b5d22c943dda603d208e4a6217fcd34a978e3844b7c579ac436e54b746da90501423b324145ab03d62f98c386e47f
MISC metadata.xml 233 SHA256 2e54b419554b54671e04a167f2fa56d52d8f0b509157ba98695c01d860b3196a SHA512 89b49780f54132f4768196e82bc7c534157728f4ec8db2a2ce9c2748859d136a7622d5239848010ab72aea19ebfb0eea3d8563737b5b888a09f56134e3424c87 WHIRLPOOL 86f0c2c9825ec94c962485b82d678e412401eb73e74d030cdc4308e015880b0a0e77bf5ea671f0920d5e9e91b5c732c13bdb5903fbb6d0485dfad9026d554e6c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iEYEAREIAAYFAlTcaGYACgkQvFcC4BYPU0oB6wCaA0Y7ctlmTar0IqwgbTGTNGtq
-BloAoIwuvBmASpbsbl3q8Qn6bYeE2PUt
-=s8RE
------END PGP SIGNATURE-----
diff --git a/media-video/gpac/gpac-0.4.5-r4.ebuild b/media-video/gpac/gpac-0.4.5-r4.ebuild
deleted file mode 100644
index ca037d996362..000000000000
--- a/media-video/gpac/gpac-0.4.5-r4.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5-r4.ebuild,v 1.15 2014/08/10 20:59:27 slyfox Exp $
-
-inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C"
-HOMEPAGE="http://gpac.sourceforge.net/"
-NBV="610"
-WBV="600"
-PATCHLEVEL="8"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="a52 aac alsa debug ffmpeg ipv6 jack jpeg jpeg2k javascript mad opengl oss png pulseaudio sdl ssl theora truetype vorbis wxwidgets xml xvid"
-
-S=${WORKDIR}/${PN}
-
-RDEPEND="
- a52? ( media-libs/a52dec )
- aac? ( >=media-libs/faad2-2.0 )
- alsa? ( media-libs/alsa-lib )
- ffmpeg? ( virtual/ffmpeg )
- jack? ( media-sound/jack-audio-connection-kit )
- jpeg? ( virtual/jpeg )
- javascript? ( >=dev-lang/spidermonkey-1.5 <dev-lang/spidermonkey-1.8.5 )
- mad? ( >=media-libs/libmad-0.15.1b )
- opengl? ( virtual/opengl media-libs/freeglut )
- >=media-libs/libogg-1.1
- png? ( >=media-libs/libpng-1.4 )
- vorbis? ( >=media-libs/libvorbis-1.1 )
- theora? ( media-libs/libtheora )
- truetype? ( >=media-libs/freetype-2.1.4 )
- wxwidgets? ( =x11-libs/wxGTK-2.8* )
- xml? ( >=dev-libs/libxml2-2.6.0 )
- xvid? ( >=media-libs/xvid-1.0.1 )
- sdl? ( media-libs/libsdl )
- jpeg2k? ( <media-libs/openjpeg-2 )
- ssl? ( dev-libs/openssl )
- pulseaudio? ( media-sound/pulseaudio )
- x11-libs/libXt
- x11-libs/libX11
- x11-libs/libXv
- x11-libs/libXext"
-
-DEPEND="${RDEPEND}"
-
-my_use() {
- local flag="$1" pflag="${2:-$1}"
- if use ${flag}; then
- echo "--use-${pflag}=system"
- else
- echo "--use-${pflag}=no"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
-
- sed -ie '/ldconfig / d' "${S}/Makefile"
-
- cd "${S}"
-
- # remove last of internal ogg
- sed -i \
- -e 's:<gpac/internal/ogg.h>:<ogg/ogg.h>:' \
- src/media_tools/{av_parsers,gpac_ogg,media_import,media_export}.c || die
- rm -f include/gpac/internal/ogg.h || die
-
- chmod +x configure
- # make sure configure looks for wx-2.6
- if use wxwidgets; then
- WX_GTK_VER=2.8
- need-wxwidgets unicode
- sed -i -e "s:wx-config:${WX_CONFIG}:g" configure
- else
- sed -i -e "s:wx-config:false:g" configure
- sed -i -e 's:^has_wx="yes:has_wx="no:' configure
- fi
-
- use sdl || sed -i 's:^has_sdl=yes:has_sdl=no:' configure
- use alsa || sed -i 's:^has_alsa="yes":has_alsa=no:' configure
-
- # make sure mozilla won't be used
- sed -i -e 's/osmozilla//g' applications/Makefile
-
- # use this to cut down on the warnings noise
- append-flags -fno-strict-aliasing
-
- # multilib libdir fix
- sed -i -e 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile
- sed -i -e 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure
-
- # --warn-common is linker option, not gcc's one
- sed -i 's/-Wl --warn-common/-Wl,--warn-common/g' configure
-}
-
-src_compile() {
- myconf="${myconf} --use-ogg=system"
- if use vorbis; then
- myconf="${myconf} --use-vorbis=system"
- fi
- if use theora; then
- myconf="${myconf} --use-theora=system"
- fi
-
- tc-export CC CXX
-
- econf \
- --enable-svg \
- --enable-pic \
- --disable-amr \
- $(use_enable debug) \
- $(use_enable opengl) \
- $(use_enable oss oss-audio) \
- $(use_enable ssl) \
- $(use_enable ipv6) \
- $(use_enable jack)=yes \
- $(use_enable pulseaudio)=yes \
- $(my_use ffmpeg) \
- $(my_use aac faad) \
- $(my_use jpeg) \
- $(my_use mad) \
- $(my_use javascript js) \
- $(my_use png) \
- $(my_use truetype ft) \
- $(my_use xvid) \
- $(my_use jpeg2k openjpeg) \
- $(my_use a52) \
- --cc="$(tc-getCC)" \
- ${myconf} || die "configure died"
-
- emake -j1 OPTFLAGS="${CFLAGS}" || die "emake failed."
-}
-
-src_install() {
- emake STRIP="true" OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install || die
- emake STRIP="true" OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install-lib || die
- dodoc AUTHORS BUGS Changelog README TODO
- dodoc doc/*.txt
- dohtml doc/*.html
-}
diff --git a/media-video/gpac/gpac-0.4.5-r5.ebuild b/media-video/gpac/gpac-0.4.5-r5.ebuild
deleted file mode 100644
index 2fbacfb50dfc..000000000000
--- a/media-video/gpac/gpac-0.4.5-r5.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5-r5.ebuild,v 1.8 2014/08/10 20:59:27 slyfox Exp $
-
-inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C"
-HOMEPAGE="http://gpac.sourceforge.net/"
-PATCHLEVEL="9"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="a52 aac alsa debug ffmpeg ipv6 jack jpeg jpeg2k mad opengl oss png pulseaudio sdl ssl theora truetype vorbis wxwidgets xml xvid"
-
-S=${WORKDIR}/${PN}
-
-RDEPEND="
- a52? ( media-libs/a52dec )
- aac? ( >=media-libs/faad2-2.0 )
- alsa? ( media-libs/alsa-lib )
- ffmpeg? ( virtual/ffmpeg )
- jack? ( media-sound/jack-audio-connection-kit )
- jpeg? ( virtual/jpeg )
- mad? ( >=media-libs/libmad-0.15.1b )
- opengl? ( virtual/opengl media-libs/freeglut )
- >=media-libs/libogg-1.1
- png? ( >=media-libs/libpng-1.4 )
- vorbis? ( >=media-libs/libvorbis-1.1 )
- theora? ( media-libs/libtheora )
- truetype? ( >=media-libs/freetype-2.1.4 )
- wxwidgets? ( =x11-libs/wxGTK-2.8* )
- xml? ( >=dev-libs/libxml2-2.6.0 )
- xvid? ( >=media-libs/xvid-1.0.1 )
- sdl? ( media-libs/libsdl )
- jpeg2k? ( <media-libs/openjpeg-2 )
- ssl? ( dev-libs/openssl )
- pulseaudio? ( media-sound/pulseaudio )
- x11-libs/libXt
- x11-libs/libX11
- x11-libs/libXv
- x11-libs/libXext"
-
-DEPEND="${RDEPEND}"
-
-my_use() {
- local flag="$1" pflag="${2:-$1}"
- if use ${flag}; then
- echo "--use-${pflag}=system"
- else
- echo "--use-${pflag}=no"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
-
- sed -ie '/ldconfig / d' "${S}/Makefile"
-
- cd "${S}"
-
- # remove last of internal ogg
- sed -i \
- -e 's:<gpac/internal/ogg.h>:<ogg/ogg.h>:' \
- src/media_tools/{av_parsers,gpac_ogg,media_import,media_export}.c || die
- rm -f include/gpac/internal/ogg.h || die
-
- chmod +x configure
- # make sure configure looks for wx-2.6
- if use wxwidgets; then
- WX_GTK_VER=2.8
- need-wxwidgets unicode
- sed -i -e "s:wx-config:${WX_CONFIG}:g" configure
- else
- sed -i -e "s:wx-config:false:g" configure
- sed -i -e 's:^has_wx="yes:has_wx="no:' configure
- fi
-
- use sdl || sed -i 's:^has_sdl=yes:has_sdl=no:' configure
- use alsa || sed -i 's:^has_alsa="yes":has_alsa=no:' configure
-
- # make sure mozilla won't be used
- sed -i -e 's/osmozilla//g' applications/Makefile
-
- # use this to cut down on the warnings noise
- append-flags -fno-strict-aliasing
-
- # multilib libdir fix
- sed -i -e 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile
- sed -i -e 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure
-
- # --warn-common is linker option, not gcc's one
- sed -i 's/-Wl --warn-common/-Wl,--warn-common/g' configure
-}
-
-src_compile() {
- myconf="${myconf} --use-ogg=system"
- if use vorbis; then
- myconf="${myconf} --use-vorbis=system"
- fi
- if use theora; then
- myconf="${myconf} --use-theora=system"
- fi
-
- tc-export CC CXX
-
- econf \
- --enable-svg \
- --enable-pic \
- --disable-amr \
- --use-js=no \
- $(use_enable debug) \
- $(use_enable opengl) \
- $(use_enable oss oss-audio) \
- $(use_enable ssl) \
- $(use_enable ipv6) \
- $(use_enable jack)=yes \
- $(use_enable pulseaudio)=yes \
- $(my_use ffmpeg) \
- $(my_use aac faad) \
- $(my_use jpeg) \
- $(my_use mad) \
- $(my_use png) \
- $(my_use truetype ft) \
- $(my_use xvid) \
- $(my_use jpeg2k openjpeg) \
- $(my_use a52) \
- --cc="$(tc-getCC)" \
- ${myconf} || die "configure died"
-
- emake -j1 OPTFLAGS="${CFLAGS}" || die "emake failed."
-}
-
-src_install() {
- emake STRIP="true" OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install || die
- emake STRIP="true" OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install-lib || die
- dodoc AUTHORS BUGS Changelog README TODO
- dodoc doc/*.txt
- dohtml doc/*.html
-}