You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
700 B
32 lines
700 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
CMAKE_ECLASS=cmake
|
|
inherit cmake-multilib
|
|
|
|
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"
|
|
|
|
LICENSE="ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="static-libs"
|
|
|
|
RDEPEND="
|
|
media-libs/libpng:0=[${MULTILIB_USEDEP}]
|
|
sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
|
virtual/glu[${MULTILIB_USEDEP}]
|
|
virtual/opengl[${MULTILIB_USEDEP}]
|
|
"
|
|
DEPEND=${RDEPEND}
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) )
|
|
cmake-multilib_src_configure
|
|
}
|