You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.5 KiB
74 lines
1.5 KiB
6 years ago
|
# Copyright 1999-2018 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
6 years ago
|
MY_P="${P/_/-}-gtk3"
|
||
7 years ago
|
inherit gnome2-utils xdg-utils
|
||
|
|
||
6 years ago
|
DESCRIPTION="Lightweight and versatile audio player"
|
||
7 years ago
|
HOMEPAGE="https://audacious-media-player.org/"
|
||
6 years ago
|
SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2
|
||
|
mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2"
|
||
7 years ago
|
|
||
|
LICENSE="BSD-2"
|
||
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="nls"
|
||
7 years ago
|
|
||
|
RDEPEND="
|
||
|
>=dev-libs/dbus-glib-0.60
|
||
|
>=dev-libs/glib-2.28
|
||
|
>=x11-libs/cairo-1.2.6
|
||
|
>=x11-libs/pango-1.8.0
|
||
|
virtual/freedesktop-icon-theme
|
||
6 years ago
|
x11-libs/gtk+:3
|
||
|
"
|
||
7 years ago
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig
|
||
6 years ago
|
nls? ( dev-util/intltool )
|
||
|
"
|
||
7 years ago
|
PDEPEND="~media-plugins/audacious-plugins-${PV}"
|
||
|
|
||
6 years ago
|
S="${WORKDIR}/${MY_P}"
|
||
7 years ago
|
|
||
|
src_prepare() {
|
||
|
default
|
||
6 years ago
|
if ! use nls; then
|
||
|
sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
|
||
|
fi
|
||
7 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
# D-Bus is a mandatory dependency, remote control,
|
||
|
# session management and some plugins depend on this.
|
||
|
# Building without D-Bus is *unsupported* and a USE-flag
|
||
|
# will not be added due to the bug reports that will result.
|
||
|
# Bugs #197894, #199069, #207330, #208606
|
||
|
econf \
|
||
|
--disable-valgrind \
|
||
|
--enable-dbus \
|
||
6 years ago
|
--enable-gtk \
|
||
|
$(use_enable nls)
|
||
7 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
|
# Gentoo_ice skin installation; bug #109772
|
||
|
insinto /usr/share/audacious/Skins/gentoo_ice
|
||
|
doins -r "${WORKDIR}"/gentoo_ice/.
|
||
|
docinto gentoo_ice
|
||
|
dodoc "${WORKDIR}"/README
|
||
|
}
|
||
7 years ago
|
|
||
|
pkg_postinst() {
|
||
|
xdg_desktop_database_update
|
||
|
gnome2_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
xdg_desktop_database_update
|
||
|
gnome2_icon_cache_update
|
||
|
}
|