summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 d2209c42a53..ab5603b6798 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
}