blob: 88d89c117b7bd6eb8b91ffd47414f97f26eeda16 (
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
52
53
54
55
56
57
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/pragha/pragha-1.1.1.ebuild,v 1.6 2013/01/17 15:51:34 ssuominen Exp $
EAPI=5
inherit xfconf
DESCRIPTION="A lightweight music player (with support for the Xfce desktop environment)"
HOMEPAGE="http://pragha.wikispaces.com/ http://github.com/matiasdelellis/pragha"
SRC_URI="mirror://github/matiasdelellis/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug +glyr lastfm +playlist"
COMMON_DEPEND="dev-db/sqlite:3
>=dev-libs/dbus-glib-0.98
>=dev-libs/glib-2.28
>=dev-libs/keybinder-0.2.2:0
|| ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90 )
media-libs/gst-plugins-base:0.10
>=media-libs/libcddb-1.3.2
>=media-libs/taglib-1.7.1
>=x11-libs/gtk+-2.24:2
x11-libs/libX11
>=x11-libs/libnotify-0.7
>=xfce-base/libxfce4ui-4.8
playlist? ( >=dev-libs/totem-pl-parser-2.26 )
glyr? ( >=media-libs/glyr-0.9.9 )
lastfm? ( >=media-libs/libclastfm-0.5 )"
RDEPEND="${COMMON_DEPEND}
media-plugins/gst-plugins-meta:0.10"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
pkg_setup() {
XFCONF=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}
$(use_enable debug)
$(use_enable lastfm libclastfm)
$(use_enable glyr libglyr)
$(use_enable playlist totem-plparser)
)
}
src_prepare() {
# http://github.com/matiasdelellis/pragha/issues/46
if has_version dev-libs/libcdio-paranoia; then
sed -i -e '/#include/s:cdio/cdda.h:cdio/paranoia/cdda.h:' src/cdda.h || die
fi
sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die
xfconf_src_prepare
}
|