summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-08-22 11:16:58 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-08-22 11:16:58 +0200
commit7572631c02d9cd344896f44e5d3999cc5c58668d (patch)
tree260052154d03ae93f325a72261b20ea56520968f /media-video/gpac/gpac-9999.ebuild
parentgames-strategy/freeciv: Bump to version 2.5.1 (diff)
downloadgentoo-7572631c02d9cd344896f44e5d3999cc5c58668d.tar.gz
gentoo-7572631c02d9cd344896f44e5d3999cc5c58668d.tar.bz2
gentoo-7572631c02d9cd344896f44e5d3999cc5c58668d.zip
media-video/gpac-9999: update to use github instead of sf.net
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-video/gpac/gpac-9999.ebuild')
-rw-r--r--media-video/gpac/gpac-9999.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/media-video/gpac/gpac-9999.ebuild b/media-video/gpac/gpac-9999.ebuild
index d2209c42a53b..ab5603b67980 100644
--- a/media-video/gpac/gpac-9999.ebuild
+++ b/media-video/gpac/gpac-9999.ebuild
@@ -5,12 +5,13 @@
EAPI=4
if [[ ${PV} == *9999 ]] ; then
- SCM="subversion"
- ESVN_REPO_URI="svn://svn.code.sf.net/p/gpac/code/trunk/gpac"
+ SCM="git-r3"
+ EGIT_REPO_URI="https://github.com/gpac/gpac"
KEYWORDS=""
else
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+ SRC_URI="https://github.com/gpac/gpac/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+ S="${WORKDIR}"/${PN}
fi
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
@@ -22,7 +23,6 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="a52 aac alsa debug dvb ffmpeg ipv6 jack jpeg jpeg2k mad opengl oss png pulseaudio sdl ssl static-libs theora truetype vorbis xml xvid"
-S="${WORKDIR}"/${PN}
RDEPEND="
a52? ( media-libs/a52dec )
@@ -65,7 +65,8 @@ my_use() {
src_prepare() {
epatch "${FILESDIR}"/110_all_implicitdecls.patch \
- "${FILESDIR}"/${PN}-0.5.1-build-fixes.patch
+ "${FILESDIR}"/${PN}-0.5.2-static-libs.patch \
+ "${FILESDIR}"/${PN}-0.5.2-gf_isom_set_pixel_aspect_ratio.patch
sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die
}
@@ -103,13 +104,14 @@ src_configure() {
$(my_use xvid) \
--extra-cflags="${CFLAGS}" \
--cc="$(tc-getCC)" \
- --libdir="/$(get_libdir)"
+ --libdir="/$(get_libdir)" \
+ --verbose
}
src_install() {
emake STRIP="true" DESTDIR="${D}" install
emake STRIP="true" DESTDIR="${D}" install-lib
- dodoc AUTHORS BUGS Changelog README TODO INSTALLME
+ dodoc AUTHORS BUGS Changelog README.md TODO
dodoc doc/*.txt
dohtml doc/*.html
}