From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-sound/pympd/Manifest | 1 + .../pympd/files/pympd-0.08.1-desktop-entry.patch | 30 +++++++++++ media-sound/pympd/metadata.xml | 15 ++++++ media-sound/pympd/pympd-0.08.1.ebuild | 58 ++++++++++++++++++++++ 4 files changed, 104 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.ebuild (limited to 'media-sound/pympd') diff --git a/media-sound/pympd/Manifest b/media-sound/pympd/Manifest new file mode 100644 index 000000000000..b3db5571a4f6 --- /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 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..c1c8b1075dc8 --- /dev/null +++ b/media-sound/pympd/metadata.xml @@ -0,0 +1,15 @@ + + + + sound + + angelos@gentoo.org + Christoph Mende + + + pympd is a GTK+ front end client for the music playing daemon MPD + + + pympd + + 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 000000000000..da8ee4edad0f --- /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 +} -- cgit v1.2.3-65-gdbad