summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2018-05-14 00:30:15 +0200
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2018-05-14 00:30:15 +0200
commit881ed5406190f4e3fc5a8295d3667c46a0cff26c (patch)
tree87e8ce0ca4fdf819fe3b240ec564b1f6f7971390
parentdev-qt: Import Qt 4.8.7 from Gentoo ebuild repository (diff)
downloadkde-sunset-881ed5406190f4e3fc5a8295d3667c46a0cff26c.tar.gz
kde-sunset-881ed5406190f4e3fc5a8295d3667c46a0cff26c.tar.bz2
kde-sunset-881ed5406190f4e3fc5a8295d3667c46a0cff26c.zip
app-i18n/ibus-qt: Import from Gentoo ebuild repository
Package-Manager: Portage-2.3.36, Repoman-2.3.9
-rw-r--r--app-i18n/ibus-qt/Manifest1
-rw-r--r--app-i18n/ibus-qt/files/ibus-qt-doc.patch11
-rw-r--r--app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild53
-rw-r--r--app-i18n/ibus-qt/metadata.xml11
4 files changed, 76 insertions, 0 deletions
diff --git a/app-i18n/ibus-qt/Manifest b/app-i18n/ibus-qt/Manifest
new file mode 100644
index 00000000..92d317c3
--- /dev/null
+++ b/app-i18n/ibus-qt/Manifest
@@ -0,0 +1 @@
+DIST ibus-qt-1.3.3.tar.gz 141523 BLAKE2B 641ec53005ccb3b14646986bb0df4b091b88bcd4a181c82050d596f1840361d49451fcc1382d3fab1f54e463c9b0426b4f8bfd86b8f53224cb9c04dd298d5c87 SHA512 825a32fec51f10f466efd4255743a12ae98af63bacd07d5dc04e18fab6b830501b04491146c1f8bc92edd93dbf8eaeb68cf71062ffdbf25c2970d807b655c80a
diff --git a/app-i18n/ibus-qt/files/ibus-qt-doc.patch b/app-i18n/ibus-qt/files/ibus-qt-doc.patch
new file mode 100644
index 00000000..dbc1e925
--- /dev/null
+++ b/app-i18n/ibus-qt/files/ibus-qt-doc.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -77,7 +77,7 @@
+ pkg_check_modules(IBUS REQUIRED ibus-1.0>=1.3.7)
+
+ # check doxygen
+-find_package(Doxygen REQUIRED)
++find_package(Doxygen)
+
+ # =====
+ # Define variables
diff --git a/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild b/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild
new file mode 100644
index 00000000..fb7b329d
--- /dev/null
+++ b/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils flag-o-matic
+
+DESCRIPTION="Qt IBus library and Qt input method plugin"
+HOMEPAGE="https://github.com/ibus/ibus/wiki"
+SRC_URI="https://github.com/ibus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND="app-i18n/ibus
+ dev-libs/icu:=
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ sys-apps/dbus
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+PATCHES=( "${FILESDIR}"/${PN}-doc.patch )
+
+src_configure() {
+ append-cxxflags -std=c++14
+
+ local mycmakeargs=(
+ -DLIBDIR=$(get_libdir)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc; then
+ emake -C "${BUILD_DIR}" docs
+ fi
+}
+
+src_install() {
+ if use doc; then
+ HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+ fi
+
+ cmake-utils_src_install
+}
diff --git a/app-i18n/ibus-qt/metadata.xml b/app-i18n/ibus-qt/metadata.xml
new file mode 100644
index 00000000..95866e22
--- /dev/null
+++ b/app-i18n/ibus-qt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ The Qt client for IBus. It provides a Qt immodule.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ibus/ibus-qt</remote-id>
+ </upstream>
+</pkgmetadata>