diff --git a/srcpkgs/minitube/patches/patch-src_iconutils_cpp b/srcpkgs/minitube/patches/patch-src_iconutils_cpp deleted file mode 100644 index fa7a269c77..0000000000 --- a/srcpkgs/minitube/patches/patch-src_iconutils_cpp +++ /dev/null @@ -1,25 +0,0 @@ -$OpenBSD: patch-src_iconutils_cpp,v 1.1 2014/10/29 08:18:23 dcoppa Exp $ - -Use the Adwaita icon theme unconditionally: fixes a problem with -minitube GUI not having icons when executed outside of a Desktop -Environment - -Do not use symbolic icons - ---- src/iconutils.cpp.orig Thu Oct 23 12:47:15 2014 -+++ src/iconutils.cpp Sat Oct 25 19:55:31 2014 -@@ -21,12 +21,8 @@ $END_LICENSE */ - #include "iconutils.h" - - QIcon IconUtils::fromTheme(const QString &name) { -- const QLatin1String symbolic("-symbolic"); -- if (name.endsWith(symbolic)) return QIcon::fromTheme(name); -- QIcon icon; -- icon = QIcon::fromTheme(name + symbolic); -- if (icon.isNull()) return QIcon::fromTheme(name); -- return icon; -+ QIcon::setThemeName("Adwaita"); -+ return QIcon::fromTheme(name); - } - - QIcon IconUtils::fromResources(const QString &name) { diff --git a/srcpkgs/minitube/template b/srcpkgs/minitube/template index 864d2f4635..56b0434aa9 100644 --- a/srcpkgs/minitube/template +++ b/srcpkgs/minitube/template @@ -1,17 +1,17 @@ # Template file for 'minitube' pkgname=minitube -version=2.5.2 +version=2.6 revision=1 build_style=qmake hostmakedepends="qt5-tools" -makedepends="qt5-devel phonon-qt5-devel qt5-script-devel" +makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel" depends="virtual?phonon-qt5-backend desktop-file-utils hicolor-icon-theme" short_desc="A native YouTube client in Qt5" maintainer="Juan RP " license="GPL-3" homepage="http://flavio.tordini.org/minitube" distfiles="https://github.com/flaviotordini/minitube/archive/$version.tar.gz" -checksum=63678bf153e77e8cdaf6b43bb9a7bf2c5694c62698c3236f1a1133494362d6b5 +checksum=ae48d2af82c8fa841021f84059b2c7723c39e3efeaa7b2ad3944a4c6cb340c0e pre_configure() { # Provided by Gottox