diff options
Diffstat (limited to 'trinity-apps/kbarcode/kbarcode-14.0.13.ebuild')
-rw-r--r-- | trinity-apps/kbarcode/kbarcode-14.0.13.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/trinity-apps/kbarcode/kbarcode-14.0.13.ebuild b/trinity-apps/kbarcode/kbarcode-14.0.13.ebuild new file mode 100644 index 00000000..cf806577 --- /dev/null +++ b/trinity-apps/kbarcode/kbarcode-14.0.13.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Copyright 2022 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +TRINITY_EXTRAGEAR_PACKAGING="yes" +TRINITY_HANDBOOK="optional" + +TRINITY_LANGS="de el es fi fr hu it nl pl sv tr" +TRINITY_MODULE_TYPE="applications/utilities" +inherit trinity-base-2 + +DESCRIPTION="Barcode and label printing application for TDE" +HOMEPAGE="https://trinitydesktop.org/" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="14" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +# Native GNU Barcode support seems to be broken right now. +# The GNU Barcode binary is needed anyway. +IUSE="javascript native-gnu-barcode" + +RDEPEND=" + app-text/barcode + || ( + media-gfx/imagemagick + media-gfx/graphicsmagick + )" + +src_configure() { + local mycmakeargs=( + -DBUILD_TRANSLATIONS=ON + -DWITH_NATIVE_GNU_BARCODE="$(usex native-gnu-barcode)" + -DWITH_JAVASCRIPT="$(usex javascript)" + ) + + trinity-base-2_src_configure +} |