summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-13 06:10:55 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-13 06:10:55 +0000
commitc4b47ac3568675414636d0b5ca8acf3c259ffd00 (patch)
tree67c551eedc37388c155ec880d226e7119517ce08 /media-libs/tse3/tse3-0.2.7.ebuild
parentAdded -fpermissive to work with gcc-3.4. Adde ~sparc and ~amd64. Thanks to ... (diff)
downloadgentoo-2-c4b47ac3568675414636d0b5ca8acf3c259ffd00.tar.gz
gentoo-2-c4b47ac3568675414636d0b5ca8acf3c259ffd00.tar.bz2
gentoo-2-c4b47ac3568675414636d0b5ca8acf3c259ffd00.zip
Moved patching goodness to src_unpack(). Added to ~sparc.
Diffstat (limited to 'media-libs/tse3/tse3-0.2.7.ebuild')
-rw-r--r--media-libs/tse3/tse3-0.2.7.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/media-libs/tse3/tse3-0.2.7.ebuild b/media-libs/tse3/tse3-0.2.7.ebuild
index 18103b3f7576..32111d3aee9c 100644
--- a/media-libs/tse3/tse3-0.2.7.ebuild
+++ b/media-libs/tse3/tse3-0.2.7.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.2.7.ebuild,v 1.8 2004/06/24 23:24:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.2.7.ebuild,v 1.9 2004/07/13 06:10:55 eradicator Exp $
+
+IUSE="alsa oss arts"
inherit eutils
@@ -10,16 +12,20 @@ SRC_URI="mirror://sourceforge/tse3/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc ~amd64"
-IUSE="alsa oss arts"
+KEYWORDS="x86 ~ppc ~amd64 ~sparc"
DEPEND="alsa? ( media-libs/alsa-lib )
arts? ( kde-base/arts )"
-src_compile() {
- # size_t patch for amd64
- use amd64 && epatch ${FILESDIR}/${P}-size_t-64bit.patch
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # size_t patch for 64bit machines
+ epatch ${FILESDIR}/${P}-size_t-64bit.patch
+}
+
+src_compile() {
local myconf=""
use arts || myconf="$myconf --without-arts"