svn commit: r461987 - in head/multimedia/minitube: . files
Yuri Victorovich
yuri at FreeBSD.org
Fri Feb 16 08:36:12 UTC 2018
Author: yuri
Date: Fri Feb 16 08:36:10 2018
New Revision: 461987
URL: https://svnweb.freebsd.org/changeset/ports/461987
Log:
multimedia/minitube: Update to 2.9
Additional port changes:
* Replaced with DISTVERSION
* Removed INSTALLS_ICONS (not a gtk app)
* Added the patch with the workaround for the build failure
Approved by: tcberner (mentor, implicit)
Added:
head/multimedia/minitube/files/
head/multimedia/minitube/files/patch-src_ytregions.cpp (contents, props changed)
Modified:
head/multimedia/minitube/Makefile
head/multimedia/minitube/distinfo
head/multimedia/minitube/pkg-descr
Modified: head/multimedia/minitube/Makefile
==============================================================================
--- head/multimedia/minitube/Makefile Fri Feb 16 08:35:07 2018 (r461986)
+++ head/multimedia/minitube/Makefile Fri Feb 16 08:36:10 2018 (r461987)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= minitube
-PORTVERSION= 2.7
+DISTVERSION= 2.9
CATEGORIES= multimedia www
MAINTAINER= ports at FreeBSD.org
@@ -10,16 +10,14 @@ COMMENT= TV-like client for YouTube
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= qmake
USE_GITHUB= yes
GH_ACCOUNT= flaviotordini
-
-USES= qmake
USE_GL= gl
USE_QT5= core dbus gui network phonon4 qml script sql widgets \
buildtools_build imageformats_run sql-sqlite3_run
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
-INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
Modified: head/multimedia/minitube/distinfo
==============================================================================
--- head/multimedia/minitube/distinfo Fri Feb 16 08:35:07 2018 (r461986)
+++ head/multimedia/minitube/distinfo Fri Feb 16 08:36:10 2018 (r461987)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495998707
-SHA256 (flaviotordini-minitube-2.7_GH0.tar.gz) = ef330a3da1ed46da0abb64e0f1ece5c56427103a79dbfbcebadf69004f0f7468
-SIZE (flaviotordini-minitube-2.7_GH0.tar.gz) = 994674
+TIMESTAMP = 1518753952
+SHA256 (flaviotordini-minitube-2.9_GH0.tar.gz) = 0f51fb86d0fdfbcf00af142868ceeacb6c27eb8a1e36d856162e23d63e90eb07
+SIZE (flaviotordini-minitube-2.9_GH0.tar.gz) = 1000060
Added: head/multimedia/minitube/files/patch-src_ytregions.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/minitube/files/patch-src_ytregions.cpp Fri Feb 16 08:36:10 2018 (r461987)
@@ -0,0 +1,11 @@
+--- src/ytregions.cpp.orig 2018-02-16 08:18:19 UTC
++++ src/ytregions.cpp
+@@ -84,7 +84,7 @@ YTRegion YTRegions::r(const QString &nam
+ }
+
+ const YTRegion &YTRegions::localRegion() {
+- static const YTRegion region = [] {
++ static const YTRegion region = []() -> const YTRegion { // workaround for https://github.com/flaviotordini/minitube/issues/99
+ QString country = QLocale::system().name().right(2);
+ for (const YTRegion &r : list()) {
+ if (r.id == country) return r;
Modified: head/multimedia/minitube/pkg-descr
==============================================================================
--- head/multimedia/minitube/pkg-descr Fri Feb 16 08:35:07 2018 (r461986)
+++ head/multimedia/minitube/pkg-descr Fri Feb 16 08:36:10 2018 (r461987)
@@ -2,4 +2,4 @@ Minitube is a native YouTube client. With it you can
videos in a new way: you type a keyword, Minitube gives you an
endless video stream. Minitube does not require the Flash Player.
-WWW: http://flavio.tordini.org/minitube/
+WWW: https://flavio.tordini.org/minitube
More information about the svn-ports-all
mailing list