aboutsummaryrefslogtreecommitdiff
path: root/devel/libosinfo/Makefile
blob: 954ca024ab6f7cb4548db482b6b91882cbf90928 (plain) (blame)
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
PORTNAME=	libosinfo
PORTVERSION=	1.11.0
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	https://releases.pagure.org/libosinfo/

MAINTAINER=	novel@FreeBSD.org
COMMENT=	Library for managing OS information for virtualization
WWW=		https://libosinfo.org/

LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup
BUILD_DEPENDS=	${LOCALBASE}/share/pciids/pci.ids:misc/pciids \
		${LOCALBASE}/share/usbids/usb.ids:misc/usbids
RUN_DEPENDS:=	${BUILD_DEPENDS} \
		osinfo-db-import:sysutils/osinfo-db-tools \
		${LOCALBASE}/share/osinfo/VERSION:misc/osinfo-db

USES=		compiler:c11 cpe gettext gmake gnome libtool pathfix \
		pkgconfig tar:xz meson
USE_GNOME=	glib20 libxml2 libxslt introspection:build intlhack
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

CONFIGURE_ARGS+=	-Denable-vala=disabled \
			-Dwith-usb-ids-path=${LOCALBASE}/share/usbids/usb.ids \
			-Dwith-pci-ids-path=${LOCALBASE}/share/pciids/pci.ids

SHLIB_VER=	0.1011.0
PLIST_SUB=	SHLIB_VER=${SHLIB_VER}

OPTIONS_DEFINE=	GTKDOC
OPTIONS_DEFAULT=	GTKDOC
OPTIONS_SUB=	yes

GTKDOC_DESC=	Build gtk-doc documentation
GTKDOC_BUILD_DEPENDS=	gtkdoc-scan:textproc/gtk-doc
GTKDOC_MESON_TRUE=	enable-gtk-doc

.include <bsd.port.mk>