summaryrefslogtreecommitdiff
path: root/libre/minitube
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-07-29 11:10:50 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-07-29 11:39:52 -0400
commit7ccabc9497a1449e9a0443ec99eaf23219d709a0 (patch)
treee1ffcbd4fbf12af6fdb9e55f913f3c97edd8350d /libre/minitube
parent733dd5eb774d4e3b07cada81160c6c05bf2458d2 (diff)
downloadabslibre-7ccabc9497a1449e9a0443ec99eaf23219d709a0.tar.gz
abslibre-7ccabc9497a1449e9a0443ec99eaf23219d709a0.tar.bz2
abslibre-7ccabc9497a1449e9a0443ec99eaf23219d709a0.zip
[minitube]: upgrade to v3.9
Diffstat (limited to 'libre/minitube')
-rw-r--r--libre/minitube/PKGBUILD21
-rw-r--r--libre/minitube/remove_unfree_recommendations.patch17
2 files changed, 23 insertions, 15 deletions
diff --git a/libre/minitube/PKGBUILD b/libre/minitube/PKGBUILD
index 4d88bb415..f4505d60d 100644
--- a/libre/minitube/PKGBUILD
+++ b/libre/minitube/PKGBUILD
@@ -1,24 +1,29 @@
-# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
-# Contributor (Arch): speps <speps at aur dot archlinux dot org>
+# Maintainer (arch): David Runge <dvzrv@archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: fauno <fauno@parabola.nu>
+
+# parabola changes and ratuonale:
+# - remove 'AppsWidget' with non-free recommendations
+
+
pkgname=minitube
-pkgver=3.6.1
+pkgver=3.9
pkgrel=1
pkgrel+=.parabola1
pkgdesc="A YouTube desktop application"
-pkgdesc+=", without nonfree recommendations"
+pkgdesc+=", without non-free recommendations"
arch=('x86_64')
arch+=('i686')
url="https://flavio.tordini.org/minitube"
license=('GPL3')
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=('034baa51934564f492049c6a2a4c2eaabf335f1168593aa27664a5f268b0dc4136217c8da4d1a80e777879d7ad3d109d4ba7089cf387dc76f97af52c7c6d3609'
- '1e030cec9469f4823c32fa015c22d1b4743258bd922543eaab1aa5bb868bc77298dce691175a4068305f3f7ccba3cfaeba09054f00bde9a47cbbe97a3a132de3')
+source=("https://github.com/flaviotordini/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+source+=('remove_unfree_recommendations.patch')
+sha512sums=('d68545ce81eae730213bc7abe8de52d28c0230f92cef727d9129b9b512c3b396afffb06839f491bc9edaf2174658b0457859ddaa4660ba005650e6a8c65772f4')
+sha512sums+=('eca111cbdcaa1608e37be4fc795d0db5c60caa3a17d76ebe9bccd809b57a6a6c6fae64e0c52e6565898c63aebe0ad6be67cf23d6a2e9b44c1139781f541e8d6c')
prepare() {
cd "${pkgname}-${pkgver}"
diff --git a/libre/minitube/remove_unfree_recommendations.patch b/libre/minitube/remove_unfree_recommendations.patch
index 0b11b3be3..386d13d2f 100644
--- a/libre/minitube/remove_unfree_recommendations.patch
+++ b/libre/minitube/remove_unfree_recommendations.patch
@@ -1,8 +1,8 @@
diff --git a/minitube.pro b/minitube.pro
-index e75a41d..e3dbcb1 100644
+index 2308f10..853baff 100644
--- a/minitube.pro
+++ b/minitube.pro
-@@ -117,7 +117,6 @@ HEADERS += src/video.h \
+@@ -120,7 +120,6 @@ HEADERS += src/video.h \
src/searchwidget.h \
src/channellistview.h \
src/httputils.h \
@@ -10,7 +10,7 @@ index e75a41d..e3dbcb1 100644
src/clickablelabel.h \
src/ytvideo.h \
src/toolbarmenu.h \
-@@ -192,7 +191,6 @@ SOURCES += src/main.cpp \
+@@ -196,7 +195,6 @@ SOURCES += src/main.cpp \
src/paginatedvideosource.cpp \
src/channellistview.cpp \
src/httputils.cpp \
@@ -19,7 +19,7 @@ index e75a41d..e3dbcb1 100644
src/ytvideo.cpp \
src/toolbarmenu.cpp \
diff --git a/src/aboutview.cpp b/src/aboutview.cpp
-index 48b7dff..19140a8 100644
+index e60c173..70e2a50 100644
--- a/src/aboutview.cpp
+++ b/src/aboutview.cpp
@@ -30,7 +30,6 @@ $END_LICENSE */
@@ -30,21 +30,23 @@ index 48b7dff..19140a8 100644
#include "clickablelabel.h"
#include "fontutils.h"
#include "iconutils.h"
-@@ -197,8 +196,6 @@ AboutView::AboutView(QWidget *parent) : View(parent) {
+@@ -197,10 +196,6 @@ AboutView::AboutView(QWidget *parent) : View(parent) {
buttonLayout->addWidget(closeButton);
layout->addLayout(buttonLayout);
-
+-#ifndef APP_WIN_STORE
- verticalLayout->addWidget(new AppsWidget());
+-#endif
}
void AboutView::appear() {
diff --git a/src/appwidget.cpp b/src/appwidget.cpp
deleted file mode 100644
-index 3c67e28..0000000
+index c9c5181..0000000
--- a/src/appwidget.cpp
+++ /dev/null
-@@ -1,120 +0,0 @@
+@@ -1,121 +0,0 @@
-#include "appwidget.h"
-#include "constants.h"
-#include "http.h"
@@ -154,6 +156,7 @@ index 3c67e28..0000000
-void AppWidget::iconDownloaded(const QByteArray &bytes) {
- QPixmap pixmap;
- pixmap.loadFromData(bytes, "PNG");
+- pixmap.setDevicePixelRatio(devicePixelRatioF());
- icon->setPixmap(pixmap);
-}
-