summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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