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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 11 17:11:31 2015 UTC (5 years, 6 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Future-update dep on libxfce4ui to [gtk3(+)]. Add slot operators.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

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.3.1.ebuild,v 1.1 2014/08/20 12:08:58 ssuominen Exp $
4
5 EAPI=5
6 inherit xfconf # autotools
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://github.com/matiasdelellis/${PN}/releases/download/v${PV}/${P}.tar.bz2"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="debug +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev"
16
17 COMMON_DEPEND=">=dev-db/sqlite-3.4:3
18 >=dev-libs/glib-2.32
19 >=dev-libs/libcdio-0.90
20 >=dev-libs/libcdio-paranoia-0.90
21 media-libs/gst-plugins-base:1.0
22 >=media-libs/libcddb-1.3.0
23 >=media-libs/taglib-1.7.0
24 >=x11-libs/gtk+-3.4:3
25 x11-libs/libX11
26 >=xfce-base/libxfce4ui-4.11
27 glyr? ( >=media-libs/glyr-1.0.1 )
28 grilo? ( >=media-libs/grilo-0.2.10 )
29 keybinder? ( >=dev-libs/keybinder-0.2.0:3 )
30 lastfm? ( >=media-libs/libclastfm-0.5 )
31 libnotify? ( >=x11-libs/libnotify-0.7 )
32 mtp? ( >=media-libs/libmtp-1.1.0 )
33 peas? ( >=dev-libs/libpeas-1.0.0[gtk] )
34 playlist? ( >=dev-libs/totem-pl-parser-2.26 )
35 rygel? ( >=net-misc/rygel-0.20 )
36 soup? ( >=net-libs/libsoup-2.38 )
37 udev? ( virtual/libgudev:= )"
38 RDEPEND="${COMMON_DEPEND}
39 media-plugins/gst-plugins-meta:1.0"
40 DEPEND="${COMMON_DEPEND}
41 dev-util/intltool
42 >=dev-util/xfce4-dev-tools-4.10
43 sys-devel/gettext
44 virtual/pkgconfig"
45 REQUIRED_USE="glyr? ( peas )
46 grilo? ( peas )
47 libnotify? ( peas )
48 mtp? ( udev )
49 rygel? ( peas )
50 soup? ( peas )
51 udev? ( peas )"
52
53 pkg_setup() {
54 XFCONF=(
55 --docdir="${EPREFIX}"/usr/share/doc/${PF}
56 $(use_enable debug)
57 $(use_enable peas libpeas-1.0)
58 $(use_enable glyr libglyr)
59 $(use_enable lastfm libclastfm)
60 $(use_enable playlist totem-plparser)
61 --with-gstreamer=1.0
62 )
63
64 if use peas; then
65 XFCONF+=(
66 $(use_enable libnotify)
67 $(use_enable keybinder)
68 $(use_enable udev gudev-1.0)
69 $(use_enable mtp libmtp)
70 $(use_enable soup libsoup-2.4)
71 $(use_enable rygel rygel-server-2.2)
72 $(use_enable grilo grilo-0.2)
73 )
74 else
75 XFCONF+=(
76 --disable-libnotify
77 --disable-keybinder
78 --disable-gudev-1.0
79 --disable-libmtp
80 --disable-libsoup-2.4
81 --disable-rygel-server-2.2
82 --disable-grilo-0.2
83 )
84 fi
85 }
86
87 src_prepare() {
88 sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die
89
90 # Prevent glib-gettextize from running wrt #423115
91 # export AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros
92 # intltoolize --automake --copy --force
93 # _elibtoolize --copy --force --install
94 # eaclocal; eautoconf; eautoheader; eautomake
95
96 xfconf_src_prepare
97 }

  ViewVC Help
Powered by ViewVC 1.1.20