svn commit: r392335 - head/multimedia/minitube
Max Brazhnikov
makc at FreeBSD.org
Fri Jul 17 07:26:25 UTC 2015
Author: makc
Date: Fri Jul 17 07:26:23 2015
New Revision: 392335
URL: https://svnweb.freebsd.org/changeset/ports/392335
Log:
multimedia/minitube:
- Update to 2.4 with support for the latest YouTube API
- Remove INSTALLS_ICONS needless for Qt/KDE ports
Added:
head/multimedia/minitube/pkg-message (contents, props changed)
Modified:
head/multimedia/minitube/Makefile
head/multimedia/minitube/distinfo
Modified: head/multimedia/minitube/Makefile
==============================================================================
--- head/multimedia/minitube/Makefile Fri Jul 17 06:35:22 2015 (r392334)
+++ head/multimedia/minitube/Makefile Fri Jul 17 07:26:23 2015 (r392335)
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= minitube
-PORTVERSION= 2.3
+PORTVERSION= 2.4
CATEGORIES= multimedia www
-MASTER_SITES= http://flavio.tordini.org/files/minitube/
MAINTAINER= makc at FreeBSD.org
COMMENT= TV-like client for YouTube
@@ -11,10 +10,11 @@ COMMENT= TV-like client for YouTube
USE_QT4= dbus gui network phonon script sql xml \
moc_build rcc_build imageformats_run
USES= qmake
-INSTALLS_ICONS= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GITHUB= yes
+GH_ACCOUNT= flaviotordini
-QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE}
+QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
+ DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -22,6 +22,9 @@ NLS_USE= QT4=linguisttools_build
.include <bsd.port.options.mk>
+pre-everything::
+ @${CAT} ${PKGMESSAGE}
+
pre-configure:
.if !${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro
Modified: head/multimedia/minitube/distinfo
==============================================================================
--- head/multimedia/minitube/distinfo Fri Jul 17 06:35:22 2015 (r392334)
+++ head/multimedia/minitube/distinfo Fri Jul 17 07:26:23 2015 (r392335)
@@ -1,2 +1,2 @@
-SHA256 (minitube-2.3.tar.gz) = 7fb24e295dc3e2f4ce41add1ef71c7b1fef57383578f46af8e271710c86c2247
-SIZE (minitube-2.3.tar.gz) = 955192
+SHA256 (flaviotordini-minitube-2.4_GH0.tar.gz) = 1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
+SIZE (flaviotordini-minitube-2.4_GH0.tar.gz) = 984265
Added: head/multimedia/minitube/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/minitube/pkg-message Fri Jul 17 07:26:23 2015 (r392335)
@@ -0,0 +1,16 @@
+Google is now requiring an API key in order to access YouTube Data
+web services.
+
+To obtain a key:
+
+1. Create a new project at https://console.developers.google.com/
+
+2. Select newly created project, go to APIs & auth / APIs, select
+ the Youtube Data API and enable api.
+
+3. Go to APIs & auth / Credentials and create a new Public API
+ access key ("Browser key").
+
+4. If you are going to build minitube from ports, set
+ MINITUBE_GOOGLE_API_KEY=your_key in make.conf. If you use package
+ set GOOGLE_API_KEY environment variable to your key.
More information about the svn-ports-all
mailing list