media-libs/glpng: EAPI-7, use cmake.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 19 Mar 2020 12:08:43 +0000 (13:08 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 19 Mar 2020 23:15:00 +0000 (00:15 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-libs/glpng/glpng-1.46-r1.ebuild

index 3aa5db0f4ed180403a380fe9e19f4b8e0de645c3..dca30f664f66a796b6efd117e9540a366347b3dd 100644 (file)
@@ -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) )