summaryrefslogtreecommitdiff
path: root/graphics/upscaler/Makefile
blob: 850016ec9865d5ed2d0ce2cf4d1607e1a164be52 (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
PORTNAME=	upscaler
DISTVERSION=	1.1.2
PORTREVISION=	1
CATEGORIES=	graphics

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Upscale and enhance images
WWW=		https://gitlab.com/TheEvilSkeleton/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_ACCOUNT=	TheEvilSkeleton
GL_PROJECT=	Upscaler
GL_COMMIT=	5aaab9ccaf56b3c7a0eb7d1dbba372d8ff970d69
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>