summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-09 09:04:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-09 09:04:00 +0000
commit78cdd11ba52955c2bb703f5ef38ab470e1579f08 (patch)
treefcf8e494be0c4126532a0cf528c58c407b3aaf65 /media-gfx
parentRemove vulnerable version, bug 386369. (diff)
downloadgentoo-2-78cdd11ba52955c2bb703f5ef38ab470e1579f08.tar.gz
gentoo-2-78cdd11ba52955c2bb703f5ef38ab470e1579f08.tar.bz2
gentoo-2-78cdd11ba52955c2bb703f5ef38ab470e1579f08.zip
Initial commit wrt #253323 by Erik Hahn
(Portage version: 2.2.0_alpha63/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/png2ico/ChangeLog10
-rw-r--r--media-gfx/png2ico/metadata.xml5
-rw-r--r--media-gfx/png2ico/png2ico-2002.12.08.ebuild39
3 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/png2ico/ChangeLog b/media-gfx/png2ico/ChangeLog
new file mode 100644
index 000000000000..857c48a286db
--- /dev/null
+++ b/media-gfx/png2ico/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/png2ico
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/png2ico/ChangeLog,v 1.1 2011/10/09 09:04:00 ssuominen Exp $
+
+*png2ico-2002.12.08 (09 Oct 2011)
+
+ 09 Oct 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +png2ico-2002.12.08.ebuild:
+ Initial commit wrt #253323 by Erik Hahn
+
diff --git a/media-gfx/png2ico/metadata.xml b/media-gfx/png2ico/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-gfx/png2ico/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>
diff --git a/media-gfx/png2ico/png2ico-2002.12.08.ebuild b/media-gfx/png2ico/png2ico-2002.12.08.ebuild
new file mode 100644
index 000000000000..dda9667905a6
--- /dev/null
+++ b/media-gfx/png2ico/png2ico-2002.12.08.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/png2ico/png2ico-2002.12.08.ebuild,v 1.1 2011/10/09 09:04:00 ssuominen Exp $
+
+EAPI=4
+inherit toolchain-funcs
+
+DESCRIPTION="PNG to icon converter"
+HOMEPAGE="http://winterdrache.de/freeware/png2ico/index.html"
+SRC_URI="http://winterdrache.de/freeware/${PN}/data/${PN}-src-${PV/./-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i \
+ -e 's:CPPFLAGS=-W -Wall -O2:CXXFLAGS+=-W -Wall:' \
+ -e 's:g++ $(CPPFLAGS):$(CXX) $(LDFLAGS) $(CXXFLAGS):' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CXX
+ emake DEBUG=""
+}
+
+src_install() {
+ dobin png2ico
+ dodoc doc/bmp.txt README
+ doman doc/png2ico.1
+}