1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Utilities to change your default sound card in ALSA."
10 HOMEPAGE="https://code.launchpad.net/asoundconf-ui"
12 MY_P="alsa-utils_${PV}-1ubuntu4_i386"
15 GTK_MY_P="${PN}-gtk_${GTK_PV}-0ubuntu2_all"
16 SRC_URI="mirror://ubuntu/pool/main/a/alsa-utils/${MY_P}.deb
17 gtk? ( mirror://ubuntu/pool/universe/a/${GTK_PN}/${GTK_MY_P}.deb )"
25 >=media-sound/alsa-utils-1.0.14
26 gtk? ( dev-python/pygtk
27 x11-themes/gnome-icon-theme )" # needed for .desktop file
32 python_set_active_version 2
38 rm -f "${WORKDIR}"/{{control,data}.tar.gz,debian-binary}
42 unpack ${GTK_MY_P}.deb
44 rm -f "${WORKDIR}"/gtk/{{control,data}.tar.gz,debian-binary}
47 python_convert_shebangs -r 2 .
51 dobin usr/bin/asoundconf
52 doman usr/share/man/man1/asoundconf.1.gz
56 dobin usr/bin/asoundconf-gtk
57 doman usr/share/man/man8/asoundconf-gtk.8.gz
58 dodoc usr/share/doc/${GTK_PN}/README
59 domenu usr/share/applications/asoundconf-gtk.desktop