summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 13:08:43 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-20 00:15:00 +0100
commitbfe57aa23ecb1964365556af80a52976586f36f1 (patch)
tree392d157242cf976c21b22d78a0a4eb64ff96a8d9 /media-libs
parentnet-vpn/wireguard-tools: bump to 20200319 (diff)
downloadgentoo-bfe57aa23ecb1964365556af80a52976586f36f1.tar.gz
gentoo-bfe57aa23ecb1964365556af80a52976586f36f1.tar.bz2
gentoo-bfe57aa23ecb1964365556af80a52976586f36f1.zip
media-libs/glpng: EAPI-7, use cmake.eclass
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/glpng/glpng-1.46-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-libs/glpng/glpng-1.46-r1.ebuild b/media-libs/glpng/glpng-1.46-r1.ebuild
index 3aa5db0f4ed1..dca30f664f66 100644
--- a/media-libs/glpng/glpng-1.46-r1.ebuild
+++ b/media-libs/glpng/glpng-1.46-r1.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+CMAKE_ECLASS=cmake
inherit cmake-multilib
-DESCRIPTION="An OpenGL PNG image library"
+DESCRIPTION="OpenGL PNG image library"
HOMEPAGE="https://repo.or.cz/w/glpng.git"
SRC_URI="https://repo.or.cz/w/glpng.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -22,7 +23,7 @@ RDEPEND="
"
DEPEND=${RDEPEND}
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_configure() {
local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) )