summaryrefslogtreecommitdiff
path: root/multimedia/smtube
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2015-08-20 20:32:16 +0000
committerPawel Pekala <pawel@FreeBSD.org>2015-08-20 20:32:16 +0000
commitcd0f9dd759872a1bf153bcd3bc6fc5ad81716339 (patch)
treea9c7d4ee7764393306d0370510941f74a5e7236f /multimedia/smtube
parentUpdate to 1.5 (diff)
- Update toversion 15.8.0
- Make RUN_DEPENDS path independent - Drop USE_QT4=linguist in favour of linguisttools to prevent pulling in heavy dependencies - Drop INSTALLS_ICONS, it's for Gtk apps - Switch from heavy REINPLACE_CMD to setting things in build enviroment, makes things more readable - Project has it's own domain now - update pkg-descr Changes: Improve support for VEVO videos. Possibility to play the audio only.
Notes
Notes: svn path=/head/; revision=394912
Diffstat (limited to 'multimedia/smtube')
-rw-r--r--multimedia/smtube/Makefile20
-rw-r--r--multimedia/smtube/distinfo4
-rw-r--r--multimedia/smtube/pkg-descr2
-rw-r--r--multimedia/smtube/pkg-plist13
4 files changed, 26 insertions, 13 deletions
diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile
index a9505719cd9b..72e5dedd3833 100644
--- a/multimedia/smtube/Makefile
+++ b/multimedia/smtube/Makefile
@@ -2,32 +2,32 @@
# $FreeBSD$
PORTNAME= smtube
-PORTVERSION= 15.5.17
+PORTVERSION= 15.8.0
CATEGORIES= multimedia
-MASTER_SITES= SF/smtube/SMTube/${PORTVERSION:R}/
+MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/
MAINTAINER= pawel@FreeBSD.org
COMMENT= SMPlayer YouTube browser
-RUN_DEPENDS= ${LOCALBASE}/bin/smplayer:${PORTSDIR}/multimedia/smplayer
+RUN_DEPENDS= smplayer:${PORTSDIR}/multimedia/smplayer
USES= gmake tar:bzip2
ALL_TARGET= #empty
-USE_QT4= linguist_build moc_build qmake_build rcc_build uic_build
-INSTALLS_ICONS= yes
+USE_QT4= linguisttools_build moc_build qmake_build \
+ rcc_build script uic_build webkit
+MAKE_ENV= DATA_PATH=${DATADIR} DOC_PATH=${DOCSDIR} \
+ LRELEASE=${LRELEASE} QMAKE=${QMAKE}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
- @${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS:S,\$(,\$\$(,g}|' \
- -e 's|lrelease|${LRELEASE}|g' \
- -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
- -e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \
- -e 's|$$(PREFIX)/share/doc/smtube|${DOCSDIR}|' \
+ @${REINPLACE_CMD} -E \
+ -e '/^(DATA_PATH|DOC_PATH|LRELEASE|PREFIX|QMAKE)/ s|=|?=|' \
-e 's| make| ${MAKE_CMD}|' \
${WRKSRC}/Makefile
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/multimedia/smtube/distinfo b/multimedia/smtube/distinfo
index b26f05ea1090..89739319632c 100644
--- a/multimedia/smtube/distinfo
+++ b/multimedia/smtube/distinfo
@@ -1,2 +1,2 @@
-SHA256 (smtube-15.5.17.tar.bz2) = cf2f5b0b978c31f0580bf67ea10c95f42c4475ad74fde5031a67856503997149
-SIZE (smtube-15.5.17.tar.bz2) = 652324
+SHA256 (smtube-15.8.0.tar.bz2) = 779d901ca24fc896f17d9881e353d86ef2791da3a45a3fad73263448bb1ab043
+SIZE (smtube-15.8.0.tar.bz2) = 666630
diff --git a/multimedia/smtube/pkg-descr b/multimedia/smtube/pkg-descr
index 84990af21e1c..01c0dcb4046e 100644
--- a/multimedia/smtube/pkg-descr
+++ b/multimedia/smtube/pkg-descr
@@ -2,4 +2,4 @@ SMTube is a YouTube browser for SMPlayer. You can browse, search, download
and play YouTube videos. The videos are currently played in SMPlayer but
in the future it may be added the possibility to use other players.
-WWW: http://smtube.sourceforge.net/
+WWW: http://smtube.org/
diff --git a/multimedia/smtube/pkg-plist b/multimedia/smtube/pkg-plist
index 2bce4935490d..e181c0e09855 100644
--- a/multimedia/smtube/pkg-plist
+++ b/multimedia/smtube/pkg-plist
@@ -6,17 +6,30 @@ share/icons/hicolor/256x256/apps/smtube.png
share/icons/hicolor/32x32/apps/smtube.png
share/icons/hicolor/48x48/apps/smtube.png
share/icons/hicolor/64x64/apps/smtube.png
+%%DATADIR%%/translations/smtube_bg.qm
+%%DATADIR%%/translations/smtube_cs.qm
+%%DATADIR%%/translations/smtube_da.qm
%%DATADIR%%/translations/smtube_de.qm
%%DATADIR%%/translations/smtube_en.qm
+%%DATADIR%%/translations/smtube_en_GB.qm
%%DATADIR%%/translations/smtube_es.qm
%%DATADIR%%/translations/smtube_eu.qm
%%DATADIR%%/translations/smtube_fr.qm
%%DATADIR%%/translations/smtube_gl.qm
+%%DATADIR%%/translations/smtube_hr.qm
+%%DATADIR%%/translations/smtube_hu.qm
%%DATADIR%%/translations/smtube_it.qm
%%DATADIR%%/translations/smtube_ja.qm
%%DATADIR%%/translations/smtube_ko.qm
+%%DATADIR%%/translations/smtube_ms.qm
+%%DATADIR%%/translations/smtube_nn_NO.qm
+%%DATADIR%%/translations/smtube_pl.qm
%%DATADIR%%/translations/smtube_pt.qm
%%DATADIR%%/translations/smtube_pt_BR.qm
%%DATADIR%%/translations/smtube_ru.qm
+%%DATADIR%%/translations/smtube_sq.qm
%%DATADIR%%/translations/smtube_sr.qm
+%%DATADIR%%/translations/smtube_tr.qm
+%%DATADIR%%/translations/smtube_uk.qm
+%%DATADIR%%/translations/smtube_zh_CN.qm
%%DATADIR%%/translations/smtube_zh_TW.qm