blob: 6df301063dfe0835dd1d094a30b4d9647542b746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/bpmdj/bpmdj-2.6.ebuild,v 1.8 2005/12/26 14:31:02 lu_zero Exp $
IUSE="mp3 vorbis"
inherit eutils toolchain-funcs
DESCRIPTION="Bpmdj, software for measuring the BPM of music and mixing"
HOMEPAGE="http://bpmdj.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.source.tgz"
LICENSE="GPL-2"
SLOT="0"
#-amd64: 2.6 - kbpm-play: common.cpp:42: void common_init(): Assertion `sizeof(signed4)==4' failed. - eradicator
KEYWORDS="-amd64 x86 ~ppc"
DEPEND="=x11-libs/qt-3*"
RDEPEND="${DEPEND}
mp3? ( dev-perl/MP3-Tag )
vorbis? ( media-sound/vorbis-tools )
media-sound/alsamixergui
virtual/mpg123"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-errno.patch
}
src_compile() {
addwrite "${QTDIR}/etc/settings"
cp defines.gentoo defines
emake CPP=$(tc-getCXX) CC=$(tc-getCC) VARTEXFONTS=${T}/fonts || die "make failed"
}
src_install () {
# make is broken (installs into /bpmdj)
# make DESTDIR="${D}" install || die
# mv ${D}/usr/share/doc/{${PN},${PF}}
exeinto /usr/bin
doexe alsamixerguis bpmdj-raw bpmdj-record bpmdj-replay copydirstruct fetchdirstruct fetchfiles kbpm-batch kbpm-dj kbpm-merge kbpm-mix kbpm-play rbpm-play record_mixer xmms-play || die "doexe failed"
use mp3 && doexe bpmdj-import-mp3.pl
use vorbis && doexe bpmdj-import-ogg.pl
dodoc authors changelog copyright readme todo || die "dodoc failed"
mkdir -p ${D}/usr/share/bpmdj
cp -a sequences ${D}/usr/share/bpmdj/ || die "cp failed"
}
|