| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/filmulator/ |
Upload File : |
PORTNAME= filmulator
PORTVERSION= 0.11.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= danfe@FreeBSD.org
COMMENT= Simplified raw editor with the power of film
WWW= https://filmulator.org/
LICENSE= GPLv3+
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
.endif
LIB_DEPENDS= libcurl.so:ftp/curl \
libexiv2.so:graphics/exiv2 \
liblensfun.so:graphics/lensfun \
libraw_r.so:graphics/libraw \
librtprocess.so:graphics/librtprocess \
libtiff.so:graphics/tiff
USES= cmake jpeg libarchive pkgconfig qt:5
USE_GITHUB= yes
USE_QT= buildtools:build qmake:build core declarative gui \
network sql widgets
GH_ACCOUNT= CarVac
GH_PROJECT= ${PORTNAME}-gui
WRKSRC_SUBDIR= ${GH_PROJECT}
post-patch:
@${REINPLACE_CMD} -e '/target_compile_definitions.*LF_GIT/d' \
${WRKSRC}/CMakeLists.txt
# Prerendered PNG icon is 64x58 which Qt does not want to load, so use
# original SVG instead which is square. Qt's icon engine supports SVG
# since Qt 4.2.
@${REINPLACE_CMD} -e '/filmulator64icon/s,png,svg,' \
${WRKSRC}/main.cpp ${WRKSRC}/resources/pixmaps.qrc
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps
${INSTALL_DATA} ${WRKSRC}/filmulator-gui64.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/filmulator-gui.png
${INSTALL_DATA} ${WRKSRC}/filmulator-gui.desktop.in \
${STAGEDIR}${PREFIX}/share/applications/filmulator-gui.desktop
.include <bsd.port.mk>