From 461b4cbe51ac781bbdd79a53ae253362dc5c04f9 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 1 Feb 2018 16:05:57 +0300 Subject: gmpc-scm --- media-sound/gmpc/gmpc-scm.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++ media-sound/gmpc/metadata.xml | 13 +++++++++ 2 files changed, 74 insertions(+) create mode 100644 media-sound/gmpc/gmpc-scm.ebuild create mode 100644 media-sound/gmpc/metadata.xml diff --git a/media-sound/gmpc/gmpc-scm.ebuild b/media-sound/gmpc/gmpc-scm.ebuild new file mode 100644 index 0000000..e870d05 --- /dev/null +++ b/media-sound/gmpc/gmpc-scm.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/gmpc/gmpc-11.8.16.ebuild,v 1.9 2013/03/29 20:46:57 angelos Exp $ + +EAPI=6 +VALA_MIN_API_VERSION=0.12 + +inherit gnome2-utils vala autotools git-r3 + +DESCRIPTION="A GTK+2 client for the Music Player Daemon" +HOMEPAGE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" +EGIT_REPO_URI="https://github.com/DaveDavenport/gmpc" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="nls xspf +unique" + +RDEPEND="dev-db/sqlite:3 + >=dev-libs/glib-2.16:2 + dev-libs/libxml2:2 + media-libs/glyr + >=media-libs/libmpd-11.8 + net-libs/libsoup:2.4 + >=x11-libs/gtk+-2.18:2 + x11-libs/libX11 + x11-themes/hicolor-icon-theme + unique? ( dev-libs/libunique:1 ) + xspf? ( >=media-libs/libxspf-1.2 )" +DEPEND="${RDEPEND} + $(vala_depend) + >=dev-util/gob-2.0.17 + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +DOCS=( AUTHORS README ) + +src_prepare() { + ./autogen.sh +} + +src_configure() { + econf \ + --disable-static \ + --disable-libspiff \ + --disable-appindicator \ + --enable-mmkeys \ + $(use_enable nls) \ + $(use_enable unique) \ + $(use_enable xspf libxspf) \ + --with-extra-version="$(git rev-parse ${EGIT_BRANCH} | cut -c 1-8)" +} + +src_compile() { + emake -j1 +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } diff --git a/media-sound/gmpc/metadata.xml b/media-sound/gmpc/metadata.xml new file mode 100644 index 0000000..89cbf99 --- /dev/null +++ b/media-sound/gmpc/metadata.xml @@ -0,0 +1,13 @@ + + + + no-herd + + kaleb@elwert.org + Kaleb Elwert + + + Enable support for reading and saving XSPF playlists + Enable single instance support using dev-libs/libunique + + -- cgit v1.2.3