From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-sound/pympd/Manifest | 6 +++ .../pympd/files/pympd-0.08.1-desktop-entry.patch | 30 +++++++++++ media-sound/pympd/metadata.xml | 14 +++++ media-sound/pympd/pympd-0.08.1-r1.ebuild | 61 ++++++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 media-sound/pympd/Manifest create mode 100644 media-sound/pympd/files/pympd-0.08.1-desktop-entry.patch create mode 100644 media-sound/pympd/metadata.xml create mode 100644 media-sound/pympd/pympd-0.08.1-r1.ebuild (limited to 'media-sound/pympd') diff --git a/media-sound/pympd/Manifest b/media-sound/pympd/Manifest new file mode 100644 index 000000000000..34225de91ea9 --- /dev/null +++ b/media-sound/pympd/Manifest @@ -0,0 +1,6 @@ +AUX pympd-0.08.1-desktop-entry.patch 1412 SHA256 bc96c7dba3353e1008ac92781c4d7d5f105e2f1a161b3071567f5fa564d93900 SHA512 3c6a4bc9f372f879acedb1285f42d2ed939f17751ab2eba0034b604f9b3a5157685afec1a53040a8d5010989a352dc05ec24b3036ad2148d17b619033d889deb WHIRLPOOL adc9244d98fd01ed282fc7c2eb121fdb04e8544ca4f98bfec4fa9b778c0444c68bbf91e4b677719806f24ecf8470bb5494d3b21df3263ec2a8c0f3c38f04897d +DIST pympd-0.08.1.tar.gz 101120 SHA256 8da3b91c06857c486321a1d2769c035becd90286ce03791aa2058b0a5f620a06 SHA512 199ea794fbcd5d7678c079bcc07613c106fb43a423f05fb7ef624a41580c263ede147ff9c2f2a22f38a4f150f71d9ee99c99c7524278f8e98525f955233641ea WHIRLPOOL 0b23400c9599bbff1a86c83a5d6dfa94dd2272e558fbd14000a32f99d60e6afb4d36451a83949830a1def3d7d70b93cfaeb846b5994f9d96a73b6bace14437f0 +EBUILD pympd-0.08.1-r1.ebuild 1247 SHA256 229dbbf1adcd5624d562fb6f325a67ab3ec0819a68e27960a2d1bd70844e3ac1 SHA512 0dd88c3dd1ac596fa61667caaaf7d46c058ca98342b9c45ad8457a86372cff00fade9c30ea277ef6ce5cbb563b74d14898d00e8deb47f2d700b1a9b6889eedf3 WHIRLPOOL d269e74aac4478fcdbf5f1bd4c3f21602e5e827de089b44c767d16e2d7c1ab3f1d88cd3d7153a63c4469535cb1d03a7d1958fabd5f9108d80d305c9d3a8df1dc +MISC ChangeLog 3289 SHA256 71011e3dcc66ea2c548fe3e791ed80c4b1c6f0839be7bf7e32a18703e318e20d SHA512 5fa4265d16fd700d9e941d7d1dc328a7951b4c668615806e91d72e1fb4f5dd0790a930cf9423585e16add7b60a251740c8e8c5a17fb56cbdb66d60ef48a3b658 WHIRLPOOL c50e1780c0b26f6dc5f0a777409e6dcaf2cea19d882524b9a2a554fcb7655c90c3e88b2040aa55f8d3030210dd8e6582c38d23e2448538da8fef53bc727b2835 +MISC ChangeLog-2015 4417 SHA256 5c3ac6228b88e834575a6e38a2a4c5a802c9eca7e24814a6581b8f87aa1490f0 SHA512 624930838349736b5fe44dac90f13dc8e599afc6b8469fa988d75f86d0c25e5b16829398bc7462a6bb4f8d932de9e9433575577303b20a554737a62709822dc8 WHIRLPOOL 0c0fa1e03c41cbfccd0a56bf5b4aad1596a04d7375f1b82efd62a30638492aa835c98c01d61efecaeb14f68e399907e256288bcd2cbf5e23cbcc21d1d6589bbd +MISC metadata.xml 449 SHA256 a2c672fb1bff5a2e694728a4db04722df4984bd40cbec884f88637852dab97f7 SHA512 d3013665b1a81c7ca4f2dad97d0114417120280527fb76ebc1b2f87a982d6a756c148d249bbebe66437089b9116d3bfeb19631d34dcdea6d9f5d077753f40dd4 WHIRLPOOL c6c7f3f6e4d774c9abd6c4870da38cd60bff7d428379049773dc7f733f4f6047a329ff67aa16dae8bf83ef760e0e041ee3bc06370da8b1145c4f47689ff09edc diff --git a/media-sound/pympd/files/pympd-0.08.1-desktop-entry.patch b/media-sound/pympd/files/pympd-0.08.1-desktop-entry.patch new file mode 100644 index 000000000000..ac8698c67940 --- /dev/null +++ b/media-sound/pympd/files/pympd-0.08.1-desktop-entry.patch @@ -0,0 +1,30 @@ +diff -ur pympd-0.08.1.orig/pympd.desktop pympd-0.08.1/pympd.desktop +--- pympd-0.08.1.orig/pympd.desktop 2007-05-10 16:11:16.000000000 +0300 ++++ pympd-0.08.1/pympd.desktop 2009-05-22 05:20:43.000000000 +0300 +@@ -1,11 +1,10 @@ + [Desktop Entry] +-Version=0.06.2 ++Version=1.0 + Type=Application +-Encoding=UTF-8 + Name=pympd + Comment=pyGTK+ Frontend for MPD + TryExec=pympd + Exec=pympd +-Icon=pympd.svg +-Categories=Application;AudioVideo;Audio;Player; ++Icon=pympd ++Categories=AudioVideo;Audio;Player; + Terminal=false +diff -ur pympd-0.08.1.orig/setup.py pympd-0.08.1/setup.py +--- pympd-0.08.1.orig/setup.py 2007-05-10 16:11:16.000000000 +0300 ++++ pympd-0.08.1/setup.py 2009-05-22 05:24:56.000000000 +0300 +@@ -23,7 +23,7 @@ + package_dir= {'pympd':'src'}, + packages=['pympd', 'pympd.modules'], + package_data={'pympd.modules': ['trayicon.so']}, +- data_files=[('share/pympd/glade', glades + ['pympd.svg']), ('share/pympd/plugins', plugins), ('share/pixmaps', ['pympd.svg']), ('share/pympd/', ['pympd.svg']), ('share/applications', ['pympd.desktop']), ('share/pympd/pixmaps',icons) ], ++ data_files=[('share/pympd/glade', glades + ['pympd.svg']), ('share/pympd/plugins', plugins), ('share/icons/hicolor/scalable/apps', ['pympd.svg']), ('share/pympd/', ['pympd.svg']), ('share/applications', ['pympd.desktop']), ('share/pympd/pixmaps',icons) ], + + scripts = ['pympd'] + ) diff --git a/media-sound/pympd/metadata.xml b/media-sound/pympd/metadata.xml new file mode 100644 index 000000000000..0747a6d8aebc --- /dev/null +++ b/media-sound/pympd/metadata.xml @@ -0,0 +1,14 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + + pympd is a GTK+ front end client for the music playing daemon MPD + + + pympd + + diff --git a/media-sound/pympd/pympd-0.08.1-r1.ebuild b/media-sound/pympd/pympd-0.08.1-r1.ebuild new file mode 100644 index 000000000000..183544630d50 --- /dev/null +++ b/media-sound/pympd/pympd-0.08.1-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils gnome2-utils multilib python-single-r1 toolchain-funcs + +DESCRIPTION="a Rhythmbox-like PyGTK+ client for Music Player Daemon" +HOMEPAGE="https://sourceforge.net/projects/pympd" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/pygtk-2.6:2[${PYTHON_USEDEP}] + gnome-base/libglade:2.0 + x11-libs/gdk-pixbuf:2[jpeg] + x11-themes/adwaita-icon-theme +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${P}-desktop-entry.patch ) + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + python_fix_shebang . + sed -i -e 's:FLAGS =:FLAGS +=:' src/modules/tray/Makefile || die + sed -i -e 's:\..\/py:/usr/share/pympd/py:g' src/glade/pympd.glade || die +} + +src_compile() { + emake CC="$(tc-getCC)" PREFIX=/usr DESTDIR="${D}" +} + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + einstalldocs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3