summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild b/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild
index 6813cf60326b..3008348f1006 100644
--- a/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild
+++ b/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild
@@ -3,28 +3,18 @@
EAPI=7
-inherit eutils gnome2-utils xdg
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/squentin/${PN}.git"
- inherit git-r3
- SRC_URI=""
-else
- GIT_COMMIT="4538a5af5fb6c11f07bd7a9c50d6fd73b18c840d"
- SRC_URI="https://github.com/squentin/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${PN}-${GIT_COMMIT}"
-fi
+inherit git-r3 gnome2-utils xdg
DESCRIPTION="An open-source jukebox for large collections of mp3/ogg/flac files"
HOMEPAGE="https://gmusicbrowser.org/"
+EGIT_REPO_URI="https://github.com/squentin/${PN}.git"
LICENSE="GPL-3"
SLOT="0"
IUSE="dbus doc extras gstreamer libnotify mplayer"
RDEPEND="dev-lang/perl
- dev-perl/Gtk2
+ dev-perl/Gtk3
virtual/perl-MIME-Base64
|| ( net-misc/wget dev-perl/AnyEvent-HTTP )
dbus? ( dev-perl/Net-DBus )
@@ -46,6 +36,12 @@ src_compile() {
emake MARKDOWN=$(usex doc "Markdown.pl" "echo")
}
+src_prepare() {
+ default
+ # silence QA warnings
+ sed -i '/^OnlyShowIn/d' gmusicbrowser.desktop || die
+}
+
src_install() {
emake \
DESTDIR="${D}" \