summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-03-24 23:22:49 +0000
committerJames Le Cuirot <chewi@gentoo.org>2015-03-24 23:22:49 +0000
commit3e78912bca9b44187ee7c2153300ed9fde6e1e49 (patch)
tree160932e20e093057c6a4478481a1c34821a72344 /media-libs/glpng
parentEAPI=5 (diff)
downloadgentoo-2-3e78912bca9b44187ee7c2153300ed9fde6e1e49.tar.gz
gentoo-2-3e78912bca9b44187ee7c2153300ed9fde6e1e49.tar.bz2
gentoo-2-3e78912bca9b44187ee7c2153300ed9fde6e1e49.zip
Version bump. I'm taking over this package as I have upstream commit
access. Closes bug #332511 (CVE-2010-1519). (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)
Diffstat (limited to 'media-libs/glpng')
-rw-r--r--media-libs/glpng/ChangeLog11
-rw-r--r--media-libs/glpng/glpng-1.46.ebuild29
-rw-r--r--media-libs/glpng/metadata.xml6
3 files changed, 43 insertions, 3 deletions
diff --git a/media-libs/glpng/ChangeLog b/media-libs/glpng/ChangeLog
index 2fb85899c26b..2d806fc0623e 100644
--- a/media-libs/glpng/ChangeLog
+++ b/media-libs/glpng/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/glpng
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/ChangeLog,v 1.11 2012/10/12 15:39:34 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/ChangeLog,v 1.12 2015/03/24 23:22:49 chewi Exp $
+
+*glpng-1.46 (24 Mar 2015)
+
+ 24 Mar 2015; James Le Cuirot <chewi@gentoo.org> +glpng-1.46.ebuild,
+ metadata.xml:
+ Version bump. I'm taking over this package as I have upstream commit access.
+ Closes bug #332511 (CVE-2010-1519).
12 Oct 2012; Michael Sterrett <mr_bones_@gentoo.org> glpng-1.45-r1.ebuild:
add virtual/glu dep (bug #438128)
diff --git a/media-libs/glpng/glpng-1.46.ebuild b/media-libs/glpng/glpng-1.46.ebuild
new file mode 100644
index 000000000000..dd79c3c0d977
--- /dev/null
+++ b/media-libs/glpng/glpng-1.46.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/glpng-1.46.ebuild,v 1.1 2015/03/24 23:22:49 chewi Exp $
+
+EAPI=5
+
+inherit cmake-multilib
+
+DESCRIPTION="An OpenGL PNG image library"
+HOMEPAGE="http://repo.or.cz/w/glpng.git"
+SRC_URI="http://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="virtual/opengl
+ virtual/glu
+ media-libs/libpng:0=
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_configure() {
+ local mycmakeargs=( "$(cmake-utils_use_build static-libs STATIC_LIBS)" )
+ cmake-multilib_src_configure
+}
diff --git a/media-libs/glpng/metadata.xml b/media-libs/glpng/metadata.xml
index d3c2cc926f0b..d30d9a3bd0f4 100644
--- a/media-libs/glpng/metadata.xml
+++ b/media-libs/glpng/metadata.xml
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>games</herd>
+ <maintainer>
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <longdescription>This is a library for OpenGL to load PNG graphics files as an OpenGL texture as easily as possible. It also has a number of options for generating the alpha channel and mipmaps.</longdescription>
</pkgmetadata>