/[gentoo-x86]/media-libs/tse3/tse3-0.3.1-r1.ebuild
Gentoo

Contents of /media-libs/tse3/tse3-0.3.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Jul 15 19:48:31 2009 UTC (9 years, 3 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -5 lines
Remove my devspace from SRC_URI
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/tse3/tse3-0.3.1-r1.ebuild,v 1.8 2009/06/21 04:05:27 ssuominen Exp $
4
5 EAPI=2
6 inherit autotools eutils flag-o-matic
7
8 DESCRIPTION="TSE3 Sequencer library"
9 HOMEPAGE="http://TSE3.sourceforge.net"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
11 mirror://gentoo/${P}-awe_voice.h.tbz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc sparc x86"
16 IUSE="alsa oss"
17
18 RDEPEND="alsa? ( media-libs/alsa-lib )"
19 DEPEND="${RDEPEND}"
20
21 src_prepare() {
22 if use oss; then
23 cp "${WORKDIR}"/awe_voice.h src/
24 append-flags -DHAVE_AWE_VOICE_H
25 fi
26
27 epatch "${FILESDIR}"/${PN}-0.2.7-size_t-64bit.patch \
28 "${FILESDIR}"/${PN}-0.2.7-gcc4.patch \
29 "${FILESDIR}"/${P}-parallelmake.patch \
30 "${FILESDIR}"/${P}+gcc-4.3.patch
31
32 eautoreconf
33 }
34
35 src_configure() {
36 local myconf
37
38 use alsa || myconf="${myconf} --without-alsa"
39 use oss || myconf="${myconf} --without-oss"
40
41 econf \
42 --without-doc-install \
43 --without-aRts \
44 ${myconf}
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die "emake install failed"
49 dodoc AUTHORS NEWS README THANKS TODO doc/History
50 dohtml doc/*.{html,gif,png}
51 }

  ViewVC Help
Powered by ViewVC 1.1.20