summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank van de Pol <fvdpol@gentoo.org>2004-06-23 01:28:49 +0000
committerFrank van de Pol <fvdpol@gentoo.org>2004-06-23 01:28:49 +0000
commitd853710816057266ef1d486a2277c4173e61cdbd (patch)
tree2503c9171f3ecbe0ab277b61158c3900bb1f181c /media-sound
parentVersion bump. Switched RDEPEND and DEPEND. (Manifest recommit) (diff)
downloadgentoo-2-d853710816057266ef1d486a2277c4173e61cdbd.tar.gz
gentoo-2-d853710816057266ef1d486a2277c4173e61cdbd.tar.bz2
gentoo-2-d853710816057266ef1d486a2277c4173e61cdbd.zip
New revision with reworked installation of drumkits and demo songs. Includes new kits, closing bug #54570.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/hydrogen/ChangeLog8
-rw-r--r--media-sound/hydrogen/Manifest8
-rw-r--r--media-sound/hydrogen/files/digest-hydrogen-0.8.2-r39
-rw-r--r--media-sound/hydrogen/hydrogen-0.8.2-r3.ebuild102
4 files changed, 123 insertions, 4 deletions
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog
index ea371ab7a45f..0a1118e0b144 100644
--- a/media-sound/hydrogen/ChangeLog
+++ b/media-sound/hydrogen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/hydrogen
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.14 2004/06/19 13:16:01 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.15 2004/06/23 01:28:49 fvdpol Exp $
+
+*hydrogen-0.8.2-r3 (23 Jun 2004)
+
+ 23 Jun 2004; Frank van de Pol <fvdpol@gentoo.org> +hydrogen-0.8.2-r3.ebuild:
+ New revision with reworked installation of drumkits and demo songs. Includes
+ new kits, closing bug #54570.
19 Jun 2004; David Holm <dholm@gentoo.org> hydrogen-0.8.2-r2.ebuild:
Added to ~ppc.
diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest
index 4361f866dd80..fa852c1df631 100644
--- a/media-sound/hydrogen/Manifest
+++ b/media-sound/hydrogen/Manifest
@@ -1,14 +1,16 @@
-MD5 adc36081ca941a55bd8eb88833d4a96a ChangeLog 2323
+MD5 6108bf0c6f048196d92e2ea220d5d780 ChangeLog 2548
MD5 d87e7ca09ed94f1e4b4d3d58206e511a hydrogen-0.8.1-r1.ebuild 2046
MD5 6e9b7153d399f7aceb9ddfd689d96e84 hydrogen-0.8.1.ebuild 758
MD5 07c4a21203670df7884ded6432488fe1 hydrogen-0.8.2.ebuild 2042
MD5 7265452ab5b8fc5e97614d42b3d7e053 metadata.xml 220
MD5 4ef17465390670abadfe7e9e743957bb hydrogen-0.8.2-r1.ebuild 2100
MD5 cf4d2702fc8ebf227123e5905f51ae45 hydrogen-0.8.2-r2.ebuild 2148
+MD5 280d3e29055ec84291bed7e3eab4dec6 hydrogen-0.8.2-r3.ebuild 2990
MD5 799a80da707ff5ef9c2fe1b48ae0a6df files/digest-hydrogen-0.8.1 67
MD5 dd475b26d81eb9e7275870a121454e24 files/digest-hydrogen-0.8.1-r1 319
MD5 09d97690a9335d98d3bdbb5625b65efa files/digest-hydrogen-0.8.2 319
+MD5 7d42c8a8bb26e478ec8e9e835ea733b5 files/hydrogen-0.8.2-ui-spacer.patch 1902
MD5 09d97690a9335d98d3bdbb5625b65efa files/digest-hydrogen-0.8.2-r1 319
-MD5 09d97690a9335d98d3bdbb5625b65efa files/digest-hydrogen-0.8.2-r2 319
MD5 a3d08a6bb459e313c2c59a5ad086eaea files/hydrogen-0.8.2-64bit.patch 1319
-MD5 7d42c8a8bb26e478ec8e9e835ea733b5 files/hydrogen-0.8.2-ui-spacer.patch 1902
+MD5 09d97690a9335d98d3bdbb5625b65efa files/digest-hydrogen-0.8.2-r2 319
+MD5 0aeb17f8b89b3d73dde268e756c16a2c files/digest-hydrogen-0.8.2-r3 575
diff --git a/media-sound/hydrogen/files/digest-hydrogen-0.8.2-r3 b/media-sound/hydrogen/files/digest-hydrogen-0.8.2-r3
new file mode 100644
index 000000000000..ee05cff65158
--- /dev/null
+++ b/media-sound/hydrogen/files/digest-hydrogen-0.8.2-r3
@@ -0,0 +1,9 @@
+MD5 65e16cabfaa414dabdd0039cad5eee94 hydrogen-0.8.2.tar.gz 2066644
+MD5 1980647fa79029fa1dd1eb4f5ad14d65 3355606.tar.gz 408406
+MD5 8ddc8e3f5d02f5e2f12533db45e77c55 DrumkitPack1.tar.gz 968204
+MD5 535b873aead13de2105cc2a5609ec977 DrumkitPack2.tar.gz 1282298
+MD5 def807440c5a5e01e22f2b7a52a872df EasternHop-1.tar.gz 417396
+MD5 2ccaed2a392a97143f31f52488fdde74 TD-7.tar.gz 873711
+MD5 ee0974b404d34a2c5cf3d8f3952a80e9 UltraAcousticKit.tar.gz 1874932
+MD5 8a573ea8040aa8ee3dacfcb3d3fc4ab8 Millo-Drums_v1.tar.gz 2650633
+MD5 bc2bcc16d404441ef3a5b1b86c6c4a25 HardElectro1.tar.gz 390222
diff --git a/media-sound/hydrogen/hydrogen-0.8.2-r3.ebuild b/media-sound/hydrogen/hydrogen-0.8.2-r3.ebuild
new file mode 100644
index 000000000000..96ea6edb9f06
--- /dev/null
+++ b/media-sound/hydrogen/hydrogen-0.8.2-r3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.8.2-r3.ebuild,v 1.1 2004/06/23 01:28:49 fvdpol Exp $
+
+inherit eutils
+
+DESCRIPTION="Linux Drum Machine"
+HOMEPAGE="http://hydrogen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hydrogen/${P}.tar.gz \
+ mirror://sourceforge/hydrogen/3355606.tar.gz \
+ mirror://sourceforge/hydrogen/DrumkitPack1.tar.gz \
+ mirror://sourceforge/hydrogen/DrumkitPack2.tar.gz \
+ mirror://sourceforge/hydrogen/EasternHop-1.tar.gz \
+ mirror://sourceforge/hydrogen/TD-7.tar.gz \
+ mirror://sourceforge/hydrogen/UltraAcousticKit.tar.gz \
+ mirror://sourceforge/hydrogen/Millo-Drums_v1.tar.gz \
+ mirror://sourceforge/hydrogen/HardElectro1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+IUSE="alsa jack"
+
+
+RDEPEND="virtual/x11
+ >=media-libs/audiofile-0.2.3 \
+ alsa? ( media-libs/alsa-lib ) \
+ jack? ( media-sound/jack-audio-connection-kit ) \
+ >=x11-libs/qt-3"
+
+DEPEND="$RDEPEND >=sys-devel/autoconf-2.58"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-ui-spacer.patch
+ epatch ${FILESDIR}/${P}-64bit.patch
+
+ # unpack drum kits
+ cd ${P}/data/drumkits
+ tar zxf ${WORKDIR}/3355606/3355606kit.h2drumkit
+ tar zxf ${WORKDIR}/DrumkitPack1/HipHop-1.h2drumkit
+ tar zxf ${WORKDIR}/DrumkitPack1/HipHop-2.h2drumkit
+ tar zxf ${WORKDIR}/DrumkitPack2/Synthie-1.h2drumkit
+ tar zxf ${WORKDIR}/DrumkitPack2/TR808909.h2drumkit
+ tar zxf ${WORKDIR}/DrumkitPack2/Techno-1.h2drumkit
+ tar zxf ${WORKDIR}/EasternHop-1/EasternHop-1.h2drumkit
+ tar zxf ${WORKDIR}/EasternHop-1/EasternHop-1.h2drumkit
+ tar zxf ${WORKDIR}/TD-7/TD-7kit.h2drumkit
+ tar zxf ${WORKDIR}/UltraAcousticKit/UltraAcousticKit.h2drumkit
+ tar zxf ${WORKDIR}/Millo-Drums_v1/Millo-Drums_v.1.h2drumkit
+ tar zxf ${WORKDIR}/HardElectro1/HardElectro1.h2drumkit
+
+ # unpack demo songs
+ # (note that some songs are disabled due to incompatibility with this (newer?) version of hydrogen...)
+ cd ../demo_songs
+ #cp ${WORKDIR}/3355606/*.h2song .
+ #cp ${WORKDIR}/DrumkitPack1/*.h2song .
+ #cp ${WORKDIR}/DrumkitPack2/*.h2song .
+ #cp ${WORKDIR}/EasternHop-1/*.h2song .
+ #cp ${WORKDIR}/TD-7/*.h2song .
+ cp ${WORKDIR}/UltraAcousticKit/*.h2song .
+ cp ${WORKDIR}/Millo-Drums_v1/demo\ songs/*.h2song .
+ cp ${WORKDIR}/HardElectro1/*.h2song .
+
+ # fix file paths
+ for SONG in `ls *.h2song`; do
+ sed -i -e "s:/usr/local/share:/usr/share:" ${SONG}
+ done
+}
+
+src_compile() {
+ addwrite ${QTDIR}/etc/settings
+
+ einfo "Reconfiguring..."
+ export WANT_AUTOCONF=2.5
+ export WANT_AUTOMAKE=1.6
+
+ ./autogen.sh
+
+ econf || die
+ emake || die
+}
+
+src_install() {
+ local SUPPORTDIR=/usr/share/hydrogen
+
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog README TODO
+
+ # install demo songs
+ insinto ${SUPPORTDIR}/data/demo_songs
+ doins data/demo_songs/*
+
+ # install drum kits
+ for KIT in `find data/drumkits -type d`; do
+ insinto ${SUPPORTDIR}/${KIT}
+ doins ${KIT}/*.xml
+ doins ${KIT}/*.wav
+ done
+}