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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Sep 16 11:53:58 2012 UTC (22 months, 2 weeks ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, remove old

(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/xnoise/xnoise-0.2.4.ebuild,v 1.1 2012/07/29 10:31:52 angelos Exp $
4
5 EAPI=4
6 inherit fdo-mime gnome2-utils
7
8 DESCRIPTION="A media player for Gtk+ with a slick GUI, great speed and lots of
9 features"
10 HOMEPAGE="http://www.xnoise-media-player.com/"
11 SRC_URI="mirror://github/shuerhaaken/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+lastfm libnotify +lyrics"
17
18 RDEPEND="x11-libs/gtk+:3
19 >=dev-libs/glib-2.30:2
20 media-libs/gstreamer:0.10
21 media-libs/gst-plugins-base:0.10
22 dev-db/sqlite:3
23 media-libs/taglib
24 x11-libs/cairo
25 x11-libs/libX11
26 lastfm? ( net-libs/libsoup:2.4 )
27 libnotify? ( x11-libs/libnotify )
28 lyrics? ( net-libs/libsoup:2.4
29 dev-libs/libxml2:2 )"
30 DEPEND="${RDEPEND}
31 dev-util/intltool
32 virtual/pkgconfig
33 sys-devel/gettext"
34
35 DOCS=( AUTHORS README )
36
37 src_configure() {
38 econf \
39 $(use_enable lyrics lyricwiki) \
40 $(use_enable lastfm) \
41 $(use_enable libnotify notifications) \
42 --enable-mpris \
43 --enable-soundmenu2 \
44 --enable-mediakeys \
45 $(use_enable lyrics chartlyrics) \
46 $(use_enable lyrics azlyrics)
47 }
48
49 src_install() {
50 default
51 find "${ED}" -type f -name "*.la" -delete || die
52 rm -rf "${ED}"/usr/share/${PN}/license || die
53 }
54
55 pkg_preinst() {
56 gnome2_icon_savelist
57 }
58
59 pkg_postinst() {
60 fdo-mime_desktop_database_update
61 gnome2_icon_cache_update
62 }
63
64 pkg_postrm() {
65 fdo-mime_desktop_database_update
66 gnome2_icon_cache_update
67 }

  ViewVC Help
Powered by ViewVC 1.1.20