diff options
author | Thomas Cort <tcort@gentoo.org> | 2006-07-09 03:56:25 +0000 |
---|---|---|
committer | Thomas Cort <tcort@gentoo.org> | 2006-07-09 03:56:25 +0000 |
commit | 42bdfde2fc3168b9cde05dc57730955972b13467 (patch) | |
tree | 9e116ed9468b63fe2ca87ca56c3f27a82084fc7e /media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild | |
parent | Marked stable on mips. (diff) | |
download | gentoo-2-42bdfde2fc3168b9cde05dc57730955972b13467.tar.gz gentoo-2-42bdfde2fc3168b9cde05dc57730955972b13467.tar.bz2 gentoo-2-42bdfde2fc3168b9cde05dc57730955972b13467.zip |
Initial Commit. Ebuild by Kai Huuhko <kai.huuhko@gmail.com> and Thomas Cort <tcort@gentoo.org>.
(Portage version: 2.1-r1)
Diffstat (limited to 'media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild')
-rw-r--r-- | media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild b/media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild new file mode 100644 index 000000000000..0bf11c548785 --- /dev/null +++ b/media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/quodlibet-trayicon/quodlibet-trayicon-3493.ebuild,v 1.1 2006/07/09 03:56:25 tcort Exp $ + +inherit python eutils + +DESCRIPTION="Tray icon for Quod Libet." +HOMEPAGE="http://www.sacredchao.net/quodlibet/browser/trunk/plugins/events/trayicon.py" +SRC_URI="mirror://gentoo/${P}.py.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-sound/quodlibet-0.22" + +PLUGIN_DEST="/usr/share/quodlibet/plugins/events" + +pkg_setup() { + if ! built_with_use media-sound/quodlibet trayicon ; then + eerror "media-sound/quodlibet is missing trayicon support. Please add" + eerror "'trayicon' to your USE flags, and re-emerge media-sound/quodlibet." + die "media-sound/quodlibet needs trayicon support" + fi +} + +src_install() { + insinto ${PLUGIN_DEST} + doins ${S}.py +} + +pkg_postinst() { + python_mod_compile ${PLUGIN_DEST}/${P}.py +} + +pkg_postrm() { + python_mod_cleanup ${PLUGIN_DEST} +} |