Skip to content

Commit

Permalink
media-sound/gmusicbrowser: migrate to EAPI=6 & git-r3 eclass (for 9999)
Browse files Browse the repository at this point in the history
utilize 'doc' USE flag in stable version like in 9999,
fix double-slashing
Closes: gentoo#2661

Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
bor authored and SoapGentoo committed Nov 6, 2016
1 parent 7e3840d commit 12eb025
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6

inherit fdo-mime gnome2-utils

Expand All @@ -13,7 +13,7 @@ SRC_URI="http://${PN}.org/download/${P}.tar.gz"
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
Expand Down Expand Up @@ -41,12 +41,12 @@ DEPEND="sys-devel/gettext"

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() {
Expand Down
10 changes: 5 additions & 5 deletions media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# 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/"
Expand Down Expand Up @@ -46,12 +46,12 @@ src_compile() {

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() {
Expand Down

0 comments on commit 12eb025

Please sign in to comment.