audio/gmusicbrowser: Update to 1.1.15

- Enable more options by default

PR:		235948
Submitted by:	w.schwarzenfeld@utanet.at
Approved by:	maintainer
This commit is contained in:
Tobias Kortkamp 2019-02-27 12:57:17 +00:00
parent 728d8d6de2
commit 3cfc5a2920
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494050
5 changed files with 33 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gmusicbrowser
PORTVERSION= 1.1.13
PORTVERSION= 1.1.15
CATEGORIES= audio
MASTER_SITES= http://gmusicbrowser.org/download/
@ -13,16 +13,17 @@ LICENSE= GPLv3
RUN_DEPENDS= p5-Gtk2>=1.0:x11-toolkits/p5-Gtk2
USES= shebangfix
SHEBANG_FILES= *.pl
NO_BUILD= yes
PORTDOCS= AUTHORS COPYING README NEWS INSTALL layout_doc.html
PORTDATA= *
USES= shebangfix
SHEBANG_FILES= *.pl
OPTIONS_DEFINE= GSTREAMER DBUS WEBKIT NLS LIBNOTIFY DOCS
OPTIONS_DEFAULT=LIBNOTIFY
OPTIONS_DEFAULT= GSTREAMER DBUS LIBNOTIFY
OPTIONS_SUB= yes
LIBNOTIFY_DESC= Desktop notification
WEBKIT_DESC= Enable embedded web browser
@ -32,7 +33,6 @@ DBUS_RUN_DEPENDS= p5-Net-DBus>=1.0:devel/p5-Net-DBus
WEBKIT_RUN_DEPENDS= p5-Gtk2-WebKit>=0:www/p5-Gtk2-WebKit
LIBNOTIFY_RUN_DEPENDS= p5-Gtk2-Notify>=0.05:devel/p5-Gtk2-Notify
NLS_RUN_DEPENDS= p5-Locale-gettext>=1.0:devel/p5-Locale-gettext
OPTIONS_SUB= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

View file

@ -1,2 +1,3 @@
SHA256 (gmusicbrowser-1.1.13.tar.gz) = 0da5eeff037fe61e3f63723e5eba7f7f28018d7a81c7ab334a450dc28d8ab341
SIZE (gmusicbrowser-1.1.13.tar.gz) = 2083888
TIMESTAMP = 1550899617
SHA256 (gmusicbrowser-1.1.15.tar.gz) = 1ec881d148ccc26bdbab66ca701fd2216e034c3b613d6e66c17ac702271c677b
SIZE (gmusicbrowser-1.1.15.tar.gz) = 2349451

View file

@ -0,0 +1,11 @@
--- gmusicbrowser.pl.orig 2019-02-23 05:33:24 UTC
+++ gmusicbrowser.pl
@@ -8977,7 +8977,7 @@ sub Set
($cmd,my $pattern)= split /:/,$cmd,2;
$pattern='' unless defined $pattern;
- my ($basecmd,my $prop)= Songs::filter_properties($field,"$cmd:$pattern");
+ my ($basecmd,$prop)= Songs::filter_properties($field,"$cmd:$pattern");
if (!$prop)
{ $cmd= Songs::Field_property($field,'default_filter');
($basecmd,$prop)= Songs::filter_properties($field,$cmd);

View file

@ -0,0 +1,11 @@
--- gmusicbrowser_list.pm.orig 2019-02-23 05:30:39 UTC
+++ gmusicbrowser_list.pm
@@ -7998,7 +7998,7 @@ sub Make
unless ($notnow)
{ #warn "$key ---found in ($code,@deps)\n";
if (ref $code)
- { my ($func,my @keys)=@$code; #warn " -> ($func, @keys)\n";
+ { my ($func,@keys)=@$code; #warn " -> ($func, @keys)\n";
my $out=join ',',map "'$_'", @keys;
my $in= join ',',map "'$_'", @deps; $in=~s#\?##g;
$out= @keys>1 ? "\@var{$out}" : "\$var{$out}";

View file

@ -11,6 +11,8 @@ man/man1/gmusicbrowser.man.gz
%%NLS%%share/locale/it/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/ko/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/lt/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/ms_MY/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/nl/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/pl/LC_MESSAGES/gmusicbrowser.mo
%%NLS%%share/locale/pt/LC_MESSAGES/gmusicbrowser.mo