diff --git a/srcpkgs/minitube/patches/patch-src_mainwindow_cpp.diff b/srcpkgs/minitube/patches/patch-src_mainwindow_cpp.diff deleted file mode 100644 index ceb3004c46c..00000000000 --- a/srcpkgs/minitube/patches/patch-src_mainwindow_cpp.diff +++ /dev/null @@ -1,15 +0,0 @@ -$OpenBSD: patch-src_mainwindow_cpp,v 1.3 2014/10/30 13:59:44 dcoppa Exp $ - -Do not use symbolic icons - ---- src/mainwindow.cpp.orig Thu Dec 19 00:37:27 2013 -+++ src/mainwindow.cpp Fri Feb 7 16:50:08 2014 -@@ -565,7 +565,7 @@ void MainWindow::createActions() { - action = new QAction(tr("More..."), this); - actions->insert("more-region", action); - -- action = new QAction(IconUtils::icon("view-list"), tr("&Related Videos"), this); -+ action = new QAction(IconUtils::icon("format-justify-fill"), tr("&Related Videos"), this); - action->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_R)); - action->setStatusTip(tr("Watch videos related to the current one")); - action->setEnabled(false); diff --git a/srcpkgs/minitube/template b/srcpkgs/minitube/template index 95713c9b99f..e2195e3f3c7 100644 --- a/srcpkgs/minitube/template +++ b/srcpkgs/minitube/template @@ -1,17 +1,37 @@ # Template file for 'minitube' pkgname=minitube -version=2.9 +version=3.0 revision=1 +_commit_hash_http=e790e31e6843c6ee8e97cd7e41e9eb9e024a9e2c +_commit_hash_media=157456a8af02e5d7524b1bb54ba53794e37ed12a +_commit_hash_idle=6aa092da64a011e445bf31cf31c0cd8dda4c64ff build_style=qmake -makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel" -hostmakedepends="qt5-tools qt5-qmake $makedepends" +hostmakedepends="qt5-tools qt5-qmake git" +makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel + qt5-plugin-sqlite qt5-x11extras-devel mpv-devel" depends="virtual?phonon-qt5-backend desktop-file-utils hicolor-icon-theme" -short_desc="A native YouTube client in Qt5" +short_desc="Qt5-based YouTube client" maintainer="Juan RP " -license="GPL-3" +license="GPL-3-or-later" homepage="http://flavio.tordini.org/minitube" -distfiles="https://github.com/flaviotordini/minitube/archive/$version.tar.gz" -checksum=0f51fb86d0fdfbcf00af142868ceeacb6c27eb8a1e36d856162e23d63e90eb07 +distfiles="https://github.com/flaviotordini/minitube/archive/${version}.tar.gz + https://github.com/flaviotordini/http/archive/${_commit_hash_http}.tar.gz + https://github.com/flaviotordini/media/archive/${_commit_hash_media}.tar.gz + https://github.com/flaviotordini/idle/archive/${_commit_hash_idle}.tar.gz" +checksum="682f6f45fc42fc28ca36e65a1cc6ee82d7982e45db3a786c50823e5030b508ef + d0596eed14dc9e213443646de7beb4a9b439ad0a568b560f668db83751be3d98 + 98c8fb79044fe90bf92ee08f6f00ca2a68e17f36c0881ebb591e182e4b1d4f02 + 597156e1f7ac3b8d8bdd251008cc0d10487c120462576088eed69425048d4bde" + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-x11extras-devel qt5-declarative-devel" +fi + +post_extract() { + mv -T "../http-${_commit_hash_http}" lib/http + mv -T "../media-${_commit_hash_media}" lib/media + mv -T "../idle-${_commit_hash_idle}" lib/idle +} pre_configure() { # Provided by Gottox