2020-07-06 00:01:51 +03:00
|
|
|
# Copyright 2010-2020 Gentoo Authors
|
2017-09-02 20:43:02 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2019-10-07 20:29:57 +03:00
|
|
|
EAPI="7"
|
2017-09-02 20:43:02 +03:00
|
|
|
|
2020-11-04 11:12:12 +03:00
|
|
|
inherit cmake
|
2017-09-02 20:43:02 +03:00
|
|
|
|
2017-09-28 11:43:21 +03:00
|
|
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
2017-09-02 20:43:02 +03:00
|
|
|
inherit git-r3
|
|
|
|
|
2020-07-06 00:01:51 +03:00
|
|
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-configtool"
|
2017-09-02 20:43:02 +03:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="GTK+ GUI configuration tool for Fcitx"
|
2020-07-06 00:01:51 +03:00
|
|
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool"
|
2017-09-28 11:43:21 +03:00
|
|
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
2017-09-02 20:43:02 +03:00
|
|
|
SRC_URI=""
|
|
|
|
else
|
|
|
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
|
|
|
fi
|
|
|
|
|
2017-10-24 17:33:01 +03:00
|
|
|
LICENSE="GPL-2+ LGPL-2.1+"
|
2017-09-19 09:19:22 +03:00
|
|
|
SLOT="4"
|
2017-09-02 20:43:02 +03:00
|
|
|
KEYWORDS=""
|
|
|
|
IUSE=""
|
|
|
|
|
2020-09-24 23:52:07 +03:00
|
|
|
BDEPEND="dev-libs/glib:2
|
|
|
|
virtual/pkgconfig"
|
2019-10-07 20:29:57 +03:00
|
|
|
DEPEND=">=app-i18n/fcitx-4.2.9:4
|
2017-09-02 20:43:02 +03:00
|
|
|
app-text/iso-codes
|
|
|
|
dev-libs/glib:2
|
|
|
|
x11-libs/gtk+:3"
|
2019-10-07 20:29:57 +03:00
|
|
|
RDEPEND="${DEPEND}"
|
2017-09-02 20:43:02 +03:00
|
|
|
|
|
|
|
DOCS=()
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
|
|
|
-DENABLE_GTK2=OFF
|
|
|
|
-DENABLE_GTK3=ON
|
|
|
|
)
|
|
|
|
|
2020-11-04 11:12:12 +03:00
|
|
|
cmake_src_configure
|
2017-09-02 20:43:02 +03:00
|
|
|
}
|