diff options
author | David Seifert <soap@gentoo.org> | 2017-10-15 19:12:40 -0700 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-10-15 19:46:29 -0700 |
commit | d4430f82401823e376008de2752a39daf786037d (patch) | |
tree | 4787c5f9696deb2a4ca5a967354ea2a71d8d92bb /media-gfx/freepv | |
parent | media-gfx/converseen: [QA] Add cmake-utils_src_prepare (diff) | |
download | gentoo-d4430f82401823e376008de2752a39daf786037d.tar.gz gentoo-d4430f82401823e376008de2752a39daf786037d.tar.bz2 gentoo-d4430f82401823e376008de2752a39daf786037d.zip |
media-gfx/freepv: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-gfx/freepv')
-rw-r--r-- | media-gfx/freepv/freepv-0.3.0-r4.ebuild | 16 | ||||
-rw-r--r-- | media-gfx/freepv/freepv-0.3.0-r5.ebuild | 4 |
2 files changed, 12 insertions, 8 deletions
diff --git a/media-gfx/freepv/freepv-0.3.0-r4.ebuild b/media-gfx/freepv/freepv-0.3.0-r4.ebuild index e3ce52045164..464bdb32ea38 100644 --- a/media-gfx/freepv/freepv-0.3.0-r4.ebuild +++ b/media-gfx/freepv/freepv-0.3.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -23,12 +23,16 @@ DEPEND="dev-libs/libxml2 x11-libs/libXxf86vm" RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-gcc44.patch + "${FILESDIR}"/${P}-gcc46.patch + "${FILESDIR}"/${P}-noplugin.patch + "${FILESDIR}"/${P}-libpng14.patch + "${FILESDIR}"/${P}-stringh.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-gcc44.patch \ - "${FILESDIR}"/${P}-gcc46.patch \ - "${FILESDIR}"/${P}-noplugin.patch \ - "${FILESDIR}"/${P}-libpng14.patch \ - "${FILESDIR}"/${P}-stringh.patch + cmake-utils_src_prepare sed -i \ -e 's:jpeg_mem_src:freepv_jpeg_mem_src:g' \ diff --git a/media-gfx/freepv/freepv-0.3.0-r5.ebuild b/media-gfx/freepv/freepv-0.3.0-r5.ebuild index 412a59122a04..fb4eeffb23c1 100644 --- a/media-gfx/freepv/freepv-0.3.0-r5.ebuild +++ b/media-gfx/freepv/freepv-0.3.0-r5.ebuild @@ -33,11 +33,11 @@ PATCHES=( ) src_prepare() { + cmake-utils_src_prepare + sed -e 's:jpeg_mem_src:freepv_jpeg_mem_src:g' \ -i src/libfreepv/JpegReader.cpp || die sed -e 's:^INSTALL(.*)::' \ -i src/libfreepv/CMakeLists.txt || die - - default } |