FreeBSD Bugzilla – Attachment 180509 Details for
Bug 217546
[patch] multimedia/smplayer: add Qt5 option, drop qt*-script from dependencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch
patch-smplayer.diff (text/plain), 4.10 KB, created by
Andriy Voskoboinyk
on 2017-03-04 21:04:37 UTC
(
hide
)
Description:
The patch
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2017-03-04 21:04:37 UTC
Size:
4.10 KB
patch
obsolete
>Index: multimedia/smplayer/Makefile >=================================================================== >--- multimedia/smplayer/Makefile (revision 435390) >+++ multimedia/smplayer/Makefile (working copy) >@@ -3,34 +3,58 @@ > > PORTNAME= smplayer > DISTVERSION= 17.1.0 >+PORTREVISION= 1 > CATEGORIES= multimedia audio kde > MASTER_SITES= SF/${PORTNAME}/SMPlayer/${PORTVERSION} > > MAINTAINER= nemysis@FreeBSD.org >-COMMENT= Complete front-end based on Qt4 for mplayer >+COMMENT= Complete front-end based on Qt for mplayer > > LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/Copying.txt > >-RUN_DEPENDS= mplayer:multimedia/mplayer \ >- smplayer-skins>=0:multimedia/smplayer-skins \ >- smplayer-themes>=0:multimedia/smplayer-themes >- >-USE_QT4= gui dbus network script xml moc_build rcc_build uic_build \ >- uic3_build porting_build linguisttools_build >- >-ALL_TARGET= src/smplayer >-CONFIGURE_WRKSRC= ${WRKSRC}/src >-MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR} >- > USES= cpe desktop-file-utils dos2unix gmake qmake tar:bzip2 >+USE_XORG= x11 > CPE_VENDOR= ricardo_villalba > DOS2UNIX_REGEX= .*.[^p][^n][^g]$ > INSTALLS_ICONS= yes > >+ALL_TARGET= src/smplayer >+CONFIGURE_WRKSRC= ${WRKSRC}/src >+ >+OPTIONS_SINGLE= TOOLKIT >+OPTIONS_SINGLE_TOOLKIT= QT4 QT5 >+OPTIONS_MULTI= ENGINE >+OPTIONS_MULTI_ENGINE= MPLAYER MPV >+OPTIONS_DEFINE= DOCS DEBUG SKINS THEMES >+OPTIONS_DEFAULT= QT4 MPLAYER SKINS THEMES >+ >+TOOLKIT_DESC= Qt toolkit version >+ENGINE_DESC= Multimedia engine >+MPLAYER_DESC= Allow to use MPlayer as multimedia engine >+MPV_DESC= Allow to use mpv as multimedia engine >+SKINS_DESC= Install additional skins >+THEMES_DESC= Install additional themes >+ >+QT4_USE= qt4=moc_build,rcc_build,uic_build,linguisttools_build >+QT4_USE+= qt4=corelib,dbus,network,xml,gui >+ >+QT5_USE= qt5=buildtools_build,linguisttools_build >+QT5_USE+= qt5=core,dbus,network,xml,gui,widgets >+ >+MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer >+MPLAYER_QMAKE_OFF= "DEFINES_DISABLED+=MPLAYER_SUPPORT" >+ >+MPV_RUN_DEPENDS= mpv:multimedia/mpv >+MPV_QMAKE_OFF= "DEFINES_DISABLED+=MPV_SUPPORT" >+ >+SKINS_RUN_DEPENDS= smplayer-skins>=0:multimedia/smplayer-skins >+THEMES_RUN_DEPENDS= smplayer-themes>=0:multimedia/smplayer-themes >+ > PORTDOCS= Changelog Not_so_obvious_things.txt Notes_about_mpv.txt \ > Readme.txt Release_notes.txt Watching_TV.txt >-OPTIONS_DEFINE= DOCS DEBUG >+MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR} >+QMAKE_ARGS+= "DEFINES_DISABLED+=MPLAYER2_SUPPORT" > > # Do not use unstable versions > PORTSCOUT= site:http://sourceforge.net/projects/smplayer/files/Unstable/releases/ >@@ -37,8 +61,7 @@ > > SUB_FILES= pkg-message > >-.include <bsd.port.options.mk> >- >+# youtube support code may be updated via multimedia/smtube > post-patch: > @${REINPLACE_CMD} -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||; \ > s|lrelease|${LRELEASE}|; \ >@@ -45,14 +68,16 @@ > s|/share/man|/man|g; \ > s| make| ${MAKE_CMD}|g' \ > ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} -e 's/DEFINES += YT_USE_SCRIPT//' \ >+ ${WRKSRC}/src/smplayer.pro > >-.if ${PORT_OPTIONS:MDEBUG} >+post-patch-DEBUG-on: > @${REINPLACE_CMD} -e '/CONFIG += debug/s|#||' \ > ${WRKSRC}/src/smplayer.pro >-.else >+ >+post-patch-DEBUG-off: > @${REINPLACE_CMD} -e '/DEFINES += NO_DEBUG_ON_CONSOLE/s|#||' \ > ${WRKSRC}/src/smplayer.pro >-.endif > > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >Index: multimedia/smplayer/files/patch-src_smplayer.pro >=================================================================== >--- multimedia/smplayer/files/patch-src_smplayer.pro (nonexistent) >+++ multimedia/smplayer/files/patch-src_smplayer.pro (working copy) >@@ -0,0 +1,11 @@ >+--- src/smplayer.pro.orig 2016-12-26 22:19:34 UTC >++++ src/smplayer.pro >+@@ -97,6 +97,8 @@ isEqual(QT_MAJOR_VERSION, 5) { >+ } >+ } >+ >++DEFINES -= $${DEFINES_DISABLED} >++ >+ contains(QT_VERSION, ^4\\.[0-3]\\..*) { >+ message("Some features requires Qt > 4.3.") >+ > >Property changes on: multimedia/smplayer/files/patch-src_smplayer.pro >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217546
: 180509 |
180510