~cypheon/pkgsrc-wip

pkgsrc-wip/gdk-pixbuf-jxl/Makefile -rw-r--r-- 741 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD$

.include "../../wip/libjxl/Makefile.common"

PKGNAME=	${DISTNAME:S/lib/gdk-pixbuf-/g}
COMMENT=	JpegXL GDK pixbuf loader

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_TOOLS+=	bash pkg-config
USE_LANGUAGES=	c c++
USE_CMAKE=	yes

CONFIGURE_DIRS=	plugins/gdk-pixbuf
BUILD_DIRS=	plugins/gdk-pixbuf

REPLACE_BASH=	deps.sh

SUBST_CLASSES+=		gpt
SUBST_STAGE.gpt=	pre-configure
SUBST_MESSAGE.gpt=	Fixing path to gdk-pixbuf-thumbnailer
SUBST_FILES.gpt=	plugins/gdk-pixbuf/jxl.thumbnailer
SUBST_SED.gpt=		-e 's,/usr,${PREFIX},g'

pre-configure:
	cd ${WRKSRC} && ./deps.sh

.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../graphics/gdk-pixbuf2/loaders.mk"
.include "../../wip/libjxl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"