Skip to content

Commit

Permalink
media-libs/glpng: EAPI-6 bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
a17r committed Sep 16, 2018
1 parent bed9712 commit cbacc2b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions media-libs/glpng/glpng-1.46-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAPI=6

inherit cmake-multilib

DESCRIPTION="An OpenGL PNG image library"
Expand All @@ -13,15 +14,17 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="static-libs"

RDEPEND="virtual/opengl[${MULTILIB_USEDEP}]
virtual/glu[${MULTILIB_USEDEP}]
RDEPEND="
media-libs/libpng:0=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]"
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/glu[${MULTILIB_USEDEP}]
virtual/opengl[${MULTILIB_USEDEP}]
"
DEPEND=${RDEPEND}

S=${WORKDIR}/${PN}

src_configure() {
local mycmakeargs=( "$(cmake-utils_use_build static-libs STATIC_LIBS)" )
local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) )
cmake-multilib_src_configure
}

0 comments on commit cbacc2b

Please sign in to comment.