diff options
Diffstat (limited to 'media-sound/volwheel/volwheel-0.2.8-r1.ebuild')
-rw-r--r-- | media-sound/volwheel/volwheel-0.2.8-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-sound/volwheel/volwheel-0.2.8-r1.ebuild b/media-sound/volwheel/volwheel-0.2.8-r1.ebuild new file mode 100644 index 000000000000..780c3446aaf5 --- /dev/null +++ b/media-sound/volwheel/volwheel-0.2.8-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils + +DESCRIPTION="A volume control trayicon with mouse wheel support" +HOMEPAGE="http://oliwer.net/b/volwheel.html" +SRC_URI="http://olwtools.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~mips x86" +IUSE="alsa" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND} + dev-perl/gtk2-perl + alsa? ( media-sound/alsa-utils )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-perl516.patch + sed -i -e '/^Encoding/d' ${PN}.desktop || die +} + +src_install() { + ./install.pl prefix=/usr destdir="${D}" || die + dodoc ChangeLog README TODO +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |