summaryrefslogtreecommitdiff
path: root/converters/libwpg/Makefile
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-25 10:24:05 +0000
committernia <nia@pkgsrc.org>2020-03-25 10:24:05 +0000
commitbb8e490052998cb3874ece200f3c1a5ce44c6029 (patch)
treeff4d85de55d4a7d1970aae1ce9908c254a4d4f70 /converters/libwpg/Makefile
parent30fa74375434fe53bd1d6734278da530d132004c (diff)
downloadpkgsrc-bb8e490052998cb3874ece200f3c1a5ce44c6029.tar.gz
libwpg: Update to 0.3.3
0.3.2 - 0.3.3 - Drop obsolete MSVC project files. - Use --disable-werror instead of --enable-werror as configure default. - Fix parsing of 24-bit RGB and 32-bit RGBA bitmaps in WPG2 files. (tdf#78105) 0.3.1 - 0.3.2 - Require C++11 for build. - Fix a couple of issues found by oss-fuzz. - Improve performance of reading image data from WPG2 files. - Various minor code cleanups.
Diffstat (limited to 'converters/libwpg/Makefile')
-rw-r--r--converters/libwpg/Makefile29
1 files changed, 12 insertions, 17 deletions
diff --git a/converters/libwpg/Makefile b/converters/libwpg/Makefile
index 0b9e4607640..f778312a595 100644
--- a/converters/libwpg/Makefile
+++ b/converters/libwpg/Makefile
@@ -1,21 +1,25 @@
-# $NetBSD: Makefile,v 1.36 2020/01/26 05:26:18 rillig Exp $
+# $NetBSD: Makefile,v 1.37 2020/03/25 10:24:05 nia Exp $
-DISTNAME= libwpg-0.3.1
-PKGREVISION= 14
+DISTNAME= libwpg-0.3.3
CATEGORIES= converters graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libwpg/}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://libwpg.sourceforge.net/
COMMENT= Library for importing and converting Corel WordPerfect Graphics images
LICENSE= gnu-lgpl-v2 OR mpl-2.0
-USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
-USE_TOOLS+= perl pkg-config
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= perl pkg-config
+
+# C++11
+GCC_REQD+= 4.7
+
CONFIGURE_ARGS+= --without-docs
+
PKGCONFIG_OVERRIDE+= libwpg.pc.in
REPLACE_PERL= src/conv/svg/wpg2svgbatch.pl
@@ -23,13 +27,4 @@ REPLACE_PERL= src/conv/svg/wpg2svgbatch.pl
.include "../../converters/libwpd/buildlink3.mk"
.include "../../converters/librevenge/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
-
-# Include all buildlink3.mk before compiler.mk, as the buildlink dependencies
-# may alter the compiler selection.
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILDLINK_TRANSFORM+= rm:-Werror
-.endif
-
.include "../../mk/bsd.pkg.mk"