Update to 2.5.2

Note: This release uses Qt5 now instead of Qt4
This commit is contained in:
Jason E. Hale 2016-11-18 15:22:22 +00:00
parent 6cf07a9acc
commit 6b60b57cbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426325
4 changed files with 19 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= minitube
PORTVERSION= 2.4
PORTVERSION= 2.5.2
CATEGORIES= multimedia www
MAINTAINER= ports@FreeBSD.org
@ -14,14 +14,16 @@ USE_GITHUB= yes
GH_ACCOUNT= flaviotordini
USES= qmake
USE_QT4= corelib dbus gui network phonon script sql xml \
moc_build rcc_build imageformats_run
USE_GL= gl
USE_QT5= core dbus gui network phonon4 script sql widgets \
buildtools_build imageformats_run sql-sqlite3_run
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \
DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}"
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USE= QT4=linguisttools_build
NLS_USE= QT5=linguisttools_build
pre-everything::
@${CAT} ${PKGMESSAGE}
@ -29,7 +31,9 @@ pre-everything::
post-patch:
# Remove BOM
@${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/src/aggregatevideosource.cpp
${WRKSRC}/src/aggregatevideosource.cpp
@${REINPLACE_CMD} -e 's|/usr/include|/usr/local/include|g' \
${WRKSRC}/minitube.pro
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro

View file

@ -1,2 +1,3 @@
SHA256 (flaviotordini-minitube-2.4_GH0.tar.gz) = 1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
SIZE (flaviotordini-minitube-2.4_GH0.tar.gz) = 984265
TIMESTAMP = 1479468855
SHA256 (flaviotordini-minitube-2.5.2_GH0.tar.gz) = 63678bf153e77e8cdaf6b43bb9a7bf2c5694c62698c3236f1a1133494362d6b5
SIZE (flaviotordini-minitube-2.5.2_GH0.tar.gz) = 1063794

View file

@ -14,3 +14,8 @@ To obtain a 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.
Make sure you also have a phonon4 backend installed at runtime:
multimedia/qt5-phonon4-gstreamer
-or-
multimedia/qt5-phonon4-vlc

View file

@ -35,6 +35,7 @@ share/icons/hicolor/scalable/apps/minitube.svg
%%NLS%%%%DATADIR%%/locale/id.qm
%%NLS%%%%DATADIR%%/locale/it.qm
%%NLS%%%%DATADIR%%/locale/ja_JP.qm
%%NLS%%%%DATADIR%%/locale/ko_KR.qm
%%NLS%%%%DATADIR%%/locale/ky.qm
%%NLS%%%%DATADIR%%/locale/ms_MY.qm
%%NLS%%%%DATADIR%%/locale/nb.qm
@ -50,6 +51,7 @@ share/icons/hicolor/scalable/apps/minitube.svg
%%NLS%%%%DATADIR%%/locale/sl.qm
%%NLS%%%%DATADIR%%/locale/sq.qm
%%NLS%%%%DATADIR%%/locale/sv_SE.qm
%%NLS%%%%DATADIR%%/locale/th.qm
%%NLS%%%%DATADIR%%/locale/tr.qm
%%NLS%%%%DATADIR%%/locale/uk.qm
%%NLS%%%%DATADIR%%/locale/uk_UA.qm