diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/minitube/PKGBUILD | 33 | ||||
-rw-r--r-- | libre/minitube/remove_unfree_recommendations.patch | 38 |
2 files changed, 36 insertions, 35 deletions
diff --git a/libre/minitube/PKGBUILD b/libre/minitube/PKGBUILD index 9c8fe5fb2..7b01452c1 100644 --- a/libre/minitube/PKGBUILD +++ b/libre/minitube/PKGBUILD @@ -1,27 +1,26 @@ -# $Id$ -# Maintainer (Arch): David Runge <dave@sleepmap.de> +# Maintainer (Arch): David Runge <dvzrv@archlinux.org> # 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.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='https://flavio.tordini.org/minitube' +pkgver=3.3 +pkgrel=1 +pkgrel+=.parabola1 +pkgdesc="A YouTube desktop application" +pkgdesc+=", without nonfree recommendations" +arch=('x86_64') +arch+=('i686') +url="https://flavio.tordini.org/minitube" license=('GPL3') -depends=('phonon-qt5' 'qt5-declarative' 'hicolor-icon-theme') +depends=('mpv' 'qt5-declarative' 'qt5-x11extras') makedepends=('qt5-tools') -source=(https://repo.parabola.nu/other/${pkgname}/${pkgname}-${pkgver}-libre${_srcrel}.tar.gz) -sha512sums=('bed06b2357bf9bf4d7376c813e1d3140eb2098f50666635b955b5ed6f4b00946dd30f0090faa62e8c498e1ab60c70f359275fbf9833cb2f41ac9a82059dc675b') -mksource=("${pkgname}-${pkgver}.tar.gz::https://github.com/flaviotordini/${pkgname}/archive/${pkgver}.tar.gz" - remove_unfree_recommendations.patch) -mksha512sums=('94bac1b7cb1b3388256d088bfb9ffdfe75cc3c1624f60722cedd561015e1afa96351d4ac55b6be27bb5e00641cd7e3198cf2285a0e9b0c586d62d1a7a8c510c9' - 'ff1a1b1c98efe748d15e73131b1d5b6d72758e74660428eaf3d1b89717e5445b6aa3f25dd4bef14ec000966372a9e512f715641b66872d19f0a5298749022db2') +source=("https://github.com/flaviotordini/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2" + 'remove_unfree_recommendations.patch') +sha512sums=('8496405de0fdfb58a109c95004437fafea92013860ab5acbdd0aba983da7b6114e3c4a216f6b910df88740e688f57c2dc9640fe02630b256a309bc3c6e03ba8d' + '58955bc1c07fe95327b29523d71b378fcd679d82912986f2091f725a3c653e4ec6a624b6c201ff044e39b2445fb46dfa566670036759d8b246cbda24e3e23d46') -mksource() { +prepare() { cd "${pkgname}-${pkgver}" patch -p1 -i ../remove_unfree_recommendations.patch } @@ -34,4 +33,6 @@ build() { package() { cd "${pkgname}-${pkgver}" make install INSTALL_ROOT="${pkgdir}/" + install -vDm 644 {AUTHORS,CHANGES,README.md,TODO} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" } diff --git a/libre/minitube/remove_unfree_recommendations.patch b/libre/minitube/remove_unfree_recommendations.patch index 8111abc12..3b05f93c3 100644 --- a/libre/minitube/remove_unfree_recommendations.patch +++ b/libre/minitube/remove_unfree_recommendations.patch @@ -1,32 +1,32 @@ ---- 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 \ +--- 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 @@ + src/searchwidget.h \ src/channellistview.h \ src/httputils.h \ - src/appwidget.h \ src/clickablelabel.h \ src/ytvideo.h \ src/toolbarmenu.h \ -@@ -178,7 +177,6 @@ - src/exlineedit.cpp \ +@@ -176,7 +175,6 @@ + src/paginatedvideosource.cpp \ src/channellistview.cpp \ src/httputils.cpp \ - src/appwidget.cpp \ 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 @@ +--- 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 @@ + #include "mac_startup.h" + #include "macutils.h" #endif - #include "fontutils.h" - #include "iconutils.h" -#include "appwidget.h" #include "clickablelabel.h" - #include "mainwindow.h" - -@@ -116,8 +115,6 @@ + #include "fontutils.h" + #include "iconutils.h" +@@ -157,8 +156,6 @@ buttonLayout->addWidget(closeButton); layout->addLayout(buttonLayout); @@ -35,8 +35,8 @@ } void AboutView::appear() { ---- 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 +--- 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 @@ -#include "appwidget.h" -#include "constants.h" @@ -81,7 +81,7 @@ - -AppWidget::AppWidget(const QString &name, const QString &code, QWidget *parent) : QWidget(parent), icon(0), name(name), downloadButton(0) { - const QString unixName = code.left(code.lastIndexOf('.')); -- const QString baseUrl = QLatin1String("http://") + Constants::ORG_DOMAIN; +- const QString baseUrl = QLatin1String("https://") + Constants::ORG_DOMAIN; - const QString filesUrl = baseUrl + QLatin1String("/files/"); - url = filesUrl + unixName + QLatin1String("/") + code; - webPage = baseUrl + QLatin1String("/") + unixName; @@ -150,8 +150,8 @@ - dialog->show(); -#endif -} ---- 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 +--- 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 @@ -1,46 +0,0 @@ -#ifndef APPWIDGET_H -#define APPWIDGET_H |