# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/pnmixer/pnmixer-0.5.1.ebuild,v 1.00 2012/08/23 17:31:00 peratu Exp $ EAPI=4 inherit autotools DESCRIPTION="PNMixer is a system tray sound mixer (forked from OBMixer) with some additions. It works with alsa and pulseaudio." HOMEPAGE="https://github.com/nicklan/pnmixer#readme" SRC_URI="https://github.com/downloads/nicklan/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="dev-libs/glib media-libs/alsa-lib sys-libs/glibc x11-libs/gdk-pixbuf x11-libs/gtk+ x11-libs/libX11" RDEPEND="${DEPEND}" src_prepare() { ./autogen.sh eautoreconf } src_configure() { ./configure --prefix=/usr } src_compile() { emake } src_install() { emake DESTDIR="${D}" install } pkg_postinst() { elog "PNMixer works on top of other mixer applications. This is not a full mixer, so, if you want have access to a full mixer through PNMixer you can choose between this two options:" elog "pulseaudio: media-sound/pavucontrol" elog "alsa: media-sound/alsamixergui" }