Update for SMTube to 21.7.0

Ftom Josh Grosse thanks!
This commit is contained in:
gonzalo 2021-09-15 17:09:05 +00:00
parent 491b7ca4f0
commit 1244198a57
4 changed files with 11 additions and 13 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.38 2020/07/27 08:08:25 gonzalo Exp $
# $OpenBSD: Makefile,v 1.39 2021/09/15 17:09:05 gonzalo Exp $
USE_WXNEEDED = Yes
COMMENT = browse and download YouTube videos
DISTNAME = smtube-20.6.0
DISTNAME = smtube-21.7.0
CATEGORIES = multimedia x11
@ -27,8 +27,7 @@ RUN_DEPENDS = x11/smplayer \
devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS = x11/qt5/qtscript \
x11/qt5/qtwebkit
LIB_DEPENDS = x11/qt5/qtwebkit
USE_GMAKE = Yes

View File

@ -1,2 +1,2 @@
SHA256 (smtube-20.6.0.tar.bz2) = gvHrBtLY+kMEWGpAwubd5qRLIiTjFX8Dmxbzr19R30I=
SIZE (smtube-20.6.0.tar.bz2) = 746094
SHA256 (smtube-21.7.0.tar.bz2) = d+R3eM2BPdrsY7XX+6IWpz6cKIy/L2x0iLZH0mTgfcc=
SIZE (smtube-21.7.0.tar.bz2) = 966127

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-src_browserwindow_cpp,v 1.2 2020/07/27 08:08:25 gonzalo Exp $
$OpenBSD: patch-src_browserwindow_cpp,v 1.3 2021/09/15 17:09:05 gonzalo Exp $
Index: src/browserwindow.cpp
--- src/browserwindow.cpp.orig
+++ src/browserwindow.cpp
@@ -202,7 +202,7 @@ QString BrowserWindow::homePageUrl() {
@@ -236,7 +236,7 @@ QString BrowserWindow::homePageUrl() {
#ifdef USE_SITES
return sites.currentSite().homeUrl();
#else
@ -12,7 +12,7 @@ Index: src/browserwindow.cpp
#endif
}
@@ -436,7 +436,7 @@ void BrowserWindow::openYTUrl(QString title, QString e
@@ -481,7 +481,7 @@ void BrowserWindow::openYTUrl(QString title, QString e
if (current_player == WebBrowser) {
QString u = url;
#if 1
@ -21,7 +21,7 @@ Index: src/browserwindow.cpp
"&t=" + title.toUtf8().toBase64().toPercentEncoding();
#endif
QDesktopServices::openUrl(u);
@@ -691,7 +691,7 @@ void BrowserWindow::loadConfig() {
@@ -777,7 +777,7 @@ void BrowserWindow::loadConfig() {
#ifdef D_BUTTON
add_download_button = settings->value("add_download_button", false).toBool();

View File

@ -1,11 +1,10 @@
@comment $OpenBSD: PLIST,v 1.16 2020/07/27 08:08:25 gonzalo Exp $
@comment $OpenBSD: PLIST,v 1.17 2021/09/15 17:09:05 gonzalo Exp $
@bin bin/smtube
share/applications/smtube.desktop
share/doc/smtube/
share/doc/smtube/Changelog
share/doc/smtube/Copying.txt
share/doc/smtube/Readme.txt
share/doc/smtube/Release_notes.txt
share/doc/smtube/Release_notes.md
share/icons/hicolor/128x128/apps/smtube.png
share/icons/hicolor/16x16/apps/smtube.png
share/icons/hicolor/256x256/apps/smtube.png