diff options
author | David Seifert <soap@gentoo.org> | 2016-12-06 22:57:38 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-12-06 22:59:00 +0100 |
commit | 9f4a47a732c6042380d133ec1825d6187666bcf6 (patch) | |
tree | 723f64fe83f0edf47631041320e3d4c2b2950a6e /media-libs/devil/devil-1.7.8-r2.ebuild | |
parent | dev-python/gst-python: arm stable, bug #587010 (diff) | |
download | gentoo-9f4a47a732c6042380d133ec1825d6187666bcf6.tar.gz gentoo-9f4a47a732c6042380d133ec1825d6187666bcf6.tar.bz2 gentoo-9f4a47a732c6042380d133ec1825d6187666bcf6.zip |
media-libs/devil: Port to EAPI 6
Gentoo-bug: 600188
* Make PATCHES -p1 compliant
* Delete .la files unconditionally
Package-Manager: portage-2.3.3
Diffstat (limited to 'media-libs/devil/devil-1.7.8-r2.ebuild')
-rw-r--r-- | media-libs/devil/devil-1.7.8-r2.ebuild | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/media-libs/devil/devil-1.7.8-r2.ebuild b/media-libs/devil/devil-1.7.8-r2.ebuild index 8da20b420c2c..d999b8817f22 100644 --- a/media-libs/devil/devil-1.7.8-r2.ebuild +++ b/media-libs/devil/devil-1.7.8-r2.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit autotools eutils +EAPI=6 + +inherit autotools MY_P=DevIL-${PV} @@ -14,9 +15,10 @@ SRC_URI="mirror://sourceforge/openil/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86" -IUSE="allegro gif glut jpeg jpeg2k mng nvtt openexr opengl png sdl cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static-libs tiff xpm X" +IUSE="allegro cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 gif glut jpeg jpeg2k mng nvtt openexr opengl png sdl static-libs tiff X xpm" -RDEPEND="allegro? ( media-libs/allegro:0 ) +RDEPEND=" + allegro? ( media-libs/allegro:0 ) gif? ( media-libs/giflib:= ) glut? ( media-libs/freeglut ) jpeg? ( virtual/jpeg:0 ) @@ -29,16 +31,25 @@ RDEPEND="allegro? ( media-libs/allegro:0 ) png? ( media-libs/libpng:0= ) sdl? ( media-libs/libsdl ) tiff? ( media-libs/tiff:0 ) - xpm? ( x11-libs/libXpm ) X? ( x11-libs/libXext x11-libs/libX11 - x11-libs/libXrender )" + x11-libs/libXrender ) + xpm? ( x11-libs/libXpm )" DEPEND="${RDEPEND} virtual/pkgconfig X? ( x11-proto/xextproto )" +PATCHES=( + "${FILESDIR}/${P}"-CVE-2009-3994.patch + "${FILESDIR}/${P}"-libpng14.patch + "${FILESDIR}/${P}"-nvtt-glut.patch + "${FILESDIR}/${P}"-ILUT.patch + "${FILESDIR}/${P}"-restrict.patch + "${FILESDIR}/${P}"-fix-test.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-{CVE-2009-3994,libpng14,nvtt-glut,ILUT,restrict,fix-test}.patch + default eautoreconf } @@ -74,5 +85,7 @@ src_configure() { src_install() { default - use static-libs || prune_libtool_files + + # package provides .pc files + find "${D}" -name '*.la' -delete || die } |