summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-30 22:30:45 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-30 22:30:45 +0000
commite6dff32decfedaf4257769bda2ca270ae6ce1c3b (patch)
treee110f05446d88a59382f4652aa25dc85493435fb /media-libs/tse3/tse3-0.3.1-r1.ebuild
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-e6dff32decfedaf4257769bda2ca270ae6ce1c3b.tar.gz
gentoo-2-e6dff32decfedaf4257769bda2ca270ae6ce1c3b.tar.bz2
gentoo-2-e6dff32decfedaf4257769bda2ca270ae6ce1c3b.zip
Remove arts support wrt #270575.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/tse3/tse3-0.3.1-r1.ebuild')
-rw-r--r--media-libs/tse3/tse3-0.3.1-r1.ebuild43
1 files changed, 18 insertions, 25 deletions
diff --git a/media-libs/tse3/tse3-0.3.1-r1.ebuild b/media-libs/tse3/tse3-0.3.1-r1.ebuild
index 6a31166d9463..482ac93074ba 100644
--- a/media-libs/tse3/tse3-0.3.1-r1.ebuild
+++ b/media-libs/tse3/tse3-0.3.1-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.3.1-r1.ebuild,v 1.6 2008/06/09 11:42:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.3.1-r1.ebuild,v 1.7 2009/05/30 22:30:45 ssuominen Exp $
-inherit eutils flag-o-matic libtool autotools
+EAPI=2
+inherit autotools eutils flag-o-matic
DESCRIPTION="TSE3 Sequencer library"
HOMEPAGE="http://TSE3.sourceforge.net"
@@ -11,16 +12,12 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
-IUSE="alsa oss arts"
+IUSE="alsa oss"
-RDEPEND="alsa? ( media-libs/alsa-lib )
- arts? ( kde-base/arts )"
+RDEPEND="alsa? ( media-libs/alsa-lib )"
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Try to support OSS, awe_voice.h has been removed from
# linux-headers. Using a modified copy from 2.6.17.
# Bug 188163.
@@ -29,32 +26,28 @@ src_unpack() {
append-flags -DHAVE_AWE_VOICE_H
fi
- # support 64bit machines properly
- epatch "${FILESDIR}"/${PN}-0.2.7-size_t-64bit.patch
- # gcc-4 patch (bug #100708)
- epatch "${FILESDIR}"/${PN}-0.2.7-gcc4.patch
-
- epatch "${FILESDIR}/${P}-parallelmake.patch"
-
- epatch "${FILESDIR}"/${P}+gcc-4.3.patch
+ epatch "${FILESDIR}"/${PN}-0.2.7-size_t-64bit.patch \
+ "${FILESDIR}"/${PN}-0.2.7-gcc4.patch \
+ "${FILESDIR}"/${P}-parallelmake.patch \
+ "${FILESDIR}"/${P}+gcc-4.3.patch
eautoreconf
- elibtoolize
}
-src_compile() {
- local myconf="--without-doc-install"
+src_configure() {
+ local myconf
- use arts || myconf="${myconf} --without-arts"
use alsa || myconf="${myconf} --without-alsa"
use oss || myconf="${myconf} --without-oss"
- econf ${myconf} || die "econf failed."
- emake || die "emake failed."
+ econf \
+ --without-doc-install \
+ --without-aRts \
+ ${myconf}
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README THANKS TODO doc/History
dohtml doc/*.{html,gif,png}
}