summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2009-12-12 20:12:45 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2009-12-12 20:12:45 +0000
commit5d777e973d4f4e54cbfc620a38acf7b9f51d9c2a (patch)
treedd483d88300ea0ca53be60a634985f4d196bcaa4 /media-sound/declick
parentVersion bump. (diff)
downloadgentoo-2-5d777e973d4f4e54cbfc620a38acf7b9f51d9c2a.tar.gz
gentoo-2-5d777e973d4f4e54cbfc620a38acf7b9f51d9c2a.tar.bz2
gentoo-2-5d777e973d4f4e54cbfc620a38acf7b9f51d9c2a.zip
added am64 keyword, switched to EAPI2, added utf-8 conversion for readme.
(Portage version: 2.2_rc58/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/declick')
-rw-r--r--media-sound/declick/ChangeLog5
-rw-r--r--media-sound/declick/declick-0.6.5.ebuild18
2 files changed, 16 insertions, 7 deletions
diff --git a/media-sound/declick/ChangeLog b/media-sound/declick/ChangeLog
index 43f26790fa21..75e28fb8154f 100644
--- a/media-sound/declick/ChangeLog
+++ b/media-sound/declick/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/declick
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/ChangeLog,v 1.4 2009/01/06 22:07:01 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/ChangeLog,v 1.5 2009/12/12 20:12:45 sbriesen Exp $
+
+ 12 Dec 2009; Stefan Briesenick <sbriesen@gentoo.org> declick-0.6.5.ebuild:
+ added am64 keyword, switched to EAPI2, added utf-8 conversion for readme.
06 Jan 2009; Stefan Briesenick <sbriesen@gentoo.org> declick-0.6.5.ebuild:
removed strip from Makefile, solving bug #251957.
diff --git a/media-sound/declick/declick-0.6.5.ebuild b/media-sound/declick/declick-0.6.5.ebuild
index 00b5bf0080de..388700ff65ad 100644
--- a/media-sound/declick/declick-0.6.5.ebuild
+++ b/media-sound/declick/declick-0.6.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/declick-0.6.5.ebuild,v 1.4 2009/01/06 22:07:01 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/declick/declick-0.6.5.ebuild,v 1.5 2009/12/12 20:12:45 sbriesen Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs
@@ -10,16 +12,20 @@ SRC_URI="http://home.snafu.de/wahlm/dl8hbs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~amd64 x86"
IUSE=""
DEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# add $LDFLAGS to link command
sed -i -e "s:\(-o declick\):\$(LDFLAGS) \1:g" Makefile
+
+ # convert docs to utf-8
+ if [ -x "$(type -p iconv)" ]; then
+ for X in README; do
+ iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || rm -f "${X}~"
+ done
+ fi
}
src_compile() {