aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-02-26 00:31:25 +0800
committermakc <makc@FreeBSD.org>2013-02-26 00:31:25 +0800
commitcf59afce3ecb3041f27f05d4eef6eccf547cb5dc (patch)
treed2393cfdb891dcb37ec67623f395688ce2d7b42a /multimedia
parentafabf1dd2edc51632536138e14a856bdf73d1428 (diff)
downloadfreebsd-ports-gnome-cf59afce3ecb3041f27f05d4eef6eccf547cb5dc.tar.gz
freebsd-ports-gnome-cf59afce3ecb3041f27f05d4eef6eccf547cb5dc.tar.zst
freebsd-ports-gnome-cf59afce3ecb3041f27f05d4eef6eccf547cb5dc.zip
Update to 2.0
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/minitube/Makefile2
-rw-r--r--multimedia/minitube/distinfo4
-rw-r--r--multimedia/minitube/files/patch-src__main.cpp26
-rw-r--r--multimedia/minitube/pkg-plist13
4 files changed, 32 insertions, 13 deletions
diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile
index dfd52d9b1556..bbb5f9fc0bdc 100644
--- a/multimedia/minitube/Makefile
+++ b/multimedia/minitube/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= minitube
-PORTVERSION= 1.9
+PORTVERSION= 2.0
CATEGORIES= multimedia www
MASTER_SITES= http://flavio.tordini.org/files/minitube/
diff --git a/multimedia/minitube/distinfo b/multimedia/minitube/distinfo
index 8855a8741cbd..e6cf8dc76173 100644
--- a/multimedia/minitube/distinfo
+++ b/multimedia/minitube/distinfo
@@ -1,2 +1,2 @@
-SHA256 (minitube-1.9.tar.gz) = 8b9437b107b0d8aecbc8af4624be1263115d4679cc86ae3cf5c2ceb36ac91675
-SIZE (minitube-1.9.tar.gz) = 608884
+SHA256 (minitube-2.0.tar.gz) = 1ba1dd7725e6e0c92653fdee7bcfa4b833346d2ef4c091d94b181b60bb592554
+SIZE (minitube-2.0.tar.gz) = 713577
diff --git a/multimedia/minitube/files/patch-src__main.cpp b/multimedia/minitube/files/patch-src__main.cpp
new file mode 100644
index 000000000000..6820fe5266ee
--- /dev/null
+++ b/multimedia/minitube/files/patch-src__main.cpp
@@ -0,0 +1,26 @@
+--- ./src/main.cpp.orig 2013-02-03 20:19:43.000000000 +0000
++++ ./src/main.cpp 2013-02-22 20:30:39.321732617 +0000
+@@ -11,7 +11,7 @@
+ #include "mac_startup.h"
+ #endif
+
+-#ifdef Q_WS_X11
++#if defined(Q_WS_X11) && !defined(QT_NO_STYLE_GTK)
+ QString getThemeName() {
+ QString themeName;
+
+@@ -82,12 +82,14 @@
+ #ifndef Q_WS_X11
+ Extra::appSetup(&app);
+ #else
++#if !defined(QT_NO_STYLE_GTK)
+ bool isGtk = app.style()->metaObject()->className() == QLatin1String("QGtkStyle");
+ if (isGtk) {
+ app.setProperty("gtk", isGtk);
+ QString themeName = getThemeName();
+ app.setProperty("style", themeName);
+ }
++#endif
+ QFile cssFile(":/style.css");
+ cssFile.open(QFile::ReadOnly);
+ QString styleSheet = QLatin1String(cssFile.readAll());
diff --git a/multimedia/minitube/pkg-plist b/multimedia/minitube/pkg-plist
index f437550eb079..ba0433fb1089 100644
--- a/multimedia/minitube/pkg-plist
+++ b/multimedia/minitube/pkg-plist
@@ -12,6 +12,7 @@ share/icons/hicolor/scalable/apps/minitube.svg
%%NLS%%%%DATADIR%%/locale/ar.qm
%%NLS%%%%DATADIR%%/locale/ca.qm
%%NLS%%%%DATADIR%%/locale/ca_ES.qm
+%%NLS%%%%DATADIR%%/locale/cs_CZ.qm
%%NLS%%%%DATADIR%%/locale/da.qm
%%NLS%%%%DATADIR%%/locale/de_DE.qm
%%NLS%%%%DATADIR%%/locale/el.qm
@@ -22,31 +23,23 @@ share/icons/hicolor/scalable/apps/minitube.svg
%%NLS%%%%DATADIR%%/locale/fi.qm
%%NLS%%%%DATADIR%%/locale/fi_FI.qm
%%NLS%%%%DATADIR%%/locale/fr.qm
-%%NLS%%%%DATADIR%%/locale/gl.qm
%%NLS%%%%DATADIR%%/locale/he_IL.qm
%%NLS%%%%DATADIR%%/locale/hr.qm
%%NLS%%%%DATADIR%%/locale/hu.qm
%%NLS%%%%DATADIR%%/locale/ia.qm
-%%NLS%%%%DATADIR%%/locale/id.qm
%%NLS%%%%DATADIR%%/locale/it.qm
+%%NLS%%%%DATADIR%%/locale/ja_JP.qm
%%NLS%%%%DATADIR%%/locale/jv.qm
-%%NLS%%%%DATADIR%%/locale/ka_GE.qm
-%%NLS%%%%DATADIR%%/locale/nb.qm
+%%NLS%%%%DATADIR%%/locale/ky.qm
%%NLS%%%%DATADIR%%/locale/nl.qm
-%%NLS%%%%DATADIR%%/locale/nn.qm
%%NLS%%%%DATADIR%%/locale/pl.qm
%%NLS%%%%DATADIR%%/locale/pl_PL.qm
-%%NLS%%%%DATADIR%%/locale/pt.qm
%%NLS%%%%DATADIR%%/locale/pt_BR.qm
%%NLS%%%%DATADIR%%/locale/ro.qm
%%NLS%%%%DATADIR%%/locale/ru.qm
%%NLS%%%%DATADIR%%/locale/sk.qm
%%NLS%%%%DATADIR%%/locale/sl.qm
-%%NLS%%%%DATADIR%%/locale/sq.qm
-%%NLS%%%%DATADIR%%/locale/sr.qm
-%%NLS%%%%DATADIR%%/locale/sv_SE.qm
%%NLS%%%%DATADIR%%/locale/tr.qm
-%%NLS%%%%DATADIR%%/locale/uk_UA.qm
%%NLS%%%%DATADIR%%/locale/zh_CN.qm
%%NLS%%@dirrm %%DATADIR%%/locale
%%NLS%%@dirrm %%DATADIR%%