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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jan 28 14:16:55 2014 UTC (5 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #496018

(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 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.2.1.ebuild,v 1.2 2014/01/19 19:06:38 pacho Exp $
4
5 EAPI=5
6 inherit flag-o-matic 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="http://dissonance.googlecode.com/files/${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.100
19 >=dev-libs/glib-2.28
20 >=dev-libs/keybinder-0.2.2:0
21 dev-libs/libcdio-paranoia
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.10
29 playlist? ( >=dev-libs/totem-pl-parser-2.26 )
30 glyr? ( >=media-libs/glyr-1.0.1 )
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 sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die
51 xfconf_src_prepare
52 }
53
54 src_configure() {
55 # src/cdda.h should #include config.h to get this defined:
56 # http://github.com/matiasdelellis/pragha/issues/46
57 append-cppflags -DHAVE_PARANOIA_NEW_INCLUDES
58 xfconf_src_configure
59 }

  ViewVC Help
Powered by ViewVC 1.1.20