4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright 2024 Friedrich Kink
26 USE_PARALLEL_BUILD
= yes
27 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_VERSION
= 0.23.93
31 COMPONENT_DESCRIPTION
= ZBar is an open source software suite for reading bar codes from \
32 various sources
, including webcams.
33 COMPONENT_SUMMARY
= ZBAR bar code reader
34 COMPONENT_PROJECT_URL
= https
://github.com
/mchehab
/zbar
35 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
36 COMPONENT_ARCHIVE
= $(COMPONENT_VERSION
).
tar.gz
37 COMPONENT_ARCHIVE_HASH
= sha256
:212dfab527894b8bcbcc7cd1d43d63f5604a07473d31a5f02889e372614ebe28
38 COMPONENT_ARCHIVE_URL
= https
://github.com
/mchehab
/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
39 COMPONENT_FMRI
= image
/zbar
40 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
41 COMPONENT_LICENSE
= LGPL2.1
42 COMPONENT_LICENSE_FILE
= COPYING
44 # no usable tests available
45 TEST_TARGET
= $(NO_TESTS
)
46 include $(WS_MAKE_RULES
)/common.mk
48 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-vfi
)
51 CONFIGURE_OPTIONS
+= --disable-static
52 CONFIGURE_OPTIONS
+= --disable-video
53 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
54 CONFIGURE_OPTIONS
+= --enable-introspection
=yes
55 CONFIGURE_OPTIONS
+= --with-gir
56 CONFIGURE_OPTIONS
+= --with-java
=no
57 CONFIGURE_OPTIONS
+= --with-qt
=no
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
61 REQUIRED_PACKAGES
+= image
/imagemagick
62 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
63 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
64 REQUIRED_PACKAGES
+= library
/glib2
65 REQUIRED_PACKAGES
+= system
/library
66 REQUIRED_PACKAGES
+= system
/library
/libdbus
67 REQUIRED_PACKAGES
+= x11
/library
/libx11
68 REQUIRED_PACKAGES
+= x11
/library
/libxv