/[gentoo-x86]/media-sound/mixxx/mixxx-1.10.1.ebuild
Gentoo

Contents of /media-sound/mixxx/mixxx-1.10.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 21 13:22:40 2012 UTC (2 years, 1 month ago) by johu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #429134

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/mixxx/mixxx-1.10.1.ebuild,v 1.2 2012/08/03 16:36:05 ago Exp $
4
5 EAPI=4
6
7 inherit eutils multilib scons-utils toolchain-funcs
8
9 DESCRIPTION="A Qt based Digital DJ tool"
10 HOMEPAGE="http://mixxx.sourceforge.net"
11 SRC_URI="http://downloads.mixxx.org/${P}/${P}-src.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="aac debug doc mp3 pulseaudio shout wavpack"
17
18 RDEPEND="media-libs/fidlib
19 media-libs/flac
20 media-libs/libid3tag
21 media-libs/libogg
22 media-libs/libsndfile
23 >=media-libs/libsoundtouch-1.5
24 media-libs/libvorbis
25 >=media-libs/portaudio-19_pre
26 media-libs/portmidi
27 media-libs/taglib
28 virtual/glu
29 virtual/opengl
30 x11-libs/qt-gui:4
31 x11-libs/qt-opengl:4
32 x11-libs/qt-sql:4
33 x11-libs/qt-svg:4
34 x11-libs/qt-webkit:4
35 x11-libs/qt-xmlpatterns:4
36 aac? (
37 media-libs/faad2
38 media-libs/libmp4v2:0
39 )
40 mp3? ( media-libs/libmad )
41 pulseaudio? ( media-sound/pulseaudio )
42 shout? ( media-libs/libshout )
43 wavpack? ( media-sound/wavpack )"
44 DEPEND="${RDEPEND}
45 virtual/pkgconfig"
46
47 src_prepare() {
48 epatch "${FILESDIR}"/${PN}-1.10.0-system-libs.patch
49 epatch "${FILESDIR}"/${PN}-1.10.0-cflags.patch
50 epatch "${FILESDIR}"/${PN}-1.10.0-docs.patch
51 epatch "${FILESDIR}"/${PN}-1.10.0-no-bzr.patch
52
53 # use multilib compatible directory for plugins
54 sed -i -e "/unix_lib_path =/s/'lib'/'$(get_libdir)'/" src/SConscript || die
55
56 # alter startup command when pulseaudio support is disabled
57 if ! use pulseaudio ; then
58 sed -i -e 's:pasuspender ::' src/mixxx.desktop || die
59 fi
60 }
61
62 src_compile() {
63 CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
64 LIBPATH="/usr/$(get_libdir)" escons \
65 prefix=/usr \
66 qtdir=/usr/$(get_libdir)/qt4 \
67 hifieq=1 \
68 vinylcontrol=1 \
69 optimize=0 \
70 $(use_scons aac faad) \
71 $(use_scons debug qdebug) \
72 $(use_scons mp3 mad) \
73 $(use_scons shout shoutcast) \
74 $(use_scons wavpack wv)
75 }
76
77 src_install() {
78 CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
79 LIBPATH="/usr/$(get_libdir)" escons install \
80 prefix=/usr \
81 qtdir=/usr/$(get_libdir)/qt4 \
82 install_root="${D}"/usr
83
84 dodoc README Mixxx-Manual.pdf
85 }

  ViewVC Help
Powered by ViewVC 1.1.20