diff options
Diffstat (limited to 'media-sound/horgand')
-rw-r--r-- | media-sound/horgand/Manifest | 1 | ||||
-rw-r--r-- | media-sound/horgand/files/horgand-1.14-overflow.patch | 13 | ||||
-rw-r--r-- | media-sound/horgand/horgand-1.14.ebuild | 41 | ||||
-rw-r--r-- | media-sound/horgand/metadata.xml | 5 |
4 files changed, 60 insertions, 0 deletions
diff --git a/media-sound/horgand/Manifest b/media-sound/horgand/Manifest new file mode 100644 index 000000000000..84fd7998d5a2 --- /dev/null +++ b/media-sound/horgand/Manifest @@ -0,0 +1 @@ +DIST horgand-1.14.tar.gz 2531734 RMD160 73fa51d91936ff95e8029c628cfdca4061ccebf7 SHA1 045b339241e8047aa8f5221fa215789333d6ef47 SHA256 836b3a8608953bb3bb37151947eb6236c557a9efde10e4bae1ecad46fc325e8e diff --git a/media-sound/horgand/files/horgand-1.14-overflow.patch b/media-sound/horgand/files/horgand-1.14-overflow.patch new file mode 100644 index 000000000000..05e359b7c8d9 --- /dev/null +++ b/media-sound/horgand/files/horgand-1.14-overflow.patch @@ -0,0 +1,13 @@ +diff --git a/src/Holrgan.h b/src/Holrgan.h +index 1b93042..f8e9209 100644 +--- a/src/Holrgan.h ++++ b/src/Holrgan.h +@@ -398,7 +398,7 @@ struct Ch3 + struct Ch4 + + { +- char Nom[10]; ++ char Nom[12]; + int type; + int fund; + int dist1; 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} +} diff --git a/media-sound/horgand/metadata.xml b/media-sound/horgand/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/horgand/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> |