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)
This commit is contained in:
parent
b12b860da4
commit
0f2190c067
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461987
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= minitube
|
||||
PORTVERSION= 2.7
|
||||
DISTVERSION= 2.9
|
||||
CATEGORIES= multimedia www
|
||||
|
||||
MAINTAINER= ports@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
|
||||
|
@ -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
|
||||
|
11
multimedia/minitube/files/patch-src_ytregions.cpp
Normal file
11
multimedia/minitube/files/patch-src_ytregions.cpp
Normal file
@ -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;
|
@ -2,4 +2,4 @@ Minitube is a native YouTube client. With it you can watch YouTube
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user