[proaudio] [1674] Added requirement for qt3support, added note about music directory changes. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1674
Author: emery
Date: 2010-05-15 19:22:20 +0200 (Sat, 15 May 2010)
Log Message:
-----------
Added requirement for qt3support, added note about music directory changes.
(Portage version: 2.1.7.17/svn/Linux i686)
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/bpmdj/ChangeLog
trunk/overlays/proaudio/media-sound/bpmdj/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/bpmdj/bpmdj-4.1-r1.ebuild
Modified: trunk/overlays/proaudio/media-sound/bpmdj/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/bpmdj/ChangeLog 2010-05-15 12:15:10 UTC (rev 1673)
+++ trunk/overlays/proaudio/media-sound/bpmdj/ChangeLog 2010-05-15 17:22:20 UTC (rev 1674)
@@ -2,6 +2,12 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*bpmdj-4.1-r1 (15 May 2010)
+
+ 15 May 2010; Emery Hemingway <emery@xxxxxxxxx> +bpmdj-4.1-r1.ebuild:
+ Now requires qt3support USE flag. Added an einfo note so we know how
+ this release broke the documentation.
+
*bpmdj-4.1 (31 Mar 2010)
31 Mar 2010; Viktor Lazarev <taurus101v@xxxxxxxxx> -bpmdj-2.9.ebuild,
Modified: trunk/overlays/proaudio/media-sound/bpmdj/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/bpmdj/Manifest 2010-05-15 12:15:10 UTC (rev 1673)
+++ trunk/overlays/proaudio/media-sound/bpmdj/Manifest 2010-05-15 17:22:20 UTC (rev 1674)
@@ -6,6 +6,7 @@
DIST bpmdj-3.6.source.tgz 539603 RMD160 410f1954875e9e6ecf9a19551df284b778436d72 SHA1 196b69457fe757d20d43b20aed2b08ae1365d845 SHA256 539197f531f185e1e5b5242db983a1b0839ce8f66b8fa5ac46542ef8f28929b3
DIST bpmdj-4.1.source.tgz 786420 RMD160 0389cc3b53bd75d04c49f789e5b49b68c24ffe73 SHA1 8928490bc798e72286711562b8b2656f5038c8c5 SHA256 fb43c8dfb5988d5b980b890d762b463721a1d7f5ac13d9e1221e43c4fee1c2b3
EBUILD bpmdj-3.6.ebuild 2041 RMD160 10bdaf6825a55c3d83a1268cd760361dc33f0ff6 SHA1 35832fb26ba323d1d0c7907bb48a83afa80d3074 SHA256 eb564da722f8a40be45e1d85b3fd3699d27019c140f9f212cd41f966cc7472ae
+EBUILD bpmdj-4.1-r1.ebuild 2236 RMD160 a4ce52866412fe54fe9093465c77cc2bdee7690d SHA1 16fd178dc1a49dd0f3f3a6ce272abbced0209be4 SHA256 1b1f2210d7a8f482a008215d3f6579faecf1e3f107363dcb7af904a0dbf52744
EBUILD bpmdj-4.1.ebuild 2044 RMD160 3f8d133a51b9f42b61fb3c048dae33cd99ecfec9 SHA1 c017d3b98ebb4a3e934b00e9a62ab6eb9a43d6bc SHA256 e6afebc9f78bdd1647febdfb1517f8c73887bad14c5f793e7a3bf0153f0a670c
-MISC ChangeLog 818 RMD160 2da80cdd94e8ea6a3851dd97414394f2518130c4 SHA1 e8ef0e6612fc3536ee0a52f3995ac86d73be2215 SHA256 0417fb7012e940677bd939829caffc7dfffbdc95baa8dc1638f3f3f8e4044bda
+MISC ChangeLog 1031 RMD160 428d97ae57c0c8a8557a68edd23f2f885dc79c7b SHA1 dd6fc3b1e2a12677e31ab1275813c38111726f59 SHA256 6a7bdf99b1e02df7bca7cf05275c96cc718522ce483fd80979dc7dc699b9a191
MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-sound/bpmdj/bpmdj-4.1-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/bpmdj/bpmdj-4.1-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/bpmdj/bpmdj-4.1-r1.ebuild 2010-05-15 17:22:20 UTC (rev 1674)
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils qt4
+
+DESCRIPTION="Bpmdj, software for measuring the BPM of music and mixing"
+HOMEPAGE="http://bpmdj.sourceforge.net/"
+SRC_URI="ftp://bpmdj.yellowcouch.org/${PN}/${P}.source.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE="alsa jack vorbis"
+
+DEPEND="${RDEPEND}
+ || ( ( x11-libs/qt-core[qt3support] x11-libs/qt-gui[qt3support] )
+ >=x11-libs/qt-4.2:4 )
+ dev-util/pkgconfig"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ vorbis? ( media-sound/vorbis-tools )
+ jack? ( media-sound/jack-audio-connection-kit )
+ =sci-libs/fftw-3*"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # add our defines
+ cp "${FILESDIR}/${PN}-4-defines.gentoo" defines
+
+ # and now.. the useflags. What a giant PITA!
+ # Note: oss could be optional, but compile fails if disabled!
+ local flags=""
+ flags="CFLAGS += -D QT_THREAD_SUPPORT"
+ use alsa && flags="${flags} -D COMPILE_ALSA"
+ use jack && flags="${flags} -D COMPILE_JACK"
+ echo "${flags} -D COMPILE_OSS -D NO_EMPTY_ARRAYS -fPIC" >> defines
+
+ # and the same for LDFLAGS..
+ local lflags=""
+ lflags="LDFLAGS += -lpthread -lm -lrt -lfftw3"
+ use alsa && lflags="${lflags} -lasound"
+ use jack && lflags="${lflags} -ljack"
+ echo "${lflags}" >> defines
+
+ # not to forget our custom C(XX)FLAGS
+ echo "CPP = g++ -g ${CXXFLAGS} -Wall" >> defines
+}
+
+src_compile() {
+ make || die "make failed"
+}
+
+src_install () {
+ # makefile is absolutly a mess so we use portage features
+ for i in authors changelog copyright readme support; do
+ mv ${i}.txt ${i}; dodoc ${i}; done
+ dodir /usr/$(get_libdir)/${PN}
+ exeinto /usr/$(get_libdir)/${PN}
+ doexe bpmcount bpmdj bpmdjraw bpmmerge bpmplay
+ # needed too..
+ mv sequences "${D}/usr/$(get_libdir)/${PN}"
+ #dodoc authors changelog readme support.txt
+ # install startup wrapper
+ dobin "${FILESDIR}/${PN}.sh"
+ # install logo and desktop entry
+ doicon "${FILESDIR}/${PN}.png"
+ make_desktop_entry "bpmdj.sh" "BpmDj" ${PN} "AudioVideo;Audio"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "BpmDj looks for its music and index directory under ~/.bpmdj/,"
+ einfo "move or link your music directory to ~/.bpmdj/music."
+ einfo
+}