/[gentoo-x86]/media-sound/xnoise/xnoise-9999.ebuild
Gentoo

Contents of /media-sound/xnoise/xnoise-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Sat Mar 22 12:22:16 2014 UTC (5 months, 1 week ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +3 -3 lines
Version bump, remove old, update live ebuild

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 84F20B43)

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/xnoise/xnoise-9999.ebuild,v 1.17 2013/05/11 17:33:47 angelos Exp $
4
5 EAPI=4
6 VALA_MIN_API_VERSION=0.20
7
8 inherit fdo-mime gnome2-utils git-2 vala
9
10 DESCRIPTION="A media player for Gtk+ with a slick GUI, great speed and lots of
11 features"
12 HOMEPAGE="http://www.xnoise-media-player.com/"
13 EGIT_REPO_URI="https://bitbucket.org/shuerhaaken/${PN}.git"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="ayatana +lastfm +lyrics"
19
20 RDEPEND="x11-libs/gtk+:3
21 >=dev-libs/glib-2.34:2
22 gnome-base/librsvg:2
23 media-libs/gstreamer:1.0
24 media-libs/gst-plugins-base:1.0
25 media-plugins/gst-plugins-meta:1.0
26 dev-db/sqlite:3
27 >=media-libs/libtaginfo-0.2.0
28 x11-libs/cairo
29 x11-libs/libX11
30 ayatana? ( dev-libs/libappindicator:3 )
31 lastfm? ( net-libs/libsoup:2.4 )
32 lyrics? ( net-libs/libsoup:2.4
33 dev-libs/libxml2:2 )"
34 DEPEND="${RDEPEND}
35 $(vala_depend)
36 dev-util/intltool
37 virtual/pkgconfig
38 gnome-base/gnome-common:3
39 >=sys-devel/autoconf-2.67:2.5
40 sys-devel/gettext"
41
42 DOCS=( AUTHORS README )
43
44 src_prepare() {
45 NOCONFIGURE=yes ./autogen.sh || die
46 vala_src_prepare
47 }
48
49 src_configure() {
50 econf \
51 $(use_enable ayatana appindicator) \
52 $(use_enable lyrics lyricwiki) \
53 $(use_enable lastfm) \
54 --enable-mpris \
55 --enable-soundmenu2 \
56 --enable-mediakeys \
57 $(use_enable lyrics chartlyrics) \
58 $(use_enable lyrics azlyrics) \
59 --enable-magnatune
60 }
61
62 src_install() {
63 default
64 find "${ED}" -type f -name "*.la" -delete || die
65 rm -rf "${ED}"/usr/share/${PN}/license || die
66 }
67
68 pkg_preinst() {
69 gnome2_icon_savelist
70 }
71
72 pkg_postinst() {
73 fdo-mime_desktop_database_update
74 gnome2_icon_cache_update
75 }
76
77 pkg_postrm() {
78 fdo-mime_desktop_database_update
79 gnome2_icon_cache_update
80 }

  ViewVC Help
Powered by ViewVC 1.1.20