media-sound/gmusicbrowser: bump to newest git revision (2019-03-15)
authorSergiy Borodych <Sergiy.Borodych@gmail.com>
Mon, 23 Dec 2019 22:04:53 +0000 (00:04 +0200)
committerMiroslav Šulc <fordfrog@gentoo.org>
Wed, 25 Dec 2019 12:23:23 +0000 (13:23 +0100)
the bump contains a lot of fixes (most for picture finder plugin)
still using git rev bump because there is no new version for a long time
 from upstream
also sync git (9999) ebuild

Signed-off-by: Sergiy Borodych <Sergiy.Borodych@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14110
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-sound/gmusicbrowser/Manifest
media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20190315.ebuild [new file with mode: 0644]
media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild

index b14032491e09acc7088b9061a1df4a0e58b6e7ec..5be2238eb99ccb20bbb61970a915c1107e907cdd 100644 (file)
@@ -1 +1,2 @@
 DIST gmusicbrowser-1.1.15_p20160530.tar.gz 1305616 BLAKE2B e67d239a4483624d298814c75442ecdbe6f243549e77ac73e511a123aa038c78dc1c7bd6a707df6a4085d66e6ffe720fc518babe29d382f960e95fb47cd56f29 SHA512 980446a873fab39c5b880e289e2ff61df112f5336dfd19b0ac3b3b6a346ddebaaca8718f169926404f38cc518817f115a38ab210ae7f4eab05962506d70d3f3b
+DIST gmusicbrowser-1.1.15_p20190315.tar.gz 1306390 BLAKE2B e74a3ce80e031c64e381e226d2905ebc5e6826758e984edaf6ad71b414438091f21eb068ce248f3a954bdac34d3027f88a36abaea07265904a5ae40a8da01bf5 SHA512 d9d92c670724daf3ccec5445bcafa9616a8995d1416c0d1a671a42ea14c4d74c4475546e45bb55c6c5015ecf770ed4a7cf1a0e8801d281096818758483c14e2e
diff --git a/media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20190315.ebuild b/media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20190315.ebuild
new file mode 100644 (file)
index 0000000..168d432
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/squentin/${PN}.git"
+       inherit git-r3
+       SRC_URI=""
+       KEYWORDS=""
+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
+
+DESCRIPTION="An open-source jukebox for large collections of mp3/ogg/flac files"
+HOMEPAGE="https://gmusicbrowser.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="dbus doc extras gstreamer libnotify mplayer"
+
+GSTREAMER_DEPEND="dev-perl/Glib-Object-Introspection"
+MPLAYER_DEPEND="media-video/mplayer"
+MPV_DEPEND="media-video/mpv"
+OTHER_DEPEND="
+       media-sound/alsa-utils
+       media-sound/flac123
+       || ( media-sound/mpg123 media-sound/mpg321 )
+       media-sound/vorbis-tools"
+
+RDEPEND="dev-lang/perl
+       dev-perl/Gtk2
+       virtual/perl-MIME-Base64
+       || ( net-misc/wget dev-perl/AnyEvent-HTTP )
+       dbus? ( dev-perl/Net-DBus )
+       gstreamer? ( ${GSTREAMER_DEPEND} )
+       mplayer? ( || ( ${MPLAYER_DEPEND} ${MPV_DEPEND} ) )
+       !gstreamer? ( !mplayer? ( ${OTHER_DEPEND} ) )
+       extras? ( dev-perl/gnome2-wnck )
+       libnotify? ( dev-perl/Gtk2-Notify )"
+DEPEND="sys-devel/gettext
+       doc? ( dev-perl/Text-Markdown )"
+
+src_compile() {
+       emake MARKDOWN=$(usex doc "Markdown.pl" "echo")
+}
+
+src_install() {
+       emake \
+               DESTDIR="${D}" \
+               iconsdir="${D%/}/usr/share/icons/hicolor" \
+               install
+
+       use doc && local HTML_DOCS=( layout_doc.html )
+       einstalldocs
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       gnome2_icon_cache_update
+}
index 3d144fcc11c7929bea95c310e736cd3fb7b7b5b2..168d43232cb4cf2bfdbbbe5eb0fe80969bd2f2c1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        KEYWORDS=""
 else
-       GIT_COMMIT="853840eb9dad0b59ad2dac5d303f5929b2f09f21"
+       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}"