summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-17 10:03:08 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-17 10:03:08 +0000
commit7f6f000b72733f1822524279b6e456d71868795a (patch)
treec739251bb5014a157dba031200afef64968a50fc /media-gfx/pngtoico
parentNew snapshot, to be tested (diff)
downloadgentoo-2-7f6f000b72733f1822524279b6e456d71868795a.tar.gz
gentoo-2-7f6f000b72733f1822524279b6e456d71868795a.tar.bz2
gentoo-2-7f6f000b72733f1822524279b6e456d71868795a.zip
Don't strip binary during linking (leave it to Portage), use the correct compiler, add maintainer-needed metadata.
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'media-gfx/pngtoico')
-rw-r--r--media-gfx/pngtoico/ChangeLog9
-rw-r--r--media-gfx/pngtoico/files/digest-pngtoico-1.02
-rw-r--r--media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch2
-rw-r--r--media-gfx/pngtoico/metadata.xml8
-rw-r--r--media-gfx/pngtoico/pngtoico-1.0.ebuild8
5 files changed, 22 insertions, 7 deletions
diff --git a/media-gfx/pngtoico/ChangeLog b/media-gfx/pngtoico/ChangeLog
index d76a65033db7..929ac6a52b55 100644
--- a/media-gfx/pngtoico/ChangeLog
+++ b/media-gfx/pngtoico/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/pngtoico
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.8 2005/10/30 19:06:05 grobian Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.9 2006/05/17 10:03:08 flameeyes Exp $
+
+ 17 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pngtoico-1.0-Makefile.patch, +metadata.xml, pngtoico-1.0.ebuild:
+ Don't strip binary during linking (leave it to Portage), use the correct
+ compiler, add maintainer-needed metadata.
30 Oct 2005; Fabian Groffen <grobian@gentoo.org> pngtoico-1.0.ebuild:
Marked ~ppc-macos (bug #110829)
diff --git a/media-gfx/pngtoico/files/digest-pngtoico-1.0 b/media-gfx/pngtoico/files/digest-pngtoico-1.0
index 65ae33aef047..a234972c18c0 100644
--- a/media-gfx/pngtoico/files/digest-pngtoico-1.0
+++ b/media-gfx/pngtoico/files/digest-pngtoico-1.0
@@ -1 +1,3 @@
MD5 995efd27a1011f30a9ff72aa148fdc66 pngtoico-1.0.tar.bz2 4480
+RMD160 866444acfed6b1583d2fcfc29687f0e7d7218f05 pngtoico-1.0.tar.bz2 4480
+SHA256 567732d665b3c4590654007a640679ee9cff2bf4113218a7dbfa9ac392b06421 pngtoico-1.0.tar.bz2 4480
diff --git a/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch b/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch
index 859f7bf9ef60..4350bb6359e9 100644
--- a/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch
+++ b/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch
@@ -8,7 +8,7 @@
-LDFLAGS = -s
-LIBS = -lpng
+CFLAGS += -fomit-frame-pointer `libpng-config --cflags`
-+LDFLAGS = -s `libpng-config --ldflags`
++LDFLAGS = `libpng-config --ldflags`
+LIBS = `libpng-config --libs`
INSTALL = install
INSTALL_EXEC = $(INSTALL) -c -m 755
diff --git a/media-gfx/pngtoico/metadata.xml b/media-gfx/pngtoico/metadata.xml
new file mode 100644
index 000000000000..54494c4bb860
--- /dev/null
+++ b/media-gfx/pngtoico/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>maintainer-needed@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-gfx/pngtoico/pngtoico-1.0.ebuild b/media-gfx/pngtoico/pngtoico-1.0.ebuild
index 0953495c783d..6ad2755744d4 100644
--- a/media-gfx/pngtoico/pngtoico-1.0.ebuild
+++ b/media-gfx/pngtoico/pngtoico-1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# 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.9 2005/10/30 19:06:05 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.ebuild,v 1.10 2006/05/17 10:03:08 flameeyes Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="Convert png images to MS ico format"
HOMEPAGE="http://www.kernel.org/pub/software/graphics/pngtoico/"
@@ -22,7 +22,7 @@ src_unpack() {
}
src_compile() {
- emake || die
+ emake CC="$(tc-getCC)" || die
}
src_install() {