# ChangeLog for media-sound/museseq
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/museseq/ChangeLog,v 1.16 2004/09/14 07:59:23 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/museseq/ChangeLog,v 1.17 2004/09/25 06:00:22 chriswhite Exp $
+
+*museseq-0.7.0-r1 (25 Sep 2004)
+
+ 25 Sep 2004; Chris White <chriswhite@gentoo.org>
+ +files/museseq-0.7.0-suidinstall.patch, +museseq-0.7.0-r1.ebuild:
+ Bump to 0.7.0. Big thanks to Eric Shattow <shadow@serverart.org> for his help
+ in cleaning up. Closes bug #57740.
14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
museseq-0.6.2-r1.ebuild:
-MD5 257964500cc4684f07f99699d2b265cd ChangeLog 2557
+MD5 939cb765b2e4193fd6d67e4f18f35691 ChangeLog 2827
MD5 d0d7ea03e238a808414b4426394c100f metadata.xml 221
MD5 5414de7396aa13b76f24d7ea3d2567c8 museseq-0.6.0.ebuild 1669
-MD5 537ef14b3847d7d6c3b287abd84386ff museseq-0.6.2.ebuild 2595
MD5 cee4a6e5e0b7a97a7852a1015218bde8 museseq-0.6.2-r1.ebuild 3151
+MD5 537ef14b3847d7d6c3b287abd84386ff museseq-0.6.2.ebuild 2595
+MD5 ad548704d840fdb47bf9bb3fd83a3529 museseq-0.7.0-r1.ebuild 2041
MD5 cbc52b356437ff53ced441374a08d178 files/digest-museseq-0.6.0 64
MD5 fbb837028f0103f8c2775f24e661888b files/digest-museseq-0.6.2 64
-MD5 08b5947de834c47253a313e6a7d0a3e5 files/museseq-0.6.2-fPIC.patch 4002
MD5 fbb837028f0103f8c2775f24e661888b files/digest-museseq-0.6.2-r1 64
MD5 49c3c1f0136766a89c7cd1ba91006bc6 files/museseq-0.6.2-drumport.patch 771
+MD5 08b5947de834c47253a313e6a7d0a3e5 files/museseq-0.6.2-fPIC.patch 4002
MD5 8bf0be08b3013a6047aecad1e99bc1fb files/museseq-0.6.2-gcc34.patch 5500
MD5 34b26def47703a0516433e9fb07ed0fd files/museseq-0.6.2-int2ptr.patch 20425
MD5 7fb0bc9c25aa67018b8c07120f4f16a1 files/museseq-0.6.2-memory.patch 2032
+MD5 20ef97c251eae618ada71d7493308b96 files/digest-museseq-0.7.0-r1 64
+MD5 fd23ed0d1b20d7ed5f18d26d4a45acc1 files/museseq-0.7.0-suidinstall.patch 837
--- /dev/null
+MD5 b0794c112a39fa87f455c704ebc6a908 muse-0.7.0.tar.bz2 1647625
--- /dev/null
+diff -burN /var/tmp/portage/museseq-0.7.0-r1/work/muse-0.7.0/configure muse-0.7.0/configure
+--- /var/tmp/portage/museseq-0.7.0-r1/work/muse-0.7.0/configure 2004-07-18 12:37:36.000000000 -0500
++++ muse-0.7.0/configure 2004-09-24 10:06:02.862960672 -0500
+@@ -11922,7 +11922,8 @@
+ ### suid-install ###
+ ####################
+
+-SUIDINSTALL="yes"
++#SUIDINSTALL="yes"
++SUIDINSTALL="no"
+
+
+ ##################
+diff -burN /var/tmp/portage/museseq-0.7.0-r1/work/muse-0.7.0/configure.ac muse-0.7.0/configure.ac
+--- /var/tmp/portage/museseq-0.7.0-r1/work/muse-0.7.0/configure.ac 2004-07-18 12:34:31.000000000 -0500
++++ muse-0.7.0/configure.ac 2004-09-24 10:08:38.932756136 -0500
+@@ -229,7 +229,8 @@
+ ### suid-install ###
+ ####################
+
+-SUIDINSTALL="yes"
++#SUIDINSTALL="yes"
++SUIDINSTALL="no"
+ AC_SUBST(SUIDINSTALL)
+
+ ##################
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/museseq/museseq-0.7.0-r1.ebuild,v 1.1 2004/09/25 06:00:22 chriswhite Exp $
+
+inherit kde-functions gcc virtualx
+need-qt 3
+
+MY_P=${P/museseq/muse}
+DESCRIPTION="The Linux (midi) MUSic Editor (a sequencer)"
+SRC_URI="mirror://sourceforge/lmuse/${MY_P}.tar.bz2"
+HOMEPAGE="http://lmuse.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+#IUSE="fluidsynth doc ladcca sdk debug"
+IUSE="fluidsynth doc ladcca debug"
+
+DEPEND=">=x11-libs/qt-3.2.0
+ >=media-libs/alsa-lib-0.9.0
+ fluidsynth? ( media-sound/fluidsynth )
+ doc? ( app-text/openjade
+ app-doc/doxygen
+ media-gfx/graphviz )
+ dev-lang/perl
+ >=media-libs/libsndfile-1.0.0
+ >=media-sound/jack-audio-connection-kit-0.90.0
+ ladcca? ( >=media-libs/ladcca-0.4.0 )"
+# sdk? ( >=media-libs/fst-1.6-r1 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/${MY_P}
+ epatch ${FILESDIR}/${P}-suidinstall.patch
+}
+
+src_compile() {
+ cd ${WORKDIR}/${MY_P}
+ local myconf
+ myconf="--disable-suid-build" # instead, use CONFIG_RTC and realtime-lsm
+ use fluidsynth || myconf="${myconf} --disable-fluidsynth"
+ use ladcca || myconf="${myconf} --disable-ladcca"
+# use sdk && myconf="${myconf} --enable-vst"
+ use debug && myconf="${myconf} --enable-debug"
+# [ "`gcc-version`" == "3.4" ] && myconf="${myconf} --enable-pch"
+ Xeconf ${myconf} || die "configure failed"
+
+ emake || die
+}
+
+src_install() {
+ cd ${WORKDIR}/${MY_P}
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README README.CVS README.de README.instruments README.ladspaguis README.shortcuts README.softsynth README.translate SECURITY
+ mv ${D}/usr/bin/muse ${D}/usr/bin/museseq
+}
+
+pkg_postinst() {
+ einfo "You must have the realtime module loaded to use MusE 0.7.x"
+ einfo "Additionally, your Linux Kernel must have the non-generic"
+ einfo "Real Time Clock support enabled or loaded as a module."
+ einfo "Realtime LSM: http://sourceforge.net/projects/realtime-lsm/"
+}
+