mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-video/gpac: cleanup old
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST gpac-0.8.1.tar.gz 11432459 BLAKE2B 5c08d6c903b4865c19818c5cee07c0a0ebd1775f168740eadc3722d6b19ed685d4f6089cee4bbd68a52bf7cce4cf564c083deb629c47ba35eac66c754f3136cf SHA512 f2039fe91a502ea8c54330abf893d52d10fb57d4459f5f3aae28122f565ab8964011b67e6af0d79c170fa55b125ac1385fd1d280021da7d1d37b27c74ee5b6c1
|
||||
DIST gpac-1.0.0.tar.gz 10289999 BLAKE2B 9bd1134a53c59fae59bb18a2e4f8c5db0639fbbc7e2270a16d8a621c3cb37529c7bdf536b0ac71227579b3b6c09305960775f6676a1f4d0f15b3cf3ae99b91ef SHA512 930b4b02f1d68554a99b9fde3faf6a429d78a86522b52da7601a40907d41e159724c935952becc008ae626001cb23543e446125dfb58764513d5808197ec4e29
|
||||
DIST gpac-1.0.1.tar.gz 10352926 BLAKE2B 80bdbd568551f9028a44acfa0cfeba585b69f24392393c1fb1bfe16f4b614eb79cda5f641f0b61854734f0dd85eb17520c2012040d3c47d68f66e5beb66fb2db SHA512 533371d59e72250bef315be03ec3437cd66782d0fb6bdb6486a6f4d57d06a6a7deff1b31fe8bfd360be1d1c848b33b5d25e7268f56f27f8e92cbcb7da1aba82b
|
||||
|
||||
@@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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"
|
||||
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/10"
|
||||
IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k libressl mad opengl oss png
|
||||
pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid X"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
media-libs/libogg
|
||||
a52? ( media-libs/a52dec )
|
||||
aac? ( media-libs/faad2 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
ffmpeg? ( media-video/ffmpeg:0= )
|
||||
jack? ( virtual/jack )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:2 )
|
||||
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 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dvb? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.8.1-configure.patch"
|
||||
"${FILESDIR}/${PN}-1.0.0-makefile-debian.patch"
|
||||
"${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
share/doc/CODING_STYLE
|
||||
share/doc/GPAC\ UPnP.doc
|
||||
share/doc/ISO\ 639-2\ codes.txt
|
||||
share/doc/SceneGenerators
|
||||
share/doc/ipmpx_syntax.bt
|
||||
Changelog
|
||||
README.md
|
||||
)
|
||||
|
||||
HTML_DOCS="share/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
|
||||
--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="${ED}" install
|
||||
emake STRIP="true" DESTDIR="${ED}" install-lib
|
||||
}
|
||||
Reference in New Issue
Block a user