summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiy Borodych <Sergiy.Borodych@gmail.com>2020-11-20 10:18:00 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-03-16 11:27:21 +0100
commite6a514bb9a8d07cc706d77e3eea61733d1b1a3b0 (patch)
tree61f9bb121841c66b5b69418453e0523157c8d8d8
parentmedia-sound/gmusicbrowser: bump to 1.1.16 version (diff)
downloadgentoo-e6a514bb9a8d07cc706d77e3eea61733d1b1a3b0.tar.gz
gentoo-e6a514bb9a8d07cc706d77e3eea61733d1b1a3b0.tar.bz2
gentoo-e6a514bb9a8d07cc706d77e3eea61733d1b1a3b0.zip
media-sound/gmusicbrowser: bump & rework git version
Remove ${PV} == "9999" condition since it may provide some issues. See 9217bbbfd685b511492a6e4e1a45bd6c930cc06c The upstream last changes are related to switching to 'Gtk3'. It doesn't work perfectly yet (some icons issues), but it generally works. Signed-off-by: Sergiy Borodych <Sergiy.Borodych@gmail.com> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-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}" \