Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133161894
D17908.id50171.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D17908.id50171.diff
View Options
Index: multimedia/clipgrab/Makefile
===================================================================
--- multimedia/clipgrab/Makefile
+++ multimedia/clipgrab/Makefile
@@ -2,24 +2,38 @@
# $FreeBSD$
PORTNAME= clipgrab
-PORTVERSION= 3.4.11
+PORTVERSION= 3.7.1
CATEGORIES= multimedia
-MASTER_SITES= http://download.clipgrab.de/
+MASTER_SITES= https://download.clipgrab.org/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= kikadf.01@gmail.com
COMMENT= Program to download videos from YouTube and etc
LICENSE= GPLv3
-USES= qmake qt:4 tar:bzip2
-USE_QT= gui xml uic_build moc_build \
+FLAVORS= qt4 qt5
+qt5_PKGNAMESUFFIX= -qt5
+qt5_CONFLICTS_INSTALL= ${PORTNAME}
+qt4_CONFLICTS_INSTALL= ${PORTNAME}${qt5_PKGNAMESUFFIX}
+
+.if ${FLAVOR:U} == qt5
+PATCH_SITES= https://gitlab.com/kikadf/clipgrab-qt5/raw/patches/patches/
+PATCHFILES= clipgrab-qt5-${PORTVERSION}.patch:-p1
+
+USES= qmake qt:5
+USE_QT= buildtools_build core network dbus webkit xml
+
+.else
+USES= qmake qt:4
+USE_QT= corelib gui xml uic_build moc_build \
rcc_build network dbus webkit
+.endif
PLIST_FILES= bin/${PORTNAME} \
- %%DATADIR%%/icon.png \
- %%DATADIR%%/logo.png \
- %%DATADIR%%/paypal-logo.png \
- %%DATADIR%%/splash.png
+ ${DATADIR}/icon.png \
+ ${DATADIR}/logo.png \
+ ${DATADIR}/paypal-logo.png \
+ ${DATADIR}/splash.png
DESKTOP_ENTRIES="Clipgrab" "Download and convert videos from YouTube and etc" \
"${DATADIR}/icon.png" "${PORTNAME}" \
@@ -28,8 +42,7 @@
QMAKE_SOURCE_PATH= ${WRKSRC}/${PORTNAME}.pro
post-patch:
- ${REINPLACE_CMD} -e 's,img/,share/${PORTNAME}/,g' \
- ${WRKSRC}/*.cpp
+ @${REINPLACE_CMD} -e 's,img/,share/${PORTNAME}/,g' ${WRKSRC}/*.cpp
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
Index: multimedia/clipgrab/distinfo
===================================================================
--- multimedia/clipgrab/distinfo
+++ multimedia/clipgrab/distinfo
@@ -1,2 +1,5 @@
-SHA256 (clipgrab-3.4.11.tar.bz2) = 48f7cbd9a503b19246ae2d31af8d2bba7c57945f5ba8ca4fcf7bf6b3a265bd83
-SIZE (clipgrab-3.4.11.tar.bz2) = 371620
+TIMESTAMP = 1539195391
+SHA256 (clipgrab-3.7.1.tar.gz) = addf58c027f8f0e01acb0d1d6cdb9fd17c356d4fe5e2d768b94e531b599d1f2e
+SIZE (clipgrab-3.7.1.tar.gz) = 628542
+SHA256 (clipgrab-qt5-3.7.1.patch) = 2efa3a821c352f4093315439365d600b9c93cc64562e2d2f8da9f67882b61cde
+SIZE (clipgrab-qt5-3.7.1.patch) = 24473
Index: multimedia/clipgrab/pkg-descr
===================================================================
--- multimedia/clipgrab/pkg-descr
+++ multimedia/clipgrab/pkg-descr
@@ -10,4 +10,4 @@
-MyVideo
-MySpass
-WWW: http://clipgrab.de
+WWW: https://clipgrab.org
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 24, 1:13 PM (18 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24132954
Default Alt Text
D17908.id50171.diff (2 KB)
Attached To
Mode
D17908: multimedia/clipgrab: add Qt5 support with FLAVOR
Attached
Detach File
Event Timeline
Log In to Comment