diff options
author | makc <makc@FreeBSD.org> | 2009-08-15 21:19:12 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2009-08-15 21:19:12 +0800 |
commit | d2506c490e81627320615814e705e639b66cbbb5 (patch) | |
tree | ac8cad5839dea35137e9c34269d4f3abdf0f68e7 /multimedia | |
parent | a62003da3b9f9b0de5e101c2cf0b94d4d81660c9 (diff) | |
download | freebsd-ports-gnome-d2506c490e81627320615814e705e639b66cbbb5.tar.gz freebsd-ports-gnome-d2506c490e81627320615814e705e639b66cbbb5.tar.zst freebsd-ports-gnome-d2506c490e81627320615814e705e639b66cbbb5.zip |
Add new port multimedia/minitube:
Minitube is a native YouTube client. With it you can watch YouTube
videos in a new way: you type a keyword, Minitube gives you an
endless video stream. Minitube does not require the Flash Player.
WWW: http://flavio.tordini.org/minitube/
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/minitube/Makefile | 53 | ||||
-rw-r--r-- | multimedia/minitube/distinfo | 3 | ||||
-rw-r--r-- | multimedia/minitube/pkg-descr | 5 | ||||
-rw-r--r-- | multimedia/minitube/pkg-plist | 19 |
4 files changed, 80 insertions, 0 deletions
diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile new file mode 100644 index 000000000000..37c81bb1b701 --- /dev/null +++ b/multimedia/minitube/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: minitube +# Date created: 2009-08-15 +# Whom: Max Brazhnikov <makc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= minitube +PORTVERSION= 0.5 +CATEGORIES= multimedia www +MASTER_SITES= http://flavio.tordini.org/files/minitube/ +DISTNAME= ${PORTNAME}-src-${PORTVERSION} + +MAINTAINER= makc@FreeBSD.org +COMMENT= A native YouTube client + +USE_QT_VER= 4 +QT_COMPONENTS= gui network xml phonon phonon-gst \ + qmake_build moc_build rcc_build +HAS_CONFIGURE= yes +MAKE_JOBS_SAFE= yes +WRKSRC= ${WRKDIR}/${PORTNAME} + +QMAKE_ARGS= -recursive PREFIX=${PREFIX} QMAKE_LRELEASE=${LRELEASE} ${QMAKE_PRO} +QMAKE_PRO= ${WRKSRC}/${PORTNAME}.pro +LRELEASE= ${LOCALBASE}/bin/lrelease-qt4 + +STRIP_FILES= bin/minitube + +.if !defined(WITHOUT_NLS) +QT_COMPONENTS+= linguist_build +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + +pre-configure: + ${REINPLACE_CMD} -e 's,$$$$PKGDATADIR,${DATADIR},g' ${QMAKE_PRO} +.if defined(WITHOUT_NLS) + ${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${QMAKE_PRO} +.endif + +do-configure: + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} + +post-configure: + ${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \ + 's|^CC .*|CC=${CC}|; s|^CXX .*|CXX=${CXX}|; s|^LINK .*|LINK=${CXX}|' + +post-install: + ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,} + +.include <bsd.port.mk> diff --git a/multimedia/minitube/distinfo b/multimedia/minitube/distinfo new file mode 100644 index 000000000000..0af0f254532a --- /dev/null +++ b/multimedia/minitube/distinfo @@ -0,0 +1,3 @@ +MD5 (minitube-src-0.5.tar.gz) = 088c8f96590024e61f489c4189346c90 +SHA256 (minitube-src-0.5.tar.gz) = 417e819882498760a20b2cbf98358521c5e77020f34219c8621728e22c682f2a +SIZE (minitube-src-0.5.tar.gz) = 314746 diff --git a/multimedia/minitube/pkg-descr b/multimedia/minitube/pkg-descr new file mode 100644 index 000000000000..124ec7ac97ee --- /dev/null +++ b/multimedia/minitube/pkg-descr @@ -0,0 +1,5 @@ +Minitube is a native YouTube client. With it you can watch YouTube +videos in a new way: you type a keyword, Minitube gives you an +endless video stream. Minitube does not require the Flash Player. + +WWW: http://flavio.tordini.org/minitube/ diff --git a/multimedia/minitube/pkg-plist b/multimedia/minitube/pkg-plist new file mode 100644 index 000000000000..f6d8f30ce663 --- /dev/null +++ b/multimedia/minitube/pkg-plist @@ -0,0 +1,19 @@ +bin/minitube +share/applications/minitube.desktop +share/icons/hicolor/128x128/apps/minitube.png +share/icons/hicolor/scalable/apps/minitube.svg +%%NLS%%%%DATADIR%%/locale/de_DE.qm +%%NLS%%%%DATADIR%%/locale/es_AR.qm +%%NLS%%%%DATADIR%%/locale/it_IT.qm +%%NLS%%%%DATADIR%%/locale/pl_PL.qm +%%NLS%%%%DATADIR%%/locale/pt_BR.qm +%%NLS%%%%DATADIR%%/locale/ru_RU.qm +%%NLS%%@dirrm %%DATADIR%%/locale +%%NLS%%@dirrm %%DATADIR%% +@dirrmtry share/icons/hicolor/scalable/apps +@dirrmtry share/icons/hicolor/scalable +@dirrmtry share/icons/hicolor/128x128/apps +@dirrmtry share/icons/hicolor/128x128 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrmtry share/applications |