/[gentoo-x86]/media-sound/pragha/pragha-1.1.1.ebuild
Gentoo

Contents of /media-sound/pragha/pragha-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Apr 11 16:04:14 2014 UTC (6 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/pragha/pragha-1.1.1.ebuild,v 1.6 2013/01/17 15:51:34 ssuominen Exp $
4
5 EAPI=5
6 inherit xfconf
7
8 DESCRIPTION="A lightweight music player (with support for the Xfce desktop environment)"
9 HOMEPAGE="http://pragha.wikispaces.com/ http://github.com/matiasdelellis/pragha"
10 SRC_URI="mirror://github/matiasdelellis/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="debug +glyr lastfm +playlist"
16
17 COMMON_DEPEND="dev-db/sqlite:3
18 >=dev-libs/dbus-glib-0.98
19 >=dev-libs/glib-2.28
20 >=dev-libs/keybinder-0.2.2:0
21 || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90 )
22 media-libs/gst-plugins-base:0.10
23 >=media-libs/libcddb-1.3.2
24 >=media-libs/taglib-1.7.1
25 >=x11-libs/gtk+-2.24:2
26 x11-libs/libX11
27 >=x11-libs/libnotify-0.7
28 >=xfce-base/libxfce4ui-4.8
29 playlist? ( >=dev-libs/totem-pl-parser-2.26 )
30 glyr? ( >=media-libs/glyr-0.9.9 )
31 lastfm? ( >=media-libs/libclastfm-0.5 )"
32 RDEPEND="${COMMON_DEPEND}
33 media-plugins/gst-plugins-meta:0.10"
34 DEPEND="${COMMON_DEPEND}
35 dev-util/intltool
36 sys-devel/gettext
37 virtual/pkgconfig"
38
39 pkg_setup() {
40 XFCONF=(
41 --docdir="${EPREFIX}"/usr/share/doc/${PF}
42 $(use_enable debug)
43 $(use_enable lastfm libclastfm)
44 $(use_enable glyr libglyr)
45 $(use_enable playlist totem-plparser)
46 )
47 }
48
49 src_prepare() {
50 # http://github.com/matiasdelellis/pragha/issues/46
51 if has_version dev-libs/libcdio-paranoia; then
52 sed -i -e '/#include/s:cdio/cdda.h:cdio/paranoia/cdda.h:' src/cdda.h || die
53 fi
54
55 sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die
56 xfconf_src_prepare
57 }

  ViewVC Help
Powered by ViewVC 1.1.20