diff options
author | jgh <jgh@FreeBSD.org> | 2012-08-25 05:15:59 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2012-08-25 05:15:59 +0800 |
commit | 15f58c13574de97f821f7040de68a5247d98cfcb (patch) | |
tree | a0677ba13a0d4a424682211bd166353dec57fd0f /multimedia | |
parent | 568470ea2d405dbaec9731277365d2c15871b14f (diff) | |
download | freebsd-ports-gnome-15f58c13574de97f821f7040de68a5247d98cfcb.tar.gz freebsd-ports-gnome-15f58c13574de97f821f7040de68a5247d98cfcb.tar.zst freebsd-ports-gnome-15f58c13574de97f821f7040de68a5247d98cfcb.zip |
add new port: multimedia/gtk-youtube-viewer
GTK Youtube Viewer is created to be a flexible and reliable open-source
Linux application which is dedicated to streaming Youtube Videos with MPlayer.
WWW: https://code.google.com/p/trizen/
PR: 170580
Submitted by: nemysis@gmx.ch
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/gtk-youtube-viewer/Makefile | 68 | ||||
-rw-r--r-- | multimedia/gtk-youtube-viewer/distinfo | 2 | ||||
-rw-r--r-- | multimedia/gtk-youtube-viewer/pkg-descr | 4 |
4 files changed, 75 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index ae9471c69f48..0b3b31262199 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -115,6 +115,7 @@ SUBDIR += gstreamermm SUBDIR += gsubedit SUBDIR += gtk-recordmydesktop + SUBDIR += gtk-youtube-viewer SUBDIR += gxanim SUBDIR += gxine SUBDIR += gxmms diff --git a/multimedia/gtk-youtube-viewer/Makefile b/multimedia/gtk-youtube-viewer/Makefile new file mode 100644 index 000000000000..e5fbde6750b7 --- /dev/null +++ b/multimedia/gtk-youtube-viewer/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: gtk-youtube-viewer +# Date created: 13 August 2012 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= gtk-youtube-viewer +PORTVERSION= 2.0.5 +CATEGORIES= multimedia +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= nemysis@gmx.ch +COMMENT= GTK Search and play YouTube videos streaming in MPlayer + +LICENSE= GPLv3 + +RUN_DEPENDS= p5-XML-Fast>=0:${PORTSDIR}/net/p5-XML-Fast \ + p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ + p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor \ + p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ + p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \ + mplayer:${PORTSDIR}/multimedia/mplayer + +OPTIONS_DEFINE= DATA GCAP +GCAP_DESC= GCAP support +OPTIONS_DEFAULT= DATA + +WRKSRC= ${WRKDIR}/${PORTNAME}/src + +USE_PERL5_RUN= yes +NO_BUILD= yes +PROJECTHOST= trizen + +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png \ + share/applications/${PORTNAME}.desktop +PLIST_DIRSTRY= share/applications + +PORTDATA= * + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MGCAP} +RUN_DEPENDS+= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap +.endif + +post-patch: + @(cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" gtk-youtube-viewer.pl \ + youtube-viewer && ${REINPLACE_CMD} -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer) + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/youtube-viewer ${DATADIR} + +# Data +.if ${PORT_OPTIONS:MDATA} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "icons lib" ${DATADIR}) + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pl ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${DATADIR} +.endif + +# Pixmaps and Desktop + ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/ + +.include <bsd.port.mk> diff --git a/multimedia/gtk-youtube-viewer/distinfo b/multimedia/gtk-youtube-viewer/distinfo new file mode 100644 index 000000000000..3db97b478f2b --- /dev/null +++ b/multimedia/gtk-youtube-viewer/distinfo @@ -0,0 +1,2 @@ +SHA256 (gtk-youtube-viewer-2.0.5.tar.gz) = 28cce3956d58659849db451e9d016e426577bfd8791000678f87ac8929c6def0 +SIZE (gtk-youtube-viewer-2.0.5.tar.gz) = 165777 diff --git a/multimedia/gtk-youtube-viewer/pkg-descr b/multimedia/gtk-youtube-viewer/pkg-descr new file mode 100644 index 000000000000..42c14f875e7c --- /dev/null +++ b/multimedia/gtk-youtube-viewer/pkg-descr @@ -0,0 +1,4 @@ +GTK Youtube Viewer is created to be a flexible and reliable open-source +Linux application which is dedicated to streaming Youtube Videos with MPlayer. + +WWW: https://code.google.com/p/trizen/ |