diff options
author | David P <megver83@parabola.nu> | 2020-10-03 17:02:25 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-10-03 17:02:25 -0400 |
commit | e04c9cf78469a07151b196e1712d2fb433bf57b0 (patch) | |
tree | c8ac04bebdda4a5493e27d6e3dfcc78506df2ba4 /libre/minitube | |
parent | 163b89eb576f7a4ee3df32a36adc84bb30627bab (diff) | |
download | abslibre-e04c9cf78469a07151b196e1712d2fb433bf57b0.tar.gz abslibre-e04c9cf78469a07151b196e1712d2fb433bf57b0.tar.bz2 abslibre-e04c9cf78469a07151b196e1712d2fb433bf57b0.zip |
updpkg: libre/minitube 3.6.1-1.parabola1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/minitube')
-rw-r--r-- | libre/minitube/PKGBUILD | 11 | ||||
-rw-r--r-- | libre/minitube/remove_unfree_recommendations.patch | 48 |
2 files changed, 39 insertions, 20 deletions
diff --git a/libre/minitube/PKGBUILD b/libre/minitube/PKGBUILD index 7b01452c1..4d88bb415 100644 --- a/libre/minitube/PKGBUILD +++ b/libre/minitube/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: fauno <fauno@parabola.nu> pkgname=minitube -pkgver=3.3 +pkgver=3.6.1 pkgrel=1 pkgrel+=.parabola1 pkgdesc="A YouTube desktop application" @@ -13,12 +13,12 @@ arch=('x86_64') arch+=('i686') url="https://flavio.tordini.org/minitube" license=('GPL3') -depends=('mpv' 'qt5-declarative' 'qt5-x11extras') -makedepends=('qt5-tools') +depends=('gcc-libs' 'glibc' 'qt5-base' 'qt5-declarative' 'qt5-x11extras') +makedepends=('mpv' 'qt5-tools') source=("https://github.com/flaviotordini/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2" 'remove_unfree_recommendations.patch') -sha512sums=('8496405de0fdfb58a109c95004437fafea92013860ab5acbdd0aba983da7b6114e3c4a216f6b910df88740e688f57c2dc9640fe02630b256a309bc3c6e03ba8d' - '58955bc1c07fe95327b29523d71b378fcd679d82912986f2091f725a3c653e4ec6a624b6c201ff044e39b2445fb46dfa566670036759d8b246cbda24e3e23d46') +sha512sums=('034baa51934564f492049c6a2a4c2eaabf335f1168593aa27664a5f268b0dc4136217c8da4d1a80e777879d7ad3d109d4ba7089cf387dc76f97af52c7c6d3609' + '1e030cec9469f4823c32fa015c22d1b4743258bd922543eaab1aa5bb868bc77298dce691175a4068305f3f7ccba3cfaeba09054f00bde9a47cbbe97a3a132de3') prepare() { cd "${pkgname}-${pkgver}" @@ -31,6 +31,7 @@ build() { } package() { + depends+=('libmpv.so') cd "${pkgname}-${pkgver}" make install INSTALL_ROOT="${pkgdir}/" install -vDm 644 {AUTHORS,CHANGES,README.md,TODO} \ diff --git a/libre/minitube/remove_unfree_recommendations.patch b/libre/minitube/remove_unfree_recommendations.patch index 3b05f93c3..0b11b3be3 100644 --- a/libre/minitube/remove_unfree_recommendations.patch +++ b/libre/minitube/remove_unfree_recommendations.patch @@ -1,6 +1,8 @@ ---- minitube-3.3.orig/minitube.pro 2019-12-20 19:58:27.000000000 -0500 -+++ minitube-3.3/minitube.pro 2020-04-11 02:29:24.437159651 -0500 -@@ -103,7 +103,6 @@ +diff --git a/minitube.pro b/minitube.pro +index e75a41d..e3dbcb1 100644 +--- a/minitube.pro ++++ b/minitube.pro +@@ -117,7 +117,6 @@ HEADERS += src/video.h \ src/searchwidget.h \ src/channellistview.h \ src/httputils.h \ @@ -8,7 +10,7 @@ src/clickablelabel.h \ src/ytvideo.h \ src/toolbarmenu.h \ -@@ -176,7 +175,6 @@ +@@ -192,7 +191,6 @@ SOURCES += src/main.cpp \ src/paginatedvideosource.cpp \ src/channellistview.cpp \ src/httputils.cpp \ @@ -16,9 +18,11 @@ src/clickablelabel.cpp \ src/ytvideo.cpp \ src/toolbarmenu.cpp \ ---- minitube-3.3.orig/src/aboutview.cpp 2019-12-20 19:58:27.000000000 -0500 -+++ minitube-3.3/src/aboutview.cpp 2020-04-11 02:32:03.707157988 -0500 -@@ -30,7 +30,6 @@ +diff --git a/src/aboutview.cpp b/src/aboutview.cpp +index 48b7dff..19140a8 100644 +--- a/src/aboutview.cpp ++++ b/src/aboutview.cpp +@@ -30,7 +30,6 @@ $END_LICENSE */ #include "mac_startup.h" #include "macutils.h" #endif @@ -26,7 +30,7 @@ #include "clickablelabel.h" #include "fontutils.h" #include "iconutils.h" -@@ -157,8 +156,6 @@ +@@ -197,8 +196,6 @@ AboutView::AboutView(QWidget *parent) : View(parent) { buttonLayout->addWidget(closeButton); layout->addLayout(buttonLayout); @@ -35,9 +39,12 @@ } void AboutView::appear() { ---- minitube-3.3.orig/src/appwidget.cpp 2019-12-20 19:58:27.000000000 -0500 -+++ minitube-3.3/src/appwidget.cpp 1969-12-31 19:00:00.000000000 -0500 -@@ -1,112 +0,0 @@ +diff --git a/src/appwidget.cpp b/src/appwidget.cpp +deleted file mode 100644 +index 3c67e28..0000000 +--- a/src/appwidget.cpp ++++ /dev/null +@@ -1,120 +0,0 @@ -#include "appwidget.h" -#include "constants.h" -#include "http.h" @@ -61,6 +68,9 @@ - const QString ext = "deb"; -#endif - +-#ifdef APP_MAC +- setupApp("Sofa", "sofa." + ext); +-#endif - setupApp("Finetune", "finetune." + ext); - setupApp("Musictube", "musictube." + ext); - setupApp("Musique", "musique." + ext); @@ -79,7 +89,8 @@ - style()->drawPrimitive(QStyle::PE_Widget, &o, &p, this); -} - --AppWidget::AppWidget(const QString &name, const QString &code, QWidget *parent) : QWidget(parent), icon(0), name(name), downloadButton(0) { +-AppWidget::AppWidget(const QString &name, const QString &code, QWidget *parent) +- : QWidget(parent), name(name), downloadButton(nullptr) { - const QString unixName = code.left(code.lastIndexOf('.')); - const QString baseUrl = QLatin1String("https://") + Constants::ORG_DOMAIN; - const QString filesUrl = baseUrl + QLatin1String("/files/"); @@ -93,7 +104,11 @@ - icon = new QLabel(); - icon->setMinimumHeight(128); - layout->addWidget(icon); -- const QString iconUrl = filesUrl + QLatin1String("products/") + unixName + QLatin1String(".png"); +- QString pixelRatioString; +- if (devicePixelRatioF() > 1.0) +- pixelRatioString = '@' + QString::number(devicePixelRatio()) + 'x'; +- const QString iconUrl = filesUrl + QLatin1String("products/") + unixName + pixelRatioString + +- QLatin1String(".png"); - QObject *reply = Http::instance().get(iconUrl); - connect(reply, SIGNAL(data(QByteArray)), SLOT(iconDownloaded(QByteArray))); - @@ -150,8 +165,11 @@ - dialog->show(); -#endif -} ---- minitube-3.3.orig/src/appwidget.h 2019-12-20 19:58:27.000000000 -0500 -+++ minitube-3.3/src/appwidget.h 1969-12-31 19:00:00.000000000 -0500 +diff --git a/src/appwidget.h b/src/appwidget.h +deleted file mode 100644 +index a5ee272..0000000 +--- a/src/appwidget.h ++++ /dev/null @@ -1,46 +0,0 @@ -#ifndef APPWIDGET_H -#define APPWIDGET_H |