mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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/
This commit is contained in:
parent
0652fa377c
commit
57e6cf816c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239593
53
multimedia/minitube/Makefile
Normal file
53
multimedia/minitube/Makefile
Normal file
@ -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>
|
3
multimedia/minitube/distinfo
Normal file
3
multimedia/minitube/distinfo
Normal file
@ -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
|
5
multimedia/minitube/pkg-descr
Normal file
5
multimedia/minitube/pkg-descr
Normal file
@ -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/
|
19
multimedia/minitube/pkg-plist
Normal file
19
multimedia/minitube/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user