openbsd-ports/devel/appstream-glib/Makefile

71 lines
1.8 KiB
Makefile
Raw Normal View History

2018-10-17 07:53:36 -04:00
# $OpenBSD: Makefile,v 1.45 2018/10/17 11:53:36 ajacoutot Exp $
COMMENT= library for AppStream metadata
2018-10-17 07:53:36 -04:00
DISTNAME= appstream-glib-0.7.14
EXTRACT_SUFX= .tar.xz
2018-10-17 07:53:36 -04:00
SHARED_LIBS += appstream-glib 3.5 # 8.0.10
2018-04-22 04:20:33 -04:00
SHARED_LIBS += appstream-builder 3.3 # 8.0.10
CATEGORIES= devel
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
HOMEPAGE= http://people.freedesktop.org/~hughsient/appstream-glib/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
2018-07-12 05:59:11 -04:00
WANTLIB += archive c cairo fontconfig freetype gdk-3
2017-06-25 08:05:09 -04:00
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += intl json-glib-1.0 pango-1.0 soup-2.4 uuid yaml
MASTER_SITES= http://people.freedesktop.org/~hughsient/appstream-glib/releases/
2017-06-25 08:05:09 -04:00
MODULES= devel/meson \
textproc/intltool \
x11/gnome
2017-06-26 09:36:18 -04:00
MODGNOME_TOOLS= docbook gobject-introspection
2017-06-25 08:05:09 -04:00
# C11
COMPILER= base-clang ports-clang
2017-06-25 08:05:09 -04:00
COMPILER_LANGS= c
2017-04-13 04:43:22 -04:00
BUILD_DEPENDS= devel/gperf
2015-05-27 02:49:50 -04:00
2018-07-12 05:59:11 -04:00
LIB_DEPENDS= archivers/libarchive \
2016-06-28 04:46:58 -04:00
devel/json-glib \
devel/libsoup \
2015-05-27 02:49:50 -04:00
devel/libyaml \
2016-06-28 04:46:58 -04:00
sysutils/e2fsprogs \
x11/gtk+3
2018-01-23 11:59:33 -05:00
CONFIGURE_ARGS= -Drpm=false
2016-07-30 10:17:14 -04:00
# requires libstemmer
2018-01-23 11:59:33 -05:00
CONFIGURE_ARGS += -Dstemmer=false
2017-08-17 05:47:24 -04:00
# needed for `make test'
PORTHOME= ${WRKDIST}
2017-06-25 08:05:09 -04:00
pre-configure:
2017-08-22 04:14:55 -04:00
${SUBST_CMD} ${WRKSRC}/client/as-compose.c
cd ${WRKSRC} && sed -i "s,/usr/share,${LOCALBASE}/share,g" \
client/as-util.c \
libappstream-glib/as-utils.c \
libappstream-glib/as-self-test.c \
libappstream-builder/plugins/asb-plugin-desktop.c \
libappstream-builder/plugins/asb-plugin-hardcoded.c \
libappstream-builder/plugins/asb-plugin-shell-extension.c \
libappstream-builder/plugins/asb-plugin-appdata.c \
libappstream-builder/plugins/asb-plugin-font.c \
libappstream-builder/plugins/asb-plugin-gettext.c \
libappstream-builder/plugins/asb-plugin-icon.c \
2017-08-22 04:14:55 -04:00
libappstream-builder/asb-utils.c \
libappstream-builder/asb-self-test.c
2017-06-25 08:05:09 -04:00
###
.include <bsd.port.mk>