summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiy Borodych <Sergiy.Borodych@gmail.com>2017-04-20 11:12:35 +0300
committerMichał Górny <mgorny@gentoo.org>2017-05-08 19:01:57 +0200
commita59cf14b7404047391c839508e4e76b19ffac486 (patch)
treedbce279631fcf659a8f16b431c813a9356e6cbdd /media-sound/gmusicbrowser
parentnet-im/corebird: Version bump to 1.5 (diff)
downloadgentoo-a59cf14b7404047391c839508e4e76b19ffac486.tar.gz
gentoo-a59cf14b7404047391c839508e4e76b19ffac486.tar.bz2
gentoo-a59cf14b7404047391c839508e4e76b19ffac486.zip
media-sound/gmusicbrowser: bump to newest git revision (2016-05-30)
the bump contains a lot of fixes, especially perl 5.24 support use git rev bump because there no new version a long time from upstream
Diffstat (limited to 'media-sound/gmusicbrowser')
-rw-r--r--media-sound/gmusicbrowser/Manifest1
-rw-r--r--media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20160530.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-sound/gmusicbrowser/Manifest b/media-sound/gmusicbrowser/Manifest
index 7b3e05394159..37dda1b6394d 100644
--- a/media-sound/gmusicbrowser/Manifest
+++ b/media-sound/gmusicbrowser/Manifest
@@ -1 +1,2 @@
DIST gmusicbrowser-1.1.15.tar.gz 2349451 SHA256 1ec881d148ccc26bdbab66ca701fd2216e034c3b613d6e66c17ac702271c677b SHA512 9176be8f2b1b6c832099feff87a7a526efaa3c512c9b7b6d433f1a157ac1185adb05185f52f9ce1b3b41afc967c37345d216a090b472927a661747e25479cbdc WHIRLPOOL b9fa86d43a904d8adb587f8eebae9fcc3463fb7f7c04b44d14365742de9bda240dde7fd4e27df88b812418af1e0f00955afde8184600729dd8ab06aa220d689d
+DIST gmusicbrowser-1.1.15_p20160530.tar.gz 1305616 SHA256 01480178afd54356f7b0cafbbe0a6d163dc6ac0ad0f7a4d0442ebf86afe426e3 SHA512 980446a873fab39c5b880e289e2ff61df112f5336dfd19b0ac3b3b6a346ddebaaca8718f169926404f38cc518817f115a38ab210ae7f4eab05962506d70d3f3b WHIRLPOOL 1ebd172a8bdfbf92b1a11187b588374a4217da413fef34e702d9c004297c2958e666c14b95854c9af3cb79125e28c8cb09810a868db704c2968a5f459aef7e6c
diff --git a/media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20160530.ebuild b/media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20160530.ebuild
new file mode 100644
index 000000000000..b352d2a875f0
--- /dev/null
+++ b/media-sound/gmusicbrowser/gmusicbrowser-1.1.15_p20160530.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GIT_COMMIT="853840eb9dad0b59ad2dac5d303f5929b2f09f21"
+
+inherit eutils fdo-mime gnome2-utils
+
+DESCRIPTION="An open-source jukebox for large collections of mp3/ogg/flac files"
+HOMEPAGE="http://gmusicbrowser.org/"
+SRC_URI="https://github.com/squentin/gmusicbrowser/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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 )"
+
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+
+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() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}