ports/graphics/upscaler/Makefile
2024-09-03 15:02:31 +02:00

28 lines
757 B
Makefile

PORTNAME= upscaler
DISTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Upscale and enhance images
WWW= https://gitlab.gnome.org/World/Upscaler
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler
RUN_DEPENDS= realesrgan-ncnn-vulkan:graphics/realesrgan-ncnn-vulkan
USES= desktop-file-utils gettext-tools gnome meson python
USE_GITLAB= yes
USE_GNOME= gtk40 libadwaita pygobject3
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_PROJECT= Upscaler
GLIB_SCHEMAS= io.gitlab.theevilskeleton.Upscaler.gschema.xml
post-patch:
# Derive Python version from Meson
@${REINPLACE_CMD} -e "s,'python3',," ${WRKSRC}/${PORTNAME}/meson.build
.include <bsd.port.mk>