media-video/gpac-9999: minor updates.
authorAlexis Ballier <aballier@gentoo.org>
Sat, 22 Aug 2015 09:20:14 +0000 (11:20 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 22 Aug 2015 09:20:14 +0000 (11:20 +0200)
Rename patch to ...-0.5.3-... as it does not apply to 0.5.2.
Do not override S for releases.

Package-Manager: portage-2.2.20.1

media-video/gpac/files/gpac-0.5.3-static-libs.patch [moved from media-video/gpac/files/gpac-0.5.2-static-libs.patch with 100% similarity]
media-video/gpac/gpac-9999.ebuild

index ab5603b67980a6449978a8156ce6e15ffc696c89..2c15ff5f9bd4fc89c4aada252483a1260982641a 100644 (file)
@@ -11,7 +11,6 @@ if [[ ${PV} == *9999 ]] ; then
 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"
-       S="${WORKDIR}"/${PN}
 fi
 
 inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
@@ -65,7 +64,7 @@ my_use() {
 
 src_prepare() {
        epatch  "${FILESDIR}"/110_all_implicitdecls.patch \
-                       "${FILESDIR}"/${PN}-0.5.2-static-libs.patch \
+                       "${FILESDIR}"/${PN}-0.5.3-static-libs.patch \
                        "${FILESDIR}"/${PN}-0.5.2-gf_isom_set_pixel_aspect_ratio.patch
        sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die
 }