mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
60 lines
1.7 KiB
Makefile
60 lines
1.7 KiB
Makefile
COMMENT= ZBar barcode reader
|
|
|
|
DISTNAME= zbar-0.23.93
|
|
REVISION= 1
|
|
|
|
SHARED_LIBS= zbar 0.1 \
|
|
zbargtk 0.1
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= https://github.com/mchehab/zbar
|
|
|
|
SITES= https://linuxtv.org/downloads/zbar/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
|
|
|
|
# LGPL 2.1
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} ICE MagickCore-6.Q16 MagickWand-6.Q16
|
|
WANTLIB += SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender Xt Xv atk-1.0 atk-bridge-2.0
|
|
WANTLIB += atspi bz2 c cairo cairo-gobject dbus-1 djvulibre epoll-shim
|
|
WANTLIB += epoxy execinfo expat ffi fontconfig freetype fribidi
|
|
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += graphite2 gtk-3 harfbuzz heif iconv intl jasper jbig
|
|
WANTLIB += jpeg lcms2 lzma m openjp2 pango-1.0 pangocairo-1.0
|
|
WANTLIB += pangoft2-1.0 pcre2-8 pixman-1 png raw_r sharpyuv tiff
|
|
WANTLIB += util wayland-client wayland-cursor wayland-egl webp
|
|
WANTLIB += webpdemux webpmux xcb xcb-render xcb-shm xkbcommon
|
|
WANTLIB += xml2 z
|
|
|
|
MODULES= lang/python
|
|
|
|
LIB_DEPENDS= graphics/ImageMagick \
|
|
x11/gtk+3
|
|
|
|
BUILD_DEPENDS= devel/gobject-introspection
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-gtk=gtk3 \
|
|
--with-python=python3 \
|
|
--disable-video \
|
|
--without-qt \
|
|
--without-dbus
|
|
USE_GMAKE= Yes
|
|
# upstream ships pregenerated manuals, but doesn't install them unless
|
|
# xmlto is detected. this avoids having to depend on xmlto at build time.
|
|
CONFIGURE_ENV= XMLTO=true
|
|
|
|
TEST_DEPENDS= devel/argp-standalone \
|
|
sysutils/coreutils
|
|
TEST_FLAGS= LIBS="-largp -lpthread"
|
|
|
|
pre-test:
|
|
ln -fs ${LOCALBASE}/bin/gsha1sum ${WRKDIR}/bin/sha1sum
|
|
|
|
.include <bsd.port.mk>
|