Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glpng/
Date: Sun, 16 Sep 2018 08:03:35
Message-Id: 1537084992.cbacc2b301678cbd27982a04c88b4b8c636db817.asturm@gentoo
1 commit: cbacc2b301678cbd27982a04c88b4b8c636db817
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 15 22:08:05 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 16 08:03:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbacc2b3
7
8 media-libs/glpng: EAPI-6 bump
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 media-libs/glpng/glpng-1.46-r1.ebuild | 15 +++++++++------
13 1 file changed, 9 insertions(+), 6 deletions(-)
14
15 diff --git a/media-libs/glpng/glpng-1.46-r1.ebuild b/media-libs/glpng/glpng-1.46-r1.ebuild
16 index 62312ed6df6..2753b6ec685 100644
17 --- a/media-libs/glpng/glpng-1.46-r1.ebuild
18 +++ b/media-libs/glpng/glpng-1.46-r1.ebuild
19 @@ -1,7 +1,8 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=6
26 +
27 inherit cmake-multilib
28
29 DESCRIPTION="An OpenGL PNG image library"
30 @@ -13,15 +14,17 @@ SLOT="0"
31 KEYWORDS="amd64 ppc x86"
32 IUSE="static-libs"
33
34 -RDEPEND="virtual/opengl[${MULTILIB_USEDEP}]
35 - virtual/glu[${MULTILIB_USEDEP}]
36 +RDEPEND="
37 media-libs/libpng:0=[${MULTILIB_USEDEP}]
38 - sys-libs/zlib:=[${MULTILIB_USEDEP}]"
39 + sys-libs/zlib:=[${MULTILIB_USEDEP}]
40 + virtual/glu[${MULTILIB_USEDEP}]
41 + virtual/opengl[${MULTILIB_USEDEP}]
42 +"
43 DEPEND=${RDEPEND}
44
45 S=${WORKDIR}/${PN}
46
47 src_configure() {
48 - local mycmakeargs=( "$(cmake-utils_use_build static-libs STATIC_LIBS)" )
49 + local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) )
50 cmake-multilib_src_configure
51 }