You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging-gentoo/trinity-apps/kbarcode/kbarcode-9999.ebuild

40 lines
884 B

# 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
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"
RDEPEND+=" app-text/barcode
|| ( media-gfx/imagemagick
media-gfx/graphicsmagick )"
src_configure() {
mycmakeargs=(
-DBUILD_TRANSLATIONS=ON
-DWITH_NATIVE_GNU_BARCODE="$(usex native_gnu_barcode)"
-DWITH_JAVASCRIPT="$(usex javascript)"
)
trinity-base-2_src_configure
}