aboutsummaryrefslogtreecommitdiff
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2018-05-18 17:20:03 +0000
committerKoop Mast <kwm@FreeBSD.org>2018-05-18 17:20:03 +0000
commitc9f26753626a0135071e27cf9a8ce81d99641ef3 (patch)
tree2af9dd15600ca7174c014ce76b0e6fbbe7a08ae0 /graphics/librsvg2
parent8298879770e322625f5dc9be6abb0abbc38ac0d2 (diff)
downloadports-c9f26753626a0135071e27cf9a8ce81d99641ef3.tar.gz
ports-c9f26753626a0135071e27cf9a8ce81d99641ef3.zip
Notes
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r--graphics/librsvg2/Makefile9
-rw-r--r--graphics/librsvg2/distinfo6
-rw-r--r--graphics/librsvg2/pkg-plist1
3 files changed, 11 insertions, 5 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile
index fd5a1cabe669..e0ca5a5d9348 100644
--- a/graphics/librsvg2/Makefile
+++ b/graphics/librsvg2/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= librsvg
-PORTVERSION= 2.40.17
+PORTVERSION= 2.40.20
+PORTREVISON= 1
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
PKGNAMESUFFIX= 2
@@ -11,9 +12,13 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Library for parsing and rendering SVG vector-graphic files
+# librsvg2 2.42+ needs rust to build, which is not available on all
+# FreeBSD archs. So limit pure C version 2.40.x.
PORTSCOUT= limit:^2\.40\.
+BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libfreetype.so:print/freetype2 \
+ libfontconfig.so:x11-fonts/fontconfig \
libpng.so:graphics/png \
libcroco-0.6.so:textproc/libcroco
@@ -23,7 +28,7 @@ USE_GNOME= cairo gnomeprefix libgsf gdkpixbuf2 introspection:build \
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-CONFIGURE_ARGS= --disable-vala \
+CONFIGURE_ARGS= --enable-vala \
--disable-Bsymbolic
PLIST_SUB+= PORTVERSION=${PORTVERSION}
diff --git a/graphics/librsvg2/distinfo b/graphics/librsvg2/distinfo
index 870d49c77b6b..54e955a9b5d0 100644
--- a/graphics/librsvg2/distinfo
+++ b/graphics/librsvg2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1494326467
-SHA256 (gnome2/librsvg-2.40.17.tar.xz) = e6f6c5cbecc405bb945c7cd15061276035ae3173bbb3bb25e8a916779c7f69cc
-SIZE (gnome2/librsvg-2.40.17.tar.xz) = 573244
+TIMESTAMP = 1516305968
+SHA256 (gnome2/librsvg-2.40.20.tar.xz) = cff4dd3c3b78bfe99d8fcfad3b8ba1eee3289a0823c0e118d78106be6b84c92b
+SIZE (gnome2/librsvg-2.40.20.tar.xz) = 1796376
diff --git a/graphics/librsvg2/pkg-plist b/graphics/librsvg2/pkg-plist
index ae7affe84659..cca0d883becd 100644
--- a/graphics/librsvg2/pkg-plist
+++ b/graphics/librsvg2/pkg-plist
@@ -42,5 +42,6 @@ share/doc/rsvg-2.0/up-insensitive.png
share/doc/rsvg-2.0/up.png
share/gir-1.0/Rsvg-2.0.gir
share/thumbnailers/librsvg.thumbnailer
+share/vala/vapi/librsvg-2.0.vapi
@postexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
@postunexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true