Date: Thu, 04 Oct 2012 23:51:35 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jgh@FreeBSD.org Subject: ports/172336: [MAINTAINER] multimedia/gtk-youtube-viewer: update to 3.0.2, Makefile changed Message-ID: <20121004215146.3476E106566B@hub.freebsd.org> Resent-Message-ID: <201210042200.q94M0OE9023570@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172336 >Category: ports >Synopsis: [MAINTAINER] multimedia/gtk-youtube-viewer: update to 3.0.2, Makefile changed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Oct 04 22:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: - Update to 3.0.2 Makefile changed - Added Categorie perl5 +CATEGORIES= multimedia perl5 - Changed MASTER_SITES +MASTER_SITES= GITHUB - Added dependencies + p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \ + p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ - Changed PLIST PLIST_FILES PLIST_DIRSTRY - Added post-extract +post-extract: + @(cd ${WRKSRC}/WWW-YoutubeViewer && ${MV} * ..) - Added CONFLICTS +CONFLICTS= youtube-viewer-[0-9]* - Rework do-install, post-install, post-patch do-install: +post-install: post-patch: + @(cd ${WRKSRC}/bin && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" \ + -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer youtube-viewer) - Removed all comments - Added in pkg-descr WWW +WWW: https://github.com/trizen/youtube-viewer/ Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) >How-To-Repeat: portlint -A WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy. 0 fatal errors and 1 warning found. port test: clean Build log RedPorts https://redports.org/buildarchive/20121004081840-5328/ >Fix: --- gtk-youtube-viewer-3.0.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/Makefile ./Makefile --- /usr/ports/multimedia/gtk-youtube-viewer/Makefile 2012-09-23 17:14:54.000000000 +0200 +++ ./Makefile 2012-10-04 10:13:58.000000000 +0200 @@ -6,10 +6,9 @@ # PORTNAME= gtk-youtube-viewer -PORTVERSION= 2.0.5 -CATEGORIES= multimedia -MASTER_SITES= GOOGLE_CODE -PROJECTHOST= trizen +PORTVERSION= 3.0.2 +CATEGORIES= multimedia perl5 +MASTER_SITES= GITHUB MAINTAINER= nemysis@gmx.ch COMMENT= GTK Search and play YouTube videos streaming in MPlayer @@ -21,46 +20,60 @@ 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 \ + p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \ + p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ mplayer:${PORTSDIR}/multimedia/mplayer -OPTIONS_DEFINE= GCAP -GCAP_DESC= GCAP support +USE_GITHUB= yes +GH_ACCOUNT= trizen +GH_PROJECT= youtube-viewer +GH_TAGNAME= master +GH_COMMIT= 99bf00c -WRKSRC= ${WRKDIR}/${PORTNAME}/src +WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}/ USE_PERL5_RUN= yes NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.png \ - share/applications/${PORTNAME}.desktop -PLIST_DIRSTRY= share/applications + %%SITE_PERL%%/WWW/YoutubeViewer.pm \ + share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.png +PLIST_DIRSTRY= share/applications \ + %%SITE_PERL%%/WWW PORTDATA= * +CONFLICTS= youtube-viewer-[0-9]* + +OPTIONS_DEFINE= GCAP +GCAP_DESC= GCAP support + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGCAP} RUN_DEPENDS+= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap .endif +post-extract: + @(cd ${WRKSRC}/WWW-YoutubeViewer && ${MV} * ..) + 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) + @(cd ${WRKSRC}/bin && ${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" \ + -e "s|/usr/share/|${PREFIX}/share/|g" gtk-youtube-viewer youtube-viewer) + ${MKDIR} ${PREFIX}/${SITE_PERL_REL}/WWW + ${INSTALL_DATA} ${WRKSRC}/lib/WWW/YoutubeViewer.pm ${PREFIX}/${SITE_PERL_REL}/WWW/ ${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/youtube-viewer ${DATADIR} - -# Data - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "icons lib" ${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pl ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/youtube-viewer ${DATADIR} -# Pixmaps and Desktop - ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ +post-install: + @(cd ${WRKSRC}/share && ${COPYTREE_SHARE} "gtk-youtube-viewer-icons icons" ${DATADIR}) + ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.glade ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/share/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/ ${MKDIR} ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.desktop ${PREFIX}/share/applications/ .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/distinfo ./distinfo --- /usr/ports/multimedia/gtk-youtube-viewer/distinfo 2012-08-24 23:15:59.000000000 +0200 +++ ./distinfo 2012-10-04 10:10:28.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (gtk-youtube-viewer-2.0.5.tar.gz) = 28cce3956d58659849db451e9d016e426577bfd8791000678f87ac8929c6def0 -SIZE (gtk-youtube-viewer-2.0.5.tar.gz) = 165777 +SHA256 (gtk-youtube-viewer-3.0.2.tar.gz) = 5f51240c08c736ad7899eb909aab9474cde68bc56e68a9a9d20a4d94ac67d4a0 +SIZE (gtk-youtube-viewer-3.0.2.tar.gz) = 103814 diff -ruN --exclude=CVS /usr/ports/multimedia/gtk-youtube-viewer/pkg-descr ./pkg-descr --- /usr/ports/multimedia/gtk-youtube-viewer/pkg-descr 2012-09-23 17:14:54.000000000 +0200 +++ ./pkg-descr 2012-10-04 00:02:12.000000000 +0200 @@ -2,3 +2,4 @@ Linux application which is dedicated to streaming Youtube Videos with MPlayer. WWW: https://code.google.com/p/trizen/ +WWW: https://github.com/trizen/youtube-viewer/ --- gtk-youtube-viewer-3.0.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121004215146.3476E106566B>