From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A735159CA5 for ; Thu, 24 Mar 2016 14:43:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0671C21C024; Thu, 24 Mar 2016 14:43:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 275F321C024 for ; Thu, 24 Mar 2016 14:43:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E849340CEF for ; Thu, 24 Mar 2016 14:43:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C40E5872 for ; Thu, 24 Mar 2016 14:43:06 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1458830566.ea249af7ff21ac44a57c214a44f636a9077800d9.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/kcm-fcitx/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/kcm-fcitx/kcm-fcitx-0.4.9999.ebuild app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild X-VCS-Directories: app-i18n/kcm-fcitx/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: ea249af7ff21ac44a57c214a44f636a9077800d9 X-VCS-Branch: master Date: Thu, 24 Mar 2016 14:43:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c6d61874-94c6-4d12-90fc-2e32d06042f8 X-Archives-Hash: f41c9fd8a7d2235163d97304be2110d7 commit: ea249af7ff21ac44a57c214a44f636a9077800d9 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Wed Mar 23 22:52:41 2016 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Mar 24 14:42:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea249af7 app-i18n/kcm-fcitx: Add live ebuilds. app-i18n/kcm-fcitx/kcm-fcitx-0.4.9999.ebuild | 48 ++++++++++++++++++++++ app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild | 61 ++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) diff --git a/app-i18n/kcm-fcitx/kcm-fcitx-0.4.9999.ebuild b/app-i18n/kcm-fcitx/kcm-fcitx-0.4.9999.ebuild new file mode 100644 index 0000000..27997fb --- /dev/null +++ b/app-i18n/kcm-fcitx/kcm-fcitx-0.4.9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit cmake-utils xdg + +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/fcitx/kcm-fcitx" + EGIT_BRANCH="kde4" +fi + +DESCRIPTION="KDE configuration module for Fcitx" +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/kcm-fcitx" +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + SRC_URI="" +else + SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz" +fi + +LICENSE="GPL-2+" +SLOT="4" +KEYWORDS="" +IUSE="minimal" + +RDEPEND=">=app-i18n/fcitx-4.2.8[dbus,qt4] + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + kde-base/kdelibs:4 + virtual/libintl + x11-libs/libX11 + x11-libs/libxkbfile" +DEPEND="${RDEPEND} + dev-util/automoc + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + if use minimal; then + cmake_comment_add_subdirectory po + fi + + cmake-utils_src_prepare +} diff --git a/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild b/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild new file mode 100644 index 0000000..a3c393e --- /dev/null +++ b/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit cmake-utils + +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/fcitx/kcm-fcitx" +fi + +DESCRIPTION="KDE configuration module for Fcitx" +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/kcm-fcitx" +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + SRC_URI="" +else + SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz" +fi + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="" +IUSE="" + +RDEPEND=">=app-i18n/fcitx-4.2.8[dbus] + app-i18n/fcitx-qt5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + kde-frameworks/kcmutils:5 + kde-frameworks/kcoreaddons:5 + kde-frameworks/ki18n:5 + kde-frameworks/kio:5 + kde-frameworks/kitemviews:5 + kde-frameworks/knewstuff:5 + kde-frameworks/kwidgetsaddons:5 + virtual/libintl + !${CATEGORY}/${PN}:4[-minimal(-)]" +DEPEND="${RDEPEND} + kde-frameworks/extra-cmake-modules:5 + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + # x11-libs/libxkbfile only used by kbd-layout-viewer not ported to Qt 5 / KDE 5. + sed -e "/find_package(XkbFile REQUIRED)/d" -i CMakeLists.txt + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DKDE_INSTALL_USE_QT_SYS_PATHS=yes + ) + + cmake-utils_src_configure +}