aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-02-27 12:57:17 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-02-27 12:57:17 +0000
commit3cfc5a2920aefaa35986281876c8ddbf23150461 (patch)
tree896b2638d2d81828bec900fbb1b1a5c60ad4d744 /audio
parent728d8d6de2f95e85b5ec404b570c20ea5997f451 (diff)
downloadports-3cfc5a2920aefaa35986281876c8ddbf23150461.tar.gz
ports-3cfc5a2920aefaa35986281876c8ddbf23150461.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/gmusicbrowser/Makefile12
-rw-r--r--audio/gmusicbrowser/distinfo5
-rw-r--r--audio/gmusicbrowser/files/patch-gmusicbrowser.pl11
-rw-r--r--audio/gmusicbrowser/files/patch-gmusicbrowser_list.pm11
-rw-r--r--audio/gmusicbrowser/pkg-plist2
5 files changed, 33 insertions, 8 deletions
diff --git a/audio/gmusicbrowser/Makefile b/audio/gmusicbrowser/Makefile
index 938776a5f196..e80f281cd691 100644
--- a/audio/gmusicbrowser/Makefile
+++ b/audio/gmusicbrowser/Makefile
@@ -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}
diff --git a/audio/gmusicbrowser/distinfo b/audio/gmusicbrowser/distinfo
index 5d764a394475..a37236ca82b8 100644
--- a/audio/gmusicbrowser/distinfo
+++ b/audio/gmusicbrowser/distinfo
@@ -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
diff --git a/audio/gmusicbrowser/files/patch-gmusicbrowser.pl b/audio/gmusicbrowser/files/patch-gmusicbrowser.pl
new file mode 100644
index 000000000000..660607db4470
--- /dev/null
+++ b/audio/gmusicbrowser/files/patch-gmusicbrowser.pl
@@ -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);
diff --git a/audio/gmusicbrowser/files/patch-gmusicbrowser_list.pm b/audio/gmusicbrowser/files/patch-gmusicbrowser_list.pm
new file mode 100644
index 000000000000..362d3eb28442
--- /dev/null
+++ b/audio/gmusicbrowser/files/patch-gmusicbrowser_list.pm
@@ -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}";
diff --git a/audio/gmusicbrowser/pkg-plist b/audio/gmusicbrowser/pkg-plist
index 4b0357d351d8..3ffa36200bdf 100644
--- a/audio/gmusicbrowser/pkg-plist
+++ b/audio/gmusicbrowser/pkg-plist
@@ -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