diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-09-21 23:20:44 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-09-22 02:13:34 +0200 |
commit | 775f12ecd94897ab57fda657cebb941b7595d54c (patch) | |
tree | 2b7c6134adbca37f1fd6db2b413f83aeb152d5a4 /trinity-apps/kbarcode | |
parent | b31dcc11bda26206636c89836224138e0453097c (diff) | |
download | tde-packaging-gentoo-775f12ecd94897ab57fda657cebb941b7595d54c.tar.gz tde-packaging-gentoo-775f12ecd94897ab57fda657cebb941b7595d54c.zip |
trinity-apps/kbarcode: Add missing metadata.xml, Copyright
local mycmakeargs
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'trinity-apps/kbarcode')
-rw-r--r-- | trinity-apps/kbarcode/kbarcode-9999.ebuild | 21 | ||||
-rw-r--r-- | trinity-apps/kbarcode/metadata.xml | 8 |
2 files changed, 20 insertions, 9 deletions
diff --git a/trinity-apps/kbarcode/kbarcode-9999.ebuild b/trinity-apps/kbarcode/kbarcode-9999.ebuild index 5437c128..8472e168 100644 --- a/trinity-apps/kbarcode/kbarcode-9999.ebuild +++ b/trinity-apps/kbarcode/kbarcode-9999.ebuild @@ -1,37 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors # Copyright 2020 The Trinity Desktop Project # Distributed under the terms of the GNU General Public License v2 EAPI="7" + TRINITY_MODULE_TYPE="applications" TRINITY_EXTRAGEAR_PACKAGING="yes" TRINITY_HANDBOOK="optional" TRINITY_LANGS="de el es fi fr hu it nl pl sv tr" - inherit trinity-base-2 DESCRIPTION="Barcode and label printing application for TDE" HOMEPAGE="https://trinitydesktop.org/" -LICENSE="|| ( GPL-2 GPL-3 )" need-trinity +LICENSE="|| ( GPL-2 GPL-3 )" SLOT="${TRINITY_VER}" # Native GNU Barcode support seems to be broken right now. # The GNU Barcode binary is needed anyway. +IUSE+=" javascript native-gnu-barcode" -IUSE+=" javascript native_gnu_barcode" - -RDEPEND+=" app-text/barcode - || ( media-gfx/imagemagick - media-gfx/graphicsmagick )" +RDEPEND+=" + app-text/barcode + || ( + media-gfx/imagemagick + media-gfx/graphicsmagick + )" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DBUILD_TRANSLATIONS=ON - -DWITH_NATIVE_GNU_BARCODE="$(usex native_gnu_barcode)" + -DWITH_NATIVE_GNU_BARCODE="$(usex native-gnu-barcode)" -DWITH_JAVASCRIPT="$(usex javascript)" ) diff --git a/trinity-apps/kbarcode/metadata.xml b/trinity-apps/kbarcode/metadata.xml new file mode 100644 index 00000000..4ed30483 --- /dev/null +++ b/trinity-apps/kbarcode/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <use> + <flag name="native-gnu-barcode">Enable WITH_NATIVE_GNU_BARCODE cmake flag (no extra dependencies)</flag> + </use> +</pkgmetadata> |