blob: 973b303102c8dd9921605da22114171b4d22512b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
PORTNAME= zart
PORTVERSION= g20191124
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://gmic.eu/files/source/:gmic
DISTFILES= gmic_${GMIC_VERSION}.tar.gz:gmic
PATCH_SITES= https://github.com/c-koi/zart/commit/
PATCHFILES= 6ca1964690afbbc78627d7c868a692401043a584.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= GMIC GUI for video streams
LICENSE= CeCILL
LICENSE_NAME= CeCILL
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libgmic.so:graphics/gmic \
libopencv_core.so:graphics/opencv \
libfftw3.so:math/fftw3
USES= compiler:c++11-lang pkgconfig qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= c-koi
GH_TAGNAME= 099554f
USE_QT= core gui network widgets xml buildtools_build
GMIC_VERSION= 2.8.1
QMAKE_ARGS= "GMIC_PATH=${WRKDIR}/gmic-${GMIC_VERSION}/src"
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} 's|SYS_gettid|SYS_thr_self|' ${WRKDIR}/gmic-${GMIC_VERSION}/src/gmic.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|