utilize 'doc' USE flag in stable version like in 9999,
fix double-slashing
Closes: https://github.com/gentoo/gentoo/pull/2661
Signed-off-by: David Seifert <soap@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit fdo-mime gnome2-utils
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="dbus extras gstreamer libnotify mplayer"
+IUSE="dbus doc extras gstreamer libnotify mplayer"
GSTREAMER_DEPEND="
dev-perl/GStreamer
src_install() {
emake \
- DOCS="AUTHORS NEWS README" \
DESTDIR="${D}" \
- iconsdir="${D}/usr/share/icons/hicolor" \
+ iconsdir="${D%/}/usr/share/icons/hicolor" \
install
- dohtml layout_doc.html
+ use doc && local HTML_DOCS=( layout_doc.html )
+ einstalldocs
}
pkg_preinst() {
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils fdo-mime git-2 gnome2-utils
+inherit eutils fdo-mime git-r3 gnome2-utils
DESCRIPTION="An open-source jukebox for large collections of mp3/ogg/flac files"
HOMEPAGE="http://gmusicbrowser.org/"
src_install() {
emake \
- DOCS="AUTHORS NEWS README" \
DESTDIR="${D}" \
- iconsdir="${D}/usr/share/icons/hicolor" \
+ iconsdir="${D%/}/usr/share/icons/hicolor" \
install
- use doc && dohtml layout_doc.html
+ use doc && local HTML_DOCS=( layout_doc.html )
+ einstalldocs
}
pkg_preinst() {