summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2006-12-09 19:55:08 +0000
committerHans de Graaff <graaff@gentoo.org>2006-12-09 19:55:08 +0000
commit7158041b36aa2ecb9930cbcb0da6ea04fc0a34bf (patch)
tree11b6d459a36f5c8aacf4845f6ad43c9b22587e8b /media-gfx/pngtoico
parentunmask >=net-analyzer/snort-2.6.0 (diff)
downloadgentoo-2-7158041b36aa2ecb9930cbcb0da6ea04fc0a34bf.tar.gz
gentoo-2-7158041b36aa2ecb9930cbcb0da6ea04fc0a34bf.tar.bz2
gentoo-2-7158041b36aa2ecb9930cbcb0da6ea04fc0a34bf.zip
Version bump; drop ppc-macos keyword.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-gfx/pngtoico')
-rw-r--r--media-gfx/pngtoico/ChangeLog10
-rw-r--r--media-gfx/pngtoico/files/digest-pngtoico-1.0.13
-rw-r--r--media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch15
-rw-r--r--media-gfx/pngtoico/metadata.xml3
-rw-r--r--media-gfx/pngtoico/pngtoico-1.0.1.ebuild31
-rw-r--r--media-gfx/pngtoico/pngtoico-1.0.ebuild4
6 files changed, 62 insertions, 4 deletions
diff --git a/media-gfx/pngtoico/ChangeLog b/media-gfx/pngtoico/ChangeLog
index d59375795718..856fcfd1aea8 100644
--- a/media-gfx/pngtoico/ChangeLog
+++ b/media-gfx/pngtoico/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/pngtoico
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.10 2006/10/08 16:34:47 malc Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.11 2006/12/09 19:55:08 graaff Exp $
+
+*pngtoico-1.0.1 (09 Dec 2006)
+
+ 09 Dec 2006; Hans de Graaff <graaff@gentoo.org>
+ +files/pngtoico-1.0.1-Makefile.patch, metadata.xml, pngtoico-1.0.ebuild,
+ +pngtoico-1.0.1.ebuild:
+ Version bump to 1.0.1 with only copyright changes in the code. Drop ~ppc-macos
+ due to dropped keyword on current libpng. Add myself as maintainer.
08 Oct 2006; <malc@gentoo.org> pngtoico-1.0.ebuild:
Stable on amd64 - bug #150440
diff --git a/media-gfx/pngtoico/files/digest-pngtoico-1.0.1 b/media-gfx/pngtoico/files/digest-pngtoico-1.0.1
new file mode 100644
index 000000000000..6f8890a84abb
--- /dev/null
+++ b/media-gfx/pngtoico/files/digest-pngtoico-1.0.1
@@ -0,0 +1,3 @@
+MD5 991dfa42783f9b798051c04dccc7f36f pngtoico-1.0.1.tar.bz2 4355
+RMD160 a8dc5d1618ed9ba077836357516404ff85f7c5b9 pngtoico-1.0.1.tar.bz2 4355
+SHA256 63201bf4abff473ee7056bd1c8f54c5eaaade2d9e42ae04ca7426812d64e522b pngtoico-1.0.1.tar.bz2 4355
diff --git a/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch b/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch
new file mode 100644
index 000000000000..4350bb6359e9
--- /dev/null
+++ b/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch
@@ -0,0 +1,15 @@
+--- Makefile 2002-01-01 22:46:46.000000000 +0000
++++ Makefile.new 2002-11-11 01:11:12.000000000 +0000
+@@ -21,9 +21,9 @@
+ man1dir = $(mandir)/man1
+
+ CC = gcc -W -Wall
+-CFLAGS = -O2 -fomit-frame-pointer
+-LDFLAGS = -s
+-LIBS = -lpng
++CFLAGS += -fomit-frame-pointer `libpng-config --cflags`
++LDFLAGS = `libpng-config --ldflags`
++LIBS = `libpng-config --libs`
+ INSTALL = install
+ INSTALL_EXEC = $(INSTALL) -c -m 755
+ INSTALL_DATA = $(INSTALL) -c -m 644
diff --git a/media-gfx/pngtoico/metadata.xml b/media-gfx/pngtoico/metadata.xml
index 54494c4bb860..84d4c6fa89e9 100644
--- a/media-gfx/pngtoico/metadata.xml
+++ b/media-gfx/pngtoico/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
-<email>maintainer-needed@gentoo.org</email>
+<email>graaff@gentoo.org</email>
+<name>Hans de Graaff</name>
</maintainer>
</pkgmetadata>
diff --git a/media-gfx/pngtoico/pngtoico-1.0.1.ebuild b/media-gfx/pngtoico/pngtoico-1.0.1.ebuild
new file mode 100644
index 000000000000..a9019a63125d
--- /dev/null
+++ b/media-gfx/pngtoico/pngtoico-1.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.1.ebuild,v 1.1 2006/12/09 19:55:08 graaff Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Convert png images to MS ico format"
+HOMEPAGE="http://www.kernel.org/pub/software/graphics/pngtoico/"
+SRC_URI="mirror://kernel/software/graphics/pngtoico/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libpng"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-Makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin pngtoico
+ doman pngtoico.1
+}
diff --git a/media-gfx/pngtoico/pngtoico-1.0.ebuild b/media-gfx/pngtoico/pngtoico-1.0.ebuild
index f3dc35fb774c..77adf980598a 100644
--- a/media-gfx/pngtoico/pngtoico-1.0.ebuild
+++ b/media-gfx/pngtoico/pngtoico-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.ebuild,v 1.11 2006/10/08 16:34:47 malc Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.ebuild,v 1.12 2006/12/09 19:55:08 graaff Exp $
inherit eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="mirror://kernel/software/graphics/pngtoico/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc-macos x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE=""
DEPEND="media-libs/libpng"