freebsd-ports/multimedia/gtk-youtube-viewer/Makefile

67 lines
1.9 KiB
Makefile
Raw Normal View History

These ports are no longer used or cared for. comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
2014-04-28 23:31:31 +02:00
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtk-youtube-viewer
PORTVERSION= 3.2.7
CATEGORIES= multimedia perl5
These ports are no longer used or cared for. comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
2014-04-28 23:31:31 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK Search and play YouTube videos streaming in MPlayer
LICENSE= ART10 GPLv3
LICENSE_COMB= dual
# According to Build.PL
BUILD_DEPENDS= p5-JSON>0:converters/p5-JSON \
p5-JSON-XS>0:converters/p5-JSON-XS \
p5-Data-Dump>0:devel/p5-Data-Dump \
p5-PathTools>0:devel/p5-PathTools \
p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu \
p5-Text-CharWidth>0:textproc/p5-Text-CharWidth \
p5-Text-Tabs+Wrap>0:textproc/p5-Text-Tabs+Wrap \
p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \
p5-Mozilla-CA>0:www/p5-Mozilla-CA \
p5-libwww>0:www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS} \
p5-common-sense>=2.02:devel/p5-common-sense
USE_GITHUB= yes
GH_ACCOUNT= trizen
GH_PROJECT= youtube-viewer
NO_ARCH= yes
USES= perl5 shebangfix
SHEBANG_FILES= bin/gtk-youtube-viewer bin/youtube-viewer
USE_PERL5= patch modbuild
CONFIGURE_ARGS+=${DATADIR}
OPTIONS_DEFINE= GTK2
OPTIONS_MULTI= PLAYER
OPTIONS_MULTI_PLAYER= MPLAYER MPV VLC
OPTIONS_DEFAULT= GTK2 MPLAYER
OPTIONS_SUB= yes
GTK2_BUILD_DEPENDS= p5-File-ShareDir>0:devel/p5-File-ShareDir \
p5-Gtk2>0:x11-toolkits/p5-Gtk2
GTK2_RUN_DEPENDS= p5-File-ShareDir>0:devel/p5-File-ShareDir \
p5-Gtk2>0:x11-toolkits/p5-Gtk2
GTK2_CONFIGURE_ON= --gtk-youtube-viewer
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
MPV_DESC= MPV media player support
MPV_RUN_DEPENDS= mpv:multimedia/mpv
PLAYER_DESC= Media player
VLC_DESC= VLC media player support
VLC_RUN_DEPENDS= vlc:multimedia/vlc
post-install-GTK2-on:
(cd ${STAGEDIR}${DESKTOPDIR} && ${LN} -sf \
../../${SITE_PERL_REL}/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop)
(cd ${STAGEDIR}${PREFIX}/share/pixmaps && ${LN} -sf \
../../${SITE_PERL_REL}/auto/share/dist/WWW-YoutubeViewer/icons/gtk-youtube-viewer.png)
do-test:
cd ${WRKSRC} && ${PERL} ./Build test
.include <bsd.port.mk>