summaryrefslogtreecommitdiff
path: root/app-office/lyx/lyx-2.2.3.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
commita8b0d35ab742f31538d515dea39716e566d533c0 (patch)
tree40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /app-office/lyx/lyx-2.2.3.ebuild
parent8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff)
gentoo resync : 06.01.2018
Diffstat (limited to 'app-office/lyx/lyx-2.2.3.ebuild')
-rw-r--r--app-office/lyx/lyx-2.2.3.ebuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/app-office/lyx/lyx-2.2.3.ebuild b/app-office/lyx/lyx-2.2.3.ebuild
index fdc8702116dc..8463d9662259 100644
--- a/app-office/lyx/lyx-2.2.3.ebuild
+++ b/app-office/lyx/lyx-2.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,14 +19,7 @@ SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/${MY_P}.tar.xz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
-IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant +qt4 qt5"
-
-LANGS="ar ca cs da de el en es eu fi fr gl he hu ia id it ja nb nn pl pt_BR pt_PT ro ru sk sr sv tr uk zh_CN zh_TW"
-
-for X in ${LANGS}; do
- IUSE="${IUSE} linguas_${X}"
-done
-
+IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant +qt4 qt5 l10n_he"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
qt4? ( !qt5 )
qt5? ( !qt4 )"
@@ -68,7 +61,7 @@ RDEPEND="${COMMONDEPEND}
app-text/unrtf
dev-tex/html2latex
)
- linguas_he? ( dev-tex/culmus-latex )
+ l10n_he? ( dev-tex/culmus-latex )
docbook? ( app-text/sgmltools-lite )
dot? ( media-gfx/graphviz )
dia? ( app-office/dia )
@@ -126,7 +119,7 @@ src_configure() {
src_install() {
default
- if use linguas_he ; then
+ if use l10n_he ; then
echo "\bind_file cua" > "${T}"/hebrew.bind
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
@@ -169,7 +162,7 @@ pkg_postinst() {
fi
# instructions for RTL support. See also bug 168331.
- if use linguas_he || use linguas_ar; then
+ if use l10n_he || has he ${LINGUAS} || has ar ${LINGUAS} ; then
elog
elog "Enabling RTL support in LyX:"
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"