summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank van de Pol <fvdpol@gentoo.org>2004-08-18 02:06:20 +0000
committerFrank van de Pol <fvdpol@gentoo.org>2004-08-18 02:06:20 +0000
commit31a70b638fee73ff607d4873c8fcf197836e1e80 (patch)
tree768f8e06ca33471ae21a95cd5e32717464bc7096 /media-sound/hydrogen
parentset x11-base/xorg-x11 as default X (diff)
downloadhistorical-31a70b638fee73ff607d4873c8fcf197836e1e80.tar.gz
historical-31a70b638fee73ff607d4873c8fcf197836e1e80.tar.bz2
historical-31a70b638fee73ff607d4873c8fcf197836e1e80.zip
Version bump to 0.9.0_beta1. Closes bug #59580.
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r--media-sound/hydrogen/ChangeLog8
-rw-r--r--media-sound/hydrogen/Manifest11
-rw-r--r--media-sound/hydrogen/files/digest-hydrogen-0.9.0_beta19
-rw-r--r--media-sound/hydrogen/files/hydrogen-0.9.0_beta1-math.patch12
-rw-r--r--media-sound/hydrogen/hydrogen-0.9.0_beta1.ebuild104
5 files changed, 139 insertions, 5 deletions
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog
index a7bd82a0ec57..d86b787cddd2 100644
--- a/media-sound/hydrogen/ChangeLog
+++ b/media-sound/hydrogen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/hydrogen
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.18 2004/07/26 21:59:18 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.19 2004/08/18 02:06:20 fvdpol Exp $
+
+*hydrogen-0.9.0_beta1 (18 Aug 2004)
+
+ 18 Aug 2004; <frank@gentoo.org> +files/hydrogen-0.9.0_beta1-math.patch,
+ +hydrogen-0.9.0_beta1.ebuild:
+ Version bump to 0.9.0_beta1. Closes bug #59580.
26 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
hydrogen-0.8.2-r4.ebuild:
diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest
index 09e2e092c38e..aa162829914b 100644
--- a/media-sound/hydrogen/Manifest
+++ b/media-sound/hydrogen/Manifest
@@ -1,4 +1,4 @@
-MD5 c903e4e9091af9b5a4e407bc7aa551ac ChangeLog 2875
+MD5 68f1ee9b1c187f470710b17535cae1cb ChangeLog 3065
MD5 7f7cb43efce676543149273d8b9ddc6c hydrogen-0.8.1-r1.ebuild 2036
MD5 759f4774e29964c003d91f8ad983ddc8 hydrogen-0.8.1.ebuild 748
MD5 fe09c65964167850a9e330d16ec64aa5 hydrogen-0.8.2.ebuild 2032
@@ -7,13 +7,16 @@ MD5 7cb9559dca012df14bc78894162a6596 hydrogen-0.8.2-r1.ebuild 2094
MD5 f15b9e01294831da0b6590d83835ae48 hydrogen-0.8.2-r2.ebuild 2143
MD5 28d4fd260a0e21490ace9375ec1f0e2d hydrogen-0.8.2-r3.ebuild 2985
MD5 9ff30bf99842ee7690bd6cfe508a5a23 hydrogen-0.8.2-r4.ebuild 3022
+MD5 f5c94e11091a452cf92068b5f87c72aa hydrogen-0.9.0_beta1.ebuild 3003
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
-MD5 0aeb17f8b89b3d73dde268e756c16a2c files/digest-hydrogen-0.8.2-r4 575
MD5 edc486e93c7644938917e65e83e56e71 files/hydrogen-0.8.2-gcc34.patch 495
+MD5 0aeb17f8b89b3d73dde268e756c16a2c files/digest-hydrogen-0.8.2-r4 575
+MD5 d577302a6cccb9cd150804bf1b3a96e2 files/hydrogen-0.9.0_beta1-math.patch 474
+MD5 cf0d069e2485c14e011ab64c817e6caf files/digest-hydrogen-0.9.0_beta1 580
diff --git a/media-sound/hydrogen/files/digest-hydrogen-0.9.0_beta1 b/media-sound/hydrogen/files/digest-hydrogen-0.9.0_beta1
new file mode 100644
index 000000000000..4543be93c239
--- /dev/null
+++ b/media-sound/hydrogen/files/digest-hydrogen-0.9.0_beta1
@@ -0,0 +1,9 @@
+MD5 85261cff0eca380bfcb2731fd490f4a8 hydrogen-0.9.0beta1.tar.gz 2499727
+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/files/hydrogen-0.9.0_beta1-math.patch b/media-sound/hydrogen/files/hydrogen-0.9.0_beta1-math.patch
new file mode 100644
index 000000000000..c7999c9876ec
--- /dev/null
+++ b/media-sound/hydrogen/files/hydrogen-0.9.0_beta1-math.patch
@@ -0,0 +1,12 @@
+diff -ru hydrogen-0.9.0beta1-orig/hydrogen_gui/InstrumentPropertiesDialog.cpp hydrogen-0.9.0beta1/hydrogen_gui/InstrumentPropertiesDialog.cpp
+--- hydrogen-0.9.0beta1-orig/hydrogen_gui/InstrumentPropertiesDialog.cpp 2004-08-18 03:41:32.296463024 +0200
++++ hydrogen-0.9.0beta1/hydrogen_gui/InstrumentPropertiesDialog.cpp 2004-08-18 03:44:07.291900136 +0200
+@@ -22,6 +22,8 @@
+ *
+ */
+
++#include <math.h>
++
+ #include "InstrumentPropertiesDialog.h"
+ #include "FilePreview.h"
+
diff --git a/media-sound/hydrogen/hydrogen-0.9.0_beta1.ebuild b/media-sound/hydrogen/hydrogen-0.9.0_beta1.ebuild
new file mode 100644
index 000000000000..4a39fad9cd8c
--- /dev/null
+++ b/media-sound/hydrogen/hydrogen-0.9.0_beta1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.0_beta1.ebuild,v 1.1 2004/08/18 02:06:20 fvdpol Exp $
+
+inherit eutils
+
+MY_P=${P/_beta1/beta1}
+
+DESCRIPTION="Linux Drum Machine"
+HOMEPAGE="http://hydrogen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hydrogen/${MY_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"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-math.patch
+
+ # unpack drum kits
+ cd ${MY_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
+}