summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/gmpc
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/gmpc')
-rw-r--r--media-sound/gmpc/Manifest1
-rwxr-xr-xmedia-sound/gmpc/files/gmpc-11.8.16-icons.patch119
-rw-r--r--media-sound/gmpc/files/gmpc-11.8.16-underlinking.patch14
-rw-r--r--media-sound/gmpc/gmpc-11.8.16-r1.ebuild60
-rw-r--r--media-sound/gmpc/gmpc-11.8.16.ebuild59
-rw-r--r--media-sound/gmpc/metadata.xml13
6 files changed, 266 insertions, 0 deletions
diff --git a/media-sound/gmpc/Manifest b/media-sound/gmpc/Manifest
new file mode 100644
index 000000000000..a23408083d47
--- /dev/null
+++ b/media-sound/gmpc/Manifest
@@ -0,0 +1 @@
+DIST gmpc-11.8.16.tar.gz 7082909 SHA256 a69414f35396846733632ca9619921d7acda537ffd6d49bd84b444945cb76b2c SHA512 4e5c8112edc016ac6c472b0099347a4fcd0336022e15be8d76fae449d30e533df92a4379aa98e389e624b9910ff3f528afb682f64901ea53f09e00d3d5678623 WHIRLPOOL 4703e62bf6e23b6bdbb6be19fbc7c99e0461dc19f6cdc582653cdc680340544239d5d41aa6033884e46bb277ee3c9e676f0a8fa6bf5e8051c2465b771fbd18d6
diff --git a/media-sound/gmpc/files/gmpc-11.8.16-icons.patch b/media-sound/gmpc/files/gmpc-11.8.16-icons.patch
new file mode 100755
index 000000000000..ea37effa9f74
--- /dev/null
+++ b/media-sound/gmpc/files/gmpc-11.8.16-icons.patch
@@ -0,0 +1,119 @@
+diff --git a/glade/playlist3.ui b/glade/playlist3.ui
+index fedb627..452f3ec 100644
+--- a/glade/playlist3.ui
++++ b/glade/playlist3.ui
+@@ -436,16 +436,17 @@
+ <child>
+ <object class="GtkButton" id="button_previous">
+ <property name="visible">True</property>
++ <property name="use_action_appearance">False</property>
+ <property name="related-action">MPDPrevious</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">none</property>
+ <property name="use_action_appearance">False</property>
+ <child>
+- <object class="GtkImage" id="image10">
++ <object class="GtkImage" id="button_previous_image">
+ <property name="visible">True</property>
+ <property name="stock">gtk-media-previous</property>
+- </object>
++ </object>
+ </child>
+ </object>
+ <packing>
+@@ -455,18 +456,18 @@
+ </packing>
+ </child>
+ <child>
+- <object class="GtkButton" id="top_button">
++ <object class="GtkButton" id="stop_button">
+ <property name="visible">True</property>
++ <property name="use_action_appearance">False</property>
+ <property name="related-action">MPDStop</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="relief">none</property>
+- <property name="use_action_appearance">False</property>
+ <child>
+- <object class="GtkImage" id="stop_button_image">
++ <object class="GtkImage" id="button_stop_image">
+ <property name="visible">True</property>
+ <property name="stock">gtk-media-stop</property>
+- </object>
++ </object>
+ </child>
+ </object>
+ <packing>
+@@ -478,15 +479,16 @@
+ <child>
+ <object class="GtkButton" id="play_button">
+ <property name="visible">True</property>
++ <property name="use_action_appearance">False</property>
+ <property name="related-action">MPDPlayPause</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">none</property>
+ <child>
+- <object class="GtkImage" id="play_button_image">
++ <object class="GtkImage" id="play_button_image">
+ <property name="visible">True</property>
+ <property name="stock">gtk-media-play</property>
+- </object>
++ </object>
+ </child>
+ </object>
+ <packing>
+@@ -498,13 +500,13 @@
+ <child>
+ <object class="GtkButton" id="next_button">
+ <property name="visible">True</property>
++ <property name="use_action_appearance">False</property>
+ <property name="related-action">MPDNext</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+- <property name="use_action_appearance">False</property>
+ <property name="relief">none</property>
+ <child>
+- <object class="GtkImage" id="image11">
++ <object class="GtkImage" id="next_button_image">
+ <property name="visible">True</property>
+ <property name="stock">gtk-media-next</property>
+ </object>
+diff --git a/src/playlist3.c b/src/playlist3.c
+index 72b4ef7..3dac409 100644
+--- a/src/playlist3.c
++++ b/src/playlist3.c
+@@ -1632,7 +1632,8 @@ static void playlist_status_changed(MpdObj * mi, ChangedStatusType what, void *u
+ gtk_action_set_stock_id(GTK_ACTION(gtk_builder_get_object(pl3_xml, "MPDPlayPause")), "gtk-media-pause");
+ gtk_image_set_from_stock(GTK_IMAGE
+ (gtk_builder_get_object
+- (pl3_xml, "play_button_image")), "gtk-media-pause", GTK_ICON_SIZE_BUTTON);
++ (pl3_xml, "play_button_image")), "gtk-media-pause",
++ GTK_ICON_SIZE_MENU);
+
+ /**
+ * Update window title
+@@ -1669,8 +1670,8 @@ static void playlist_status_changed(MpdObj * mi, ChangedStatusType what, void *u
+ gtk_action_set_stock_id(GTK_ACTION(gtk_builder_get_object(pl3_xml, "MPDPlayPause")), "gtk-media-play");
+ gtk_image_set_from_stock(GTK_IMAGE
+ (gtk_builder_get_object
+- (pl3_xml, "play_button_image")), "gtk-media-play", GTK_ICON_SIZE_BUTTON);
+-
++ (pl3_xml, "play_button_image")), "gtk-media-play",
++ GTK_ICON_SIZE_MENU);
+ /**
+ * Set paused in Window string
+ */
+@@ -1704,8 +1705,8 @@ static void playlist_status_changed(MpdObj * mi, ChangedStatusType what, void *u
+
+ gtk_image_set_from_stock(GTK_IMAGE
+ (gtk_builder_get_object
+- (pl3_xml, "play_button_image")), "gtk-media-play", GTK_ICON_SIZE_BUTTON);
+-
++ (pl3_xml, "play_button_image")), "gtk-media-play",
++ GTK_ICON_SIZE_MENU);
+ if (gmpc_profiles_get_number_of_profiles(gmpc_profiles) > 1)
+ {
+ gchar *id = gmpc_profiles_get_current(gmpc_profiles);
+--
diff --git a/media-sound/gmpc/files/gmpc-11.8.16-underlinking.patch b/media-sound/gmpc/files/gmpc-11.8.16-underlinking.patch
new file mode 100644
index 000000000000..e6cf1ef9f05d
--- /dev/null
+++ b/media-sound/gmpc/files/gmpc-11.8.16-underlinking.patch
@@ -0,0 +1,14 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 497194b..84c31f0 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -174,7 +174,8 @@ LIBS= \
+ @libxml2_LIBS@\
+ @libx11_LIBS@\
+ @sqlite3_LIBS@\
+- -lz
++ -lz\
++ -lm
+
+
+ if HAVE_UNIQUE
diff --git a/media-sound/gmpc/gmpc-11.8.16-r1.ebuild b/media-sound/gmpc/gmpc-11.8.16-r1.ebuild
new file mode 100644
index 000000000000..50a7b101c362
--- /dev/null
+++ b/media-sound/gmpc/gmpc-11.8.16-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+VALA_MIN_API_VERSION=0.12
+
+inherit autotools eutils gnome2-utils vala
+
+DESCRIPTION="A GTK+2 client for the Music Player Daemon"
+HOMEPAGE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
+SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls xspf +unique"
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-libs/glib-2.16:2
+ dev-libs/libxml2:2
+ >=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)
+ app-text/gnome-doc-utils
+ >=dev-util/gob-2.0.17
+ virtual/pkgconfig
+ nls? ( dev-util/intltool
+ sys-devel/gettext )"
+
+DOCS=( AUTHORS README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlinking.patch \
+ "${FILESDIR}"/${P}-icons.patch
+ sed -i -e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:" configure.ac || die
+ eautoreconf
+ vala_src_prepare
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --disable-libspiff \
+ --disable-appindicator \
+ --enable-mmkeys \
+ $(use_enable nls) \
+ $(use_enable unique) \
+ $(use_enable xspf libxspf)
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/media-sound/gmpc/gmpc-11.8.16.ebuild b/media-sound/gmpc/gmpc-11.8.16.ebuild
new file mode 100644
index 000000000000..79fd7737f110
--- /dev/null
+++ b/media-sound/gmpc/gmpc-11.8.16.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+VALA_MIN_API_VERSION=0.12
+
+inherit autotools eutils gnome2-utils vala
+
+DESCRIPTION="A GTK+2 client for the Music Player Daemon"
+HOMEPAGE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
+SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls xspf +unique"
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-libs/glib-2.16:2
+ dev-libs/libxml2:2
+ >=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)
+ app-text/gnome-doc-utils
+ >=dev-util/gob-2.0.17
+ virtual/pkgconfig
+ nls? ( dev-util/intltool
+ sys-devel/gettext )"
+
+DOCS=( AUTHORS README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlinking.patch
+ sed -i -e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:" configure.ac || die
+ eautoreconf
+ vala_src_prepare
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --disable-libspiff \
+ --disable-appindicator \
+ --enable-mmkeys \
+ $(use_enable nls) \
+ $(use_enable unique) \
+ $(use_enable xspf libxspf)
+}
+
+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 000000000000..969d55282588
--- /dev/null
+++ b/media-sound/gmpc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+<maintainer>
+ <email>angelos@gentoo.org</email>
+ <name>Christoph Mende</name>
+</maintainer>
+<use>
+ <flag name="unique">Enable single instance support using <pkg>dev-libs/libunique</pkg></flag>
+ <flag name="xspf">Enable support for reading and saving XSPF playlists</flag>
+</use>
+</pkgmetadata>