summaryrefslogtreecommitdiff
path: root/media-sound/pympd
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/pympd
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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/pympd')
-rw-r--r--media-sound/pympd/Manifest1
-rw-r--r--media-sound/pympd/files/pympd-0.08.1-desktop-entry.patch30
-rw-r--r--media-sound/pympd/metadata.xml15
-rw-r--r--media-sound/pympd/pympd-0.08.1.ebuild58
4 files changed, 104 insertions, 0 deletions
diff --git a/media-sound/pympd/Manifest b/media-sound/pympd/Manifest
new file mode 100644
index 00000000000..b3db5571a4f
--- /dev/null
+++ b/media-sound/pympd/Manifest
@@ -0,0 +1 @@
+DIST pympd-0.08.1.tar.gz 101120 SHA256 8da3b91c06857c486321a1d2769c035becd90286ce03791aa2058b0a5f620a06
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 00000000000..ac8698c6794
--- /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 00000000000..c1c8b1075dc
--- /dev/null
+++ b/media-sound/pympd/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <longdescription>
+ pympd is a GTK+ front end client for the music playing daemon MPD
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">pympd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/pympd/pympd-0.08.1.ebuild b/media-sound/pympd/pympd-0.08.1.ebuild
new file mode 100644
index 00000000000..da8ee4edad0
--- /dev/null
+++ b/media-sound/pympd/pympd-0.08.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils gnome2-utils multilib python toolchain-funcs
+
+DESCRIPTION="a Rhythmbox-like PyGTK+ client for Music Player Daemon"
+HOMEPAGE="http://sourceforge.net/projects/pympd"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pygtk-2.6
+ || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )
+ x11-themes/gnome-icon-theme"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ 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
+ epatch "${FILESDIR}"/${P}-desktop-entry.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr DESTDIR="${D}" || die
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install || die
+ dodoc README
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ python_mod_optimize pympd
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ python_mod_cleanup pympd
+ gnome2_icon_cache_update
+}