blob: ab2831406efab489757acd0379fe19152ec5bb13 (
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
40
41
|
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= libosinfo
PORTVERSION= 1.7.1
CATEGORIES= devel
MASTER_SITES= https://releases.pagure.org/libosinfo/
MAINTAINER= novel@FreeBSD.org
COMMENT= Library for managing OS information for virtualization
LIB_DEPENDS= libsoup-gnome-2.4.so:devel/libsoup-gnome \
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 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.1007.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>
|