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
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}
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
}