summaryrefslogtreecommitdiff
path: root/media-sound/gmpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/gmpc
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/gmpc')
-rw-r--r--media-sound/gmpc/Manifest7
-rw-r--r--media-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.ebuild59
-rw-r--r--media-sound/gmpc/metadata.xml12
5 files changed, 211 insertions, 0 deletions
diff --git a/media-sound/gmpc/Manifest b/media-sound/gmpc/Manifest
new file mode 100644
index 000000000000..120b0f215ffb
--- /dev/null
+++ b/media-sound/gmpc/Manifest
@@ -0,0 +1,7 @@
+AUX gmpc-11.8.16-icons.patch 7380 SHA256 b74a973489649599b492cf19d283ce9e00990b7e22df036032ad694085f85ebf SHA512 cabee4790552b22e31873fdd0b2c786743fdb9fe3b5eb613ec85e83e27285116e6f05c1d8ac7013d9d2b17ec765876a276804c08b1ccc6d78051991c50b769d8 WHIRLPOOL 6058a30d008b5402a173d0aa4a909730c03e32920422486d19ca61fedb3615efcf243393b1485b194fd9b4f0daf8389461ffc1b7c529eb185bd943935e6504fa
+AUX gmpc-11.8.16-underlinking.patch 241 SHA256 5ee44bcafabb2bded0093efbf35fbf180752db30cd48b0c45c1322832849352d SHA512 ff1d628f0bdf4be3d0c1130762ecb0c90f2a93cbe0d31b3df25168b04a68b0292788b7c1c5c69b243a16ccfb1185d1622d5c7e1c6d390460db37156ad5f78576 WHIRLPOOL 12d844b2fc1e48c4e05b7547e121f27f3ef3c33fd02ff6cf42e0417a09d9bea397843d0478b1923813716f07d1e61fd049aadab94f9b9b789c08c1992727e1bc
+DIST gmpc-11.8.16.tar.gz 7082909 SHA256 a69414f35396846733632ca9619921d7acda537ffd6d49bd84b444945cb76b2c SHA512 4e5c8112edc016ac6c472b0099347a4fcd0336022e15be8d76fae449d30e533df92a4379aa98e389e624b9910ff3f528afb682f64901ea53f09e00d3d5678623 WHIRLPOOL 4703e62bf6e23b6bdbb6be19fbc7c99e0461dc19f6cdc582653cdc680340544239d5d41aa6033884e46bb277ee3c9e676f0a8fa6bf5e8051c2465b771fbd18d6
+EBUILD gmpc-11.8.16-r1.ebuild 1415 SHA256 26598a8952adb265685575878ce65b150024d384215667d4b7a76a3553b46e94 SHA512 75aa3f72fdbd9a380278f482d50cf3423d1a026197844191a1ccd98b98e3b0e70e702e0a2da27d4d3483dbe8bfced1fc616ce82c1feeeb390556eecb382b54e9 WHIRLPOOL 77bb7a45204122d4d2bf93990b5e8d305996302bd947131f432581c8e1efb74a16cd234bcd69d30539e0da0c59e6c7f75483e596ed059152184ef0d98f00e47e
+MISC ChangeLog 2943 SHA256 d9fd73f5c3ce4ff5d91f1a3b4512ddcb559a51c1aeb24238cea6cecf3764337a SHA512 2f230a988da4031dcd90712b3d4b9722b492107563743a72582f86470e1fa4d37fd519adc36c4e6f325192f85eaebaa2664f5aa0638fac3a47d8cd6cc8e5ca52 WHIRLPOOL e4b9fbb5b2ef2c21ca7538a81198daec3aac0217829ed282c141ab1ff89c599868bb1e612d32956dcb8cd0526c4cb8c047fbd178aaea566a351c4bda18ad14ea
+MISC ChangeLog-2015 11982 SHA256 c28c4206a999d9684dc53b4955dc9c3ce527c34784a550bfc8012f5fd3befd26 SHA512 df839634682316d0fa33c56b3be74c608a4e3f5dd576adca2ae402c37e07f5291b97f6609b0e3f0f47ee71456d9556eb35d781a6389fa0d84a96227aca55cffb WHIRLPOOL e2f1eb693bca52663dea4bf6e7968a512846502ceca42c24dbaea27b5207bb53a3c11f50380dcad9d376aeb305128c928cf26558d299ea390c19440e14bce3a4
+MISC metadata.xml 436 SHA256 2e90a9face4c3764028dd62f0b9e4e5f71c961de3caacf19ba94a880c924b5dc SHA512 c3c04eb47a7d3ad5eee60e3c28ce2279bdf73aa9537c351279c1a8a4efd6340dbbc74d7044edd8eac317c48a355f5a8f676b736a2447c434ff75a833af9d9a34 WHIRLPOOL 8e37c473711ff3bbf0cb46bd22146eca0246cad4a90cb479834e47ce2dd87f4e85c1f959e4447da2b060e478ded7e3b38e2967f0222c29b1bf512de0a7fa11ef
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 100644
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..9629d477e07a
--- /dev/null
+++ b/media-sound/gmpc/gmpc-11.8.16-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/metadata.xml b/media-sound/gmpc/metadata.xml
new file mode 100644
index 000000000000..24b5ad9a282a
--- /dev/null
+++ b/media-sound/gmpc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</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>