1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

multimedia/minitube:

- Update to 2.4 with support for the latest YouTube API
- Remove INSTALLS_ICONS needless for Qt/KDE ports
This commit is contained in:
Max Brazhnikov 2015-07-17 07:26:23 +00:00
parent 41f72af1c2
commit bfa0d76905
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392335
3 changed files with 26 additions and 7 deletions

View File

@ -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@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

View File

@ -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

View File

@ -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.