diff options
Diffstat (limited to 'media-sound/horgand/horgand-1.14.ebuild')
-rw-r--r-- | media-sound/horgand/horgand-1.14.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/horgand/horgand-1.14.ebuild b/media-sound/horgand/horgand-1.14.ebuild new file mode 100644 index 000000000000..4549d2b0a4f3 --- /dev/null +++ b/media-sound/horgand/horgand-1.14.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="Opensource software organ" +HOMEPAGE="http://horgand.berlios.de" +SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/fltk:1 + x11-libs/libXpm + media-libs/libsndfile + media-libs/alsa-lib + media-sound/alsa-utils + media-sound/jack-audio-connection-kit" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-overflow.patch +} + +src_compile() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} $(fltk-config --cxxflags) \ + $(pkg-config --cflags jack) $(pkg-config --cflags sndfile)" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README + doman man/${PN}.1 + newicon src/${PN}128.xpm ${PN}.xpm + make_desktop_entry ${PN} Horgand ${PN} +} |