summaryrefslogtreecommitdiff
path: root/libre/minitube
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-02-07 01:43:18 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-02-07 01:43:18 -0500
commit8631011e231db2a77b3a93a93bb88f32ad8e5eac (patch)
tree2bc4a2d955c88ed9190ad26aa9b95820f85862fa /libre/minitube
parent982ed50d3b9068461ec8f9687f67b8840d4e6830 (diff)
downloadabslibre-8631011e231db2a77b3a93a93bb88f32ad8e5eac.tar.gz
abslibre-8631011e231db2a77b3a93a93bb88f32ad8e5eac.tar.bz2
abslibre-8631011e231db2a77b3a93a93bb88f32ad8e5eac.zip
minitube-2.9-3.parabola1: updating version
Diffstat (limited to 'libre/minitube')
-rw-r--r--libre/minitube/PKGBUILD30
-rw-r--r--libre/minitube/remove_unfree_recommendations.patch39
2 files changed, 34 insertions, 35 deletions
diff --git a/libre/minitube/PKGBUILD b/libre/minitube/PKGBUILD
index 563c20968..9c8fe5fb2 100644
--- a/libre/minitube/PKGBUILD
+++ b/libre/minitube/PKGBUILD
@@ -1,35 +1,37 @@
# $Id$
-# Maintainer: fauno <fauno@parabola.nu>
-# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
-# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Maintainer (Arch): David Runge <dave@sleepmap.de>
+# Contributor (Arch): speps <speps at aur dot archlinux dot org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: fauno <fauno@parabola.nu>
pkgname=minitube
-pkgver=2.8
-pkgrel=2.parabola1
+pkgver=2.9
+pkgrel=3.parabola1
+_srcrel=1
pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash Player and nonfree recommendations"
arch=('i686' 'x86_64')
-url='http://flavio.tordini.org/minitube'
+url='https://flavio.tordini.org/minitube'
license=('GPL3')
depends=('phonon-qt5' 'qt5-declarative' 'hicolor-icon-theme')
makedepends=('qt5-tools')
source=(https://repo.parabola.nu/other/${pkgname}/${pkgname}-${pkgver}-libre${_srcrel}.tar.gz)
-sha512sums=('a9b54f2120c9404a492380bffcffa210a92eebfe7702df6124a0e8ebec1a9031b96e3daa601f0e076b1748cbe0e094e8347e915c564369e6a4cfd4441495a9d3')
-mksource=($pkgname-$pkgver.tar.gz::"https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz"
+sha512sums=('bed06b2357bf9bf4d7376c813e1d3140eb2098f50666635b955b5ed6f4b00946dd30f0090faa62e8c498e1ab60c70f359275fbf9833cb2f41ac9a82059dc675b')
+mksource=("${pkgname}-${pkgver}.tar.gz::https://github.com/flaviotordini/${pkgname}/archive/${pkgver}.tar.gz"
remove_unfree_recommendations.patch)
-mksha256sums=('c8e7c39d5125027d076440830c6cc33d2782e0d65047d639dfa55e839e64d88c'
- '6486ebc95349f906b1cbbf9104b03909875c68c0db199748562b77ac39bbb50f')
+mksha512sums=('94bac1b7cb1b3388256d088bfb9ffdfe75cc3c1624f60722cedd561015e1afa96351d4ac55b6be27bb5e00641cd7e3198cf2285a0e9b0c586d62d1a7a8c510c9'
+ 'ff1a1b1c98efe748d15e73131b1d5b6d72758e74660428eaf3d1b89717e5445b6aa3f25dd4bef14ec000966372a9e512f715641b66872d19f0a5298749022db2')
mksource() {
- cd $pkgname-$pkgver
+ cd "${pkgname}-${pkgver}"
patch -p1 -i ../remove_unfree_recommendations.patch
}
build() {
- cd $pkgname-$pkgver
+ cd "${pkgname}-${pkgver}"
qmake
}
package() {
- cd $pkgname-$pkgver
- make install INSTALL_ROOT="$pkgdir/"
+ cd "${pkgname}-${pkgver}"
+ make install INSTALL_ROOT="${pkgdir}/"
}
diff --git a/libre/minitube/remove_unfree_recommendations.patch b/libre/minitube/remove_unfree_recommendations.patch
index 98f3b06a8..8111abc12 100644
--- a/libre/minitube/remove_unfree_recommendations.patch
+++ b/libre/minitube/remove_unfree_recommendations.patch
@@ -1,25 +1,23 @@
-diff -aurN minitube-2.8.orig/minitube.pro minitube-2.8/minitube.pro
---- minitube-2.8.orig/minitube.pro 2017-07-24 10:05:55.000000000 -0300
-+++ minitube-2.8/minitube.pro 2017-09-04 12:38:11.228677768 -0300
-@@ -103,7 +103,6 @@
+--- minitube-2.9.orig/minitube.pro 2017-11-27 13:23:35.000000000 -0500
++++ minitube-2.9/minitube.pro 2018-02-07 01:06:02.051910062 -0500
+@@ -104,7 +104,6 @@
src/exlineedit.h \
src/channellistview.h \
src/httputils.h \
- src/appwidget.h \
- src/clickablelabel.h
- SOURCES += src/main.cpp \
- src/searchlineedit.cpp \
-@@ -174,7 +173,6 @@
+ src/clickablelabel.h \
+ src/ytvideo.h \
+ src/toolbarmenu.h \
+@@ -178,7 +177,6 @@
src/exlineedit.cpp \
src/channellistview.cpp \
src/httputils.cpp \
- src/appwidget.cpp \
- src/clickablelabel.cpp
- RESOURCES += resources.qrc
- DESTDIR = build/target/
-diff -aurN minitube-2.8.orig/src/aboutview.cpp minitube-2.8/src/aboutview.cpp
---- minitube-2.8.orig/src/aboutview.cpp 2017-07-24 10:05:55.000000000 -0300
-+++ minitube-2.8/src/aboutview.cpp 2017-09-04 12:37:56.485294782 -0300
+ src/clickablelabel.cpp \
+ src/ytvideo.cpp \
+ src/toolbarmenu.cpp \
+--- minitube-2.9.orig/src/aboutview.cpp 2017-11-27 13:23:35.000000000 -0500
++++ minitube-2.9/src/aboutview.cpp 2018-02-07 01:08:29.768705041 -0500
@@ -32,7 +32,6 @@
#endif
#include "fontutils.h"
@@ -37,10 +35,9 @@ diff -aurN minitube-2.8.orig/src/aboutview.cpp minitube-2.8/src/aboutview.cpp
}
void AboutView::appear() {
-diff -aurN minitube-2.8.orig/src/appwidget.cpp minitube-2.8/src/appwidget.cpp
---- minitube-2.8.orig/src/appwidget.cpp 2017-07-24 10:05:55.000000000 -0300
-+++ minitube-2.8/src/appwidget.cpp 1969-12-31 21:00:00.000000000 -0300
-@@ -1,111 +0,0 @@
+--- minitube-2.9.orig/src/appwidget.cpp 2017-11-27 13:23:35.000000000 -0500
++++ minitube-2.9/src/appwidget.cpp 1969-12-31 19:00:00.000000000 -0500
+@@ -1,112 +0,0 @@
-#include "appwidget.h"
-#include "constants.h"
-#include "http.h"
@@ -94,6 +91,7 @@ diff -aurN minitube-2.8.orig/src/appwidget.cpp minitube-2.8/src/appwidget.cpp
- layout->setAlignment(Qt::AlignHCenter);
-
- icon = new QLabel();
+- icon->setMinimumHeight(128);
- layout->addWidget(icon);
- const QString iconUrl = filesUrl + QLatin1String("products/") + unixName + QLatin1String(".png");
- QObject *reply = Http::instance().get(iconUrl);
@@ -152,9 +150,8 @@ diff -aurN minitube-2.8.orig/src/appwidget.cpp minitube-2.8/src/appwidget.cpp
- dialog->show();
-#endif
-}
-diff -aurN minitube-2.8.orig/src/appwidget.h minitube-2.8/src/appwidget.h
---- minitube-2.8.orig/src/appwidget.h 2017-07-24 10:05:55.000000000 -0300
-+++ minitube-2.8/src/appwidget.h 1969-12-31 21:00:00.000000000 -0300
+--- minitube-2.9.orig/src/appwidget.h 2017-11-27 13:23:35.000000000 -0500
++++ minitube-2.9/src/appwidget.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,46 +0,0 @@
-#ifndef APPWIDGET_H
-#define APPWIDGET_H