summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-05-17 10:41:50 +0000
committerChristoph Mende <angelos@gentoo.org>2011-05-17 10:41:50 +0000
commit0b744dfc233faf0ca043b34034fa5d4aa6a7f9f8 (patch)
tree0661dd3c9b7469ae9abf0296b2d2ddc273b3af43 /media-sound
parentFix underlinking wrt #367663. Thanks to Diego Elio Pettenò <flameeyes@gentoo... (diff)
downloadgentoo-2-0b744dfc233faf0ca043b34034fa5d4aa6a7f9f8.tar.gz
gentoo-2-0b744dfc233faf0ca043b34034fa5d4aa6a7f9f8.tar.bz2
gentoo-2-0b744dfc233faf0ca043b34034fa5d4aa6a7f9f8.zip
Add live ebuild
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/xnoise/ChangeLog7
-rw-r--r--media-sound/xnoise/xnoise-9999.ebuild75
2 files changed, 81 insertions, 1 deletions
diff --git a/media-sound/xnoise/ChangeLog b/media-sound/xnoise/ChangeLog
index 21ba102663d5..679a62f768f1 100644
--- a/media-sound/xnoise/ChangeLog
+++ b/media-sound/xnoise/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/xnoise
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xnoise/ChangeLog,v 1.2 2011/05/16 11:28:18 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xnoise/ChangeLog,v 1.3 2011/05/17 10:41:50 angelos Exp $
+
+*xnoise-9999 (17 May 2011)
+
+ 17 May 2011; Christoph Mende <angelos@gentoo.org> +xnoise-9999.ebuild:
+ Add live ebuild
16 May 2011; Christoph Mende <angelos@gentoo.org> xnoise-0.1.22.ebuild:
Force vala-0.12 (bug #366563)
diff --git a/media-sound/xnoise/xnoise-9999.ebuild b/media-sound/xnoise/xnoise-9999.ebuild
new file mode 100644
index 000000000000..51faaa901713
--- /dev/null
+++ b/media-sound/xnoise/xnoise-9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xnoise/xnoise-9999.ebuild,v 1.1 2011/05/17 10:41:50 angelos Exp $
+
+EAPI=4
+inherit fdo-mime gnome2-utils mercurial
+
+DESCRIPTION="A media player for Gtk+ with a slick GUI, great speed and lots of
+features"
+HOMEPAGE="http://www.xnoise-media-player.com/"
+EHG_REPO_URI="https://xnoise.googlecode.com/hg/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+cover libnotify +lyrics"
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-libs/glib-2.26:2
+ dev-libs/libunique:1
+ dev-libs/libxml2:2
+ media-libs/gst-plugins-base:0.10
+ media-libs/gstreamer:0.10
+ media-libs/taglib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ cover? ( net-libs/libsoup:2.4 )
+ libnotify? ( x11-libs/libnotify )
+ lyrics? ( net-libs/libsoup:2.4 )"
+DEPEND="${RDEPEND}
+ dev-lang/vala:0.12
+ dev-util/intltool
+ dev-util/pkgconfig
+ gnome-base/gnome-common:3
+ sys-devel/gettext"
+
+DOCS=( AUTHORS NEWS README )
+
+src_prepare() {
+ NOCONFIGURE=yes ./autogen.sh || die
+}
+
+src_configure() {
+ VALAC=$(type -p valac-0.12) \
+ econf \
+ --disable-soundmenu \
+ --disable-soundmenu2 \
+ $(use_enable cover lastfm-covers) \
+ $(use_enable libnotify notifications) \
+ $(use_enable lyrics leoslyrics) \
+ $(use_enable lyrics lyricsfly) \
+ $(use_enable lyrics lyricwiki) \
+ $(use_enable lyrics chartlyrics)
+}
+
+src_install() {
+ default
+ find "${ED}" -type f -name "*.la" -exec rm -rf {} + || die
+ rm -rf "${ED}"/usr/share/${PN}/license || die
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}