73177d4bf3
that need it; in the future more and more ports will move to meson build anyway. I first though I'd set CONFIGURE_STYLE in gnome.port.mk but it's too fragile (MODULES list must be sorted very carefully). Less magic is good. discussed with jasper@
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.42 2017/04/13 07:38:45 ajacoutot Exp $
|
|
|
|
COMMENT= library for storing and retrieving passwords and secrets
|
|
|
|
GNOME_PROJECT= libsecret
|
|
GNOME_VERSION= 0.18.5
|
|
|
|
SHARED_LIBS += secret-1 1.0 # 0.0
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c ffi gcrypt gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gpg-error iconv intl pcre pthread z
|
|
|
|
MODULES= x11/gnome
|
|
|
|
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
|
MODGNOME_TOOLS= docbook gobject-introspection vala
|
|
|
|
LIB_DEPENDS= devel/glib2 \
|
|
security/libgcrypt
|
|
|
|
# XXX circular dependency, see meta/gnome
|
|
# org.freedesktop.secrets
|
|
# (XXX add "gnome-keyring-*|ksecretsservice-*" when implemented)
|
|
#RUN_DEPENDS += x11/gnome/keyring
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
# unable to autolaunch a dbus-daemon without a $DISPLAY for X11
|
|
TEST_IS_INTERACTIVE= X11
|
|
TEST_DEPENDS= devel/py-gobject3${MODPY_FLAVOR} \
|
|
x11/dbus-python${MODPY_FLAVOR}
|
|
|
|
# regression tests call 'env python3'
|
|
MODULES += lang/python
|
|
TEST_DEPENDS += ${MODPY_RUN_DEPENDS}
|
|
MODPY_RUNDEP= No
|
|
MODPY_BUILDDEP= No
|
|
pre-test:
|
|
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python3
|
|
|
|
.include <bsd.port.mk>
|