Thanks, applied as c90f83f636773218b0efb46eed4ded3f221808e2. Michael
[sent from post-receive hook] On Mon, 24 Mar 2025 08:46:01 +0100, Roman Schnider <[email protected]> wrote: > zint is a barcode encoding library supporting over 50 symbologies. > It provides an encoding library (libzint) and a cli tool (zint). > I omitted the Qt gui frontend and its backend. > > The cli tool is optional selectable. > > License: > The library is released under the BSD (3 clause) license whereas the > CLI is released under the GNU General Public License version 3 or later. > See also README. > > Signed-off-by: Roman Schnider <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/rules/zint.in b/rules/zint.in > new file mode 100644 > index 000000000000..7ba8523d2f55 > --- /dev/null > +++ b/rules/zint.in > @@ -0,0 +1,17 @@ > +## SECTION=multimedia_libs > + > +menuconfig ZINT > + tristate > + select HOST_CMAKE > + select LIBPNG if ZINT_FRONTEND > + prompt "zint" > + help > + A barcode encoding library supporting over 50 symbologies. > + > +if ZINT > + > +config ZINT_FRONTEND > + bool > + prompt "build and install cli frontend" > + > +endif > diff --git a/rules/zint.make b/rules/zint.make > new file mode 100644 > index 000000000000..4a99fdf022bf > --- /dev/null > +++ b/rules/zint.make > @@ -0,0 +1,72 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2025 by Roman Schnider <[email protected]> > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_ZINT) += zint > + > +# > +# Paths and names > +# > +ZINT_VERSION := 2.15.0 > +ZINT_MD5 := ea0065f7ea67fca17a443bc064252340 > +ZINT := zint-$(ZINT_VERSION) > +ZINT_SUFFIX := tar.gz > +ZINT_URL := > https://sourceforge.net/projects/zint/files/zint/$(ZINT_VERSION)/$(ZINT)-src.$(ZINT_SUFFIX) > +ZINT_SOURCE := $(SRCDIR)/$(ZINT).$(ZINT_SUFFIX) > +ZINT_DIR := $(BUILDDIR)/$(ZINT) > +ZINT_LICENSE := BSD-3-Clause AND GPL-3.0-or-later > +ZINT_LICENSE_FILES := file://LICENSE;md5=7a60e5da828a98fbdf48c9a327c7cdfa \ > + > file://frontend/COPYING;md5=d32239bcb673463ab874e80d47fae504 > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +# > +# cmake > +# > +ZINT_CONF_TOOL := cmake > +ZINT_CONF_OPT := $(CROSS_CMAKE_USR) \ > + -DZINT_COVERAGE=OFF \ > + -DZINT_DEBUG=OFF \ > + -DZINT_FRONTEND=$(call ptx/onoff,PTXCONF_ZINT_FRONTEND) \ > + -DZINT_NOOPT=OFF \ > + -DZINT_SANITIZE=OFF \ > + -DZINT_SHARED=ON \ > + -DZINT_STATIC=OFF \ > + -DZINT_TEST=OFF \ > + -DZINT_UNINSTALL=OFF \ > + -DZINT_USE_PNG=$(call ptx/onoff,PTXCONF_ZINT_FRONTEND) \ > + -DZINT_USE_QT=OFF > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/zint.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, zint) > + @$(call install_fixup, zint, PRIORITY, optional) > + @$(call install_fixup, zint, SECTION, base) > + @$(call install_fixup, zint, AUTHOR, "Roman Schnider > <[email protected]>") > + @$(call install_fixup, zint, DESCRIPTION, missing) > + > + @$(call install_lib, zint, 0, 0, 0644, libzint) > + > +ifdef PTXCONF_ZINT_FRONTEND > + @$(call install_copy, zint, 0, 0, 0755, -, /usr/bin/zint) > +endif > + > + @$(call install_finish, zint) > + > + @$(call touch) > + > +# vim: syntax=make
