On Tue, Apr 28, 2020 at 09:55:08PM +0200, Antoine Jacoutot wrote:
> I'd prefer README than MESSAGE.
Sorry for the churn: README is already there and even mentions the
requirement, I overlooked it entirely.
Here's a small tweak to it as well as removing the built-in API key.
Nowadays xenodm is supposed to be used instead of startx, so suggest
using ~/.xsession instead of ~/.xinitrc.
Feedback? OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/minitube/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile 30 Mar 2020 04:01:01 -0000 1.64
+++ Makefile 28 Apr 2020 17:52:31 -0000
@@ -5,7 +5,7 @@ COMMENT = standalone YouTube.com video b
V = 3.3
DISTNAME = minitube-$V
EXTRACT_SUFX = .tar.bz2
-REVISION = 0
+REVISION = 1
CATEGORIES = www multimedia
Index: patches/patch-minitube_pro
===================================================================
RCS file: patches/patch-minitube_pro
diff -N patches/patch-minitube_pro
--- patches/patch-minitube_pro 7 Sep 2019 19:38:57 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-minitube_pro,v 1.2 2019/09/07 19:38:57 sthen Exp $
-
-Index: minitube.pro
---- minitube.pro.orig
-+++ minitube.pro
-@@ -11,6 +11,7 @@ APP_UNIX_NAME = minitube
- DEFINES += APP_UNIX_NAME="$$APP_UNIX_NAME"
-
- DEFINES += APP_SNAPSHOT
-+DEFINES += APP_GOOGLE_API_KEY=AIzaSyClNIH5RZEdJA0286p_Km4hMxL0ujgdbZM
-
- message(Building $${APP_NAME} $${VERSION})
- message(Qt $$[QT_VERSION] in $$[QT_INSTALL_PREFIX])
Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/minitube/pkg/README,v
retrieving revision 1.5
diff -u -p -r1.5 README
--- pkg/README 4 Sep 2018 12:46:25 -0000 1.5
+++ pkg/README 28 Apr 2020 20:02:15 -0000
@@ -6,8 +6,7 @@ $OpenBSD: README,v 1.5 2018/09/04 12:46:
Google API key
==============
-Minitube 2.4 has been ported to the new YouTube API version 3, hence an
-API key is now required in order to access the YouTube Data web services.
+An API key is required in order to access the YouTube Data web services.
Go to https://console.developers.google.com/
@@ -39,7 +38,7 @@ If not, go to "APIs & auth" -> "APIs" ->
Data API" and then on "Enable API" to enable it.
Add the environment variable containing your newly generated key
-to your ~/.profile or ~/.xinitrc:
+to your ~/.profile or ~/.xsession:
GOOGLE_API_KEY="AIzaSyD7zlL9sAC6-IcwU7Bpds8lZNzmqQTmALQ"
export GOOGLE_API_KEY