/[gentoo-x86]/media-sound/hydrogen/hydrogen-0.9.1.ebuild
Gentoo

Contents of /media-sound/hydrogen/hydrogen-0.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Nov 18 20:04:51 2007 UTC (13 years ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
remove old
(Portage version: 2.1.3.19)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.1.ebuild,v 1.8 2007/02/12 19:23:13 aballier Exp $
4
5 inherit eutils kde-functions
6
7 DESCRIPTION="Linux Drum Machine"
8 HOMEPAGE="http://hydrogen.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/hydrogen/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~ppc64"
14 IUSE="alsa jack ladspa"
15
16 DEPEND=">=media-libs/libsndfile-1.0.0
17 >=media-libs/audiofile-0.2.3
18 ~media-libs/flac-1.1.2
19 =x11-libs/qt-3*
20 alsa? ( media-libs/alsa-lib )
21 jack? ( media-sound/jack-audio-connection-kit )
22 ladspa? ( media-libs/liblrdf )"
23 need-qt 3
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 if use ppc; then
29 epatch ${FILESDIR}/${PV}-OSS.patch
30 fi
31
32 epatch ${FILESDIR}/hydrogen-0.9.0-asneeded.patch
33 }
34
35 src_compile() {
36 econf $(use_enable jack jack-support) \
37 $(use_enable alsa alsa-seq) \
38 $(use_enable ladspa lrdf-support) \
39 || die "Failed configuring hydrogen!"
40 emake || die "Failed making hydrogen!"
41 }
42
43 src_install() {
44 make DESTDIR="${D}" install || die "make install failed"
45 dodoc AUTHORS ChangeLog README TODO
46
47 newicon hydrogen_gui/img/icon32.png hydrogen.png
48 make_desktop_entry hydrogen hydrogen hydrogen.png Audio
49 }

  ViewVC Help
Powered by ViewVC 1.1.20