blob: 4805900fa75ee33c6dbe79bd08b048ecd3a82aa3 (
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
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.130 2021/05/02 19:59:58 gutteridge Exp $
DISTNAME= librsvg-2.50.3
PKGREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/LibRsvg
COMMENT= SVG library for GNOME
LICENSE= gnu-lgpl-v2.1
MAKE_JOBS_SAFE= NO
MAKE_FLAGS+= CARGO_MAKE_JOBS=-j${_MAKE_JOBS_N}
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake aclocal autoconf automake
USE_LANGUAGES+= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-tools
#CONFIGURE_ARGS+= --enable-Bsymbolic=auto
CONFIGURE_ARGS+= --disable-Bsymbolic
PKGCONFIG_OVERRIDE= librsvg.pc.in
TEST_TARGET= check
.include "cargo-depends.mk"
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.50.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.pango+= pango>=1.38
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/cairo-gobject/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/loaders.mk"
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
RUST_REQ= 1.40.0
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
|