summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-04 14:56:24 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-04 14:58:51 +0200
commit75d1d012b2c465e8c8a0768cc4be9962c0df3b34 (patch)
tree30cda0fcbcb19eef84626325f98d7964316532e7 /app-misc
parentnet-libs/mbedtls: Use ffmpeg-style subslot tuples (diff)
downloadgentoo-75d1d012b2c465e8c8a0768cc4be9962c0df3b34.tar.gz
gentoo-75d1d012b2c465e8c8a0768cc4be9962c0df3b34.tar.bz2
gentoo-75d1d012b2c465e8c8a0768cc4be9962c0df3b34.zip
app-misc/cmatrix: Add USE=unicode
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Bug: https://github.com/abishekvashok/cmatrix/issues/57 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/cmatrix/cmatrix-2.0-r2.ebuild (renamed from app-misc/cmatrix/cmatrix-2.0-r1.ebuild)14
1 files changed, 11 insertions, 3 deletions
diff --git a/app-misc/cmatrix/cmatrix-2.0-r1.ebuild b/app-misc/cmatrix/cmatrix-2.0-r2.ebuild
index c691bbc100c9..e25ae2c50b2a 100644
--- a/app-misc/cmatrix/cmatrix-2.0-r1.ebuild
+++ b/app-misc/cmatrix/cmatrix-2.0-r2.ebuild
@@ -14,17 +14,25 @@ SRC_URI="https://github.com/abishekvashok/${PN}/archive/v${PV}.tar.gz -> ${P}.ta
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X"
+IUSE="X +unicode"
DEPEND="
- sys-libs/ncurses:0=
+ sys-libs/ncurses:0=[unicode?]
+"
+BDEPEND="
X? ( >=x11-apps/mkfontscale-1.2.0 )
"
-
RDEPEND="
${DEPEND}
"
+src_configure() {
+ mycmakeargs=(
+ -DCURSES_NEED_WIDE=$(usex unicode)
+ )
+ cmake_src_configure
+}
+
src_install() {
cmake_src_install
font_src_install