summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kbarcode
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps/kbarcode')
-rw-r--r--trinity-apps/kbarcode/Manifest1
-rw-r--r--trinity-apps/kbarcode/kbarcode-14.0.13.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/trinity-apps/kbarcode/Manifest b/trinity-apps/kbarcode/Manifest
index f34d88f2..a629c9ae 100644
--- a/trinity-apps/kbarcode/Manifest
+++ b/trinity-apps/kbarcode/Manifest
@@ -1 +1,2 @@
DIST kbarcode-trinity-14.0.12.tar.xz 273628 BLAKE2B 99a0da86bc7db39ca467770d3da78d852ed520dfe9c282083643982bdd55f1b2e15223253a028bfce67ccf426d03faac34156347b4c5b19c6e9479cfe7f0bad9 SHA512 3ed351dbd79bfcd09426e95d23b48014ff9d5202527e4f06904b067da2279e126758d1fd21574199ac9ec82bfefffc5eb156bd71d10295fe4b40e428bece7924
+DIST kbarcode-trinity-14.0.13.tar.xz 273700 BLAKE2B 173948e1db6830e902a9c3a8b0ef13aa5415d3e0144314294e743492af02f475616e02026118112830f06ce28c11bbcac2b4d0c94210a5a96f4d44105b8f4f67 SHA512 e0042465618b9f5c90d5d5a769a2632472ac4ad1a8e7f93fddfaf575768b0f68a1edd52c312c2daaa344e9930dcb2f3b616f419061d8d9db3e04c07b5a3f594e
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
+}