1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

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://smplayer.sourceforge.net/
This commit is contained in:
Pawel Pekala 2012-05-29 20:37:38 +00:00
parent 13084db9f7
commit 539ec30302
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297707
5 changed files with 69 additions and 0 deletions

View File

@ -298,6 +298,7 @@
SUBDIR += smplayer
SUBDIR += smplayer-themes
SUBDIR += sms1xxx-kmod
SUBDIR += smtube
SUBDIR += spigot
SUBDIR += spook
SUBDIR += streamanalyze

View File

@ -0,0 +1,43 @@
# New ports collection makefile for: smtube
# Date created: 2012-05-17
# Whom: Pawel Pekala <pawel@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= smtube
PORTVERSION= 1.1
CATEGORIES= multimedia
MASTER_SITES= SF/smplayer/SMTube/${PORTVERSION}/
MAINTAINER= pawel@FreeBSD.org
COMMENT= SMPlayer YouTube browser
RUN_DEPENDS= ${LOCALBASE}/bin/smplayer:${PORTSDIR}/multimedia/smplayer
USE_BZIP2= yes
USE_GMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= linguist_build moc_build qmake_build rcc_build uic_build \
corelib gui network xml
INSTALLS_ICONS= yes
post-patch:
@${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \
-e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \
-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
-e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \
${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|$$(PREFIX)/share/doc/smtube|${DOCSDIR}|' \
${WRKSRC}/Makefile
PORTDOCS= *
.else
@${REINPLACE_CMD} -e '/DOC_PATH/d' ${WRKSRC}/Makefile
.endif
do-build:
cd ${WRKSRC} && ${MAKE}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (smtube-1.1.tar.bz2) = a86e6f75bf1609f28cd9ec88820a95a380a88ff978a1b15f30121e045cf05b99
SIZE (smtube-1.1.tar.bz2) = 296345

View File

@ -0,0 +1,5 @@
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://smplayer.sourceforge.net/

View File

@ -0,0 +1,18 @@
bin/smtube
%%DATADIR%%/translations/smtube_en.qm
%%DATADIR%%/translations/smtube_es.qm
%%DATADIR%%/translations/smtube_eu.qm
%%DATADIR%%/translations/smtube_ja.qm
%%DATADIR%%/translations/smtube_lt.qm
%%DATADIR%%/translations/smtube_pt.qm
%%DATADIR%%/translations/smtube_ru_RU.qm
%%DATADIR%%/translations/smtube_zh_CN.qm
share/icons/hicolor/256x256/apps/smtube.png
share/icons/hicolor/128x128/apps/smtube.png
share/icons/hicolor/64x64/apps/smtube.png
share/icons/hicolor/48x48/apps/smtube.png
share/icons/hicolor/32x32/apps/smtube.png
share/icons/hicolor/16x16/apps/smtube.png
share/applications/smtube.desktop
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%