Summary: | [MAINTAINER] multimedia/gtk-youtube-viewer: update to 3.0.2, Makefile changed | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | nemysis <nemysis> | ||||||
Component: | Individual Port(s) | Assignee: | Jason E. Hale <jhale> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | jgh | ||||||
Priority: | Normal | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
nemysis
2012-10-04 23:00:24 UTC
Responsible Changed From-To: freebsd-ports-bugs->jhale I'll take it. I'm thinking it might be a better idea, given how the source is distributed now, to update the multimedia/youtube-viewer port to 3.0.2 and add an option for the GTK part. Then multimedia/gtk-youtube-viewer could be removed or be a slave port. This will avoid CONFLICTS and such. Thoughts? - Jason State Changed From-To: open->feedback Ask for maintainer approval. On Fri, 05 Oct 2012 01:33:48 -0400 "Jason E. Hale" <jhale@freebsd.org> wrote: > I'm thinking it might be a better idea, given how the source is distributed > now, to update the multimedia/youtube-viewer port to 3.0.2 and add an option > for the GTK part. Then multimedia/gtk-youtube-viewer could be removed or be a > slave port. This will avoid CONFLICTS and such. Thoughts? > > - Jason Yes needed is to have slave Port or better only one Port with default install gtk-youtube-viewer and youtube-viewer, as this Source Developer gives. GTK Youtube Viewer need script youtube-viewer. For both Ports is used this file, because this have used CONFLICTS %%SITE_PERL%%/WWW/YoutubeViewer.pm Please look https://code.google.com/p/trizen/ Developer gives only one Link for download https://github.com/trizen/youtube-viewer/downloads GTK Youtube Viewer use this link MASTER_SITES= GITHUB USE_GITHUB= yes GH_ACCOUNT= trizen GH_PROJECT= youtube-viewer GH_TAGNAME= master GH_COMMIT= 99bf00c GTK Youtube Viewer have more Options as Pixmaps, Desktop, OptionsNG and patch both executable 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) Here have maintainer Youtube Viewer new Version for Youtube Viewer https://redports.org/browser/dhn/multimedia/youtube-viewer and use MASTER_SITES= GOOGLE_CODE \ ${MASTER_SITE_LOCAL} Patch only executable youtube-viewer post-patch: @${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" ${WRKSRC}/bin/youtube-viewer What you think is here needed a pkg-plist there is 12 Items and with PLIST_FILES are only 5 Items in Makefile. Youtube Viewer use pkg-plist, there are more Items in %%SITE_PERL%%/WWW but here is @dirrm %%SITE_PERL%%/WWW Yes we can make only one Port with PLIST_FILES= bin/gtk-youtube-viewer \ bin/youtube-viewer \ ... ${INSTALL_SCRIPT} ${WRKSRC}/bin/gtk-youtube-viewer ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/youtube-viewer ${PREFIX}/bin nemysis Update to 3.0.3 +PORTVERSION= 3.0.3 +CATEGORIES= multimedia perl5 +DISTNAME= youtube-viewer +OPTIONS_DEFINE= GTK GCAP +OPTIONS_DEFAULT=GTK GCAP +GTK_DESC= Enable GTK support +GCAP_DESC= Enable GCAP support +PLIST_SUB+= GTK="" +.else +PLIST_SUB+= GTK="@comment " +.endif Use now /Build.PL && ./Build State Changed From-To: feedback->closed Committed with changes discussed via private email. Thanks! |