minitube: update to 2.6.
This commit is contained in:
parent
b777955fb4
commit
1a3a04bcce
|
@ -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) {
|
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user