From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1CF91395E2 for ; Fri, 11 Nov 2016 20:07:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BC9EE0B6E; Fri, 11 Nov 2016 20:07:05 +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 23C7FE0B6E for ; Fri, 11 Nov 2016 20:07:05 +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 F068E340EFD for ; Fri, 11 Nov 2016 20:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE33D86E for ; Fri, 11 Nov 2016 20:07:01 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1478894818.007835f10f1c35e9da072186b5fca6f20560eb3d.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/qtcurve/, x11-themes/qtcurve/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch x11-themes/qtcurve/qtcurve-9999.ebuild X-VCS-Directories: x11-themes/qtcurve/files/ x11-themes/qtcurve/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 007835f10f1c35e9da072186b5fca6f20560eb3d X-VCS-Branch: master Date: Fri, 11 Nov 2016 20:07:01 +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: 7502d365-430b-4e4c-84fb-6d08adb3d652 X-Archives-Hash: 2ad00e750bcded751c4263b29e8c2275 commit: 007835f10f1c35e9da072186b5fca6f20560eb3d Author: Lars Wendler gentoo org> AuthorDate: Fri Nov 11 20:06:40 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Nov 11 20:06:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=007835f1 x11-themes/qtcurve: Added live ebuild based on work from seden overlay. Package-Manager: portage-2.3.2 .../files/qtcurve-9999-add_utils_include.patch | 10 +++ x11-themes/qtcurve/qtcurve-9999.ebuild | 94 ++++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch b/x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch new file mode 100644 index 00000000..5536937 --- /dev/null +++ b/x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch @@ -0,0 +1,10 @@ +--- a/qt4/style/qtcurve_plugin.cpp 2016-10-25 10:12:41.000000000 +0200 ++++ b/qt4/style/qtcurve_plugin.cpp 2016-10-25 10:21:32.446853060 +0200 +@@ -22,6 +22,7 @@ + + #include "qtcurve_plugin.h" + #include "qtcurve.h" ++#include "utils.h" + #include "config.h" + + #include diff --git a/x11-themes/qtcurve/qtcurve-9999.ebuild b/x11-themes/qtcurve/qtcurve-9999.ebuild new file mode 100644 index 00000000..b888456 --- /dev/null +++ b/x11-themes/qtcurve/qtcurve-9999.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils kde5-functions git-r3 + +DESCRIPTION="A set of widget styles for Qt and GTK2" +HOMEPAGE="https://quickgit.kde.org/?p=qtcurve.git" +EGIT_REPO_URI="git://anongit.kde.org/qtcurve" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="+X gtk nls plasma qt4 +qt5 test" +KEYWORDS="" + +REQUIRED_USE="gtk? ( X ) + || ( gtk qt4 qt5 ) + plasma? ( qt5 ) +" + +RDEPEND="X? ( + x11-libs/libX11 + x11-libs/libxcb + ) + gtk? ( x11-libs/gtk+:2 ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qtsvg:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + ) + plasma? ( + dev-qt/qtprintsupport:5 + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + ) + !x11-themes/gtk-engines-qtcurve" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${P/_/}" + +DOCS=( AUTHORS ChangeLog.md README.md TODO.md ) + +#PATCHES=( +# "${FILESDIR}/${P}-add_utils_include.patch" +#) + +pkg_setup() { + # bug #498776 + if ! version_is_at_least 4.7 $(gcc-version) ; then + append-cxxflags -Doverride= + fi +} + +src_configure() { + local mycmakeargs + + mycmakeargs=( + -DQTC_QT4_ENABLE_KDE=OFF + -DQTC_QT4_ENABLE_KWIN=OFF + -DQTC_KDE4_DEFAULT_HOME=ON + -DENABLE_GTK2="$(usex gtk)" + -DENABLE_QT4="$(usex qt4)" + -DENABLE_QT5="$(usex qt5)" + -DENABLE_TEST="$(usex test)" + -DQTC_ENABLE_X11="$(usex X)" + -DQTC_INSTALL_PO="$(usex nls)" + -DQTC_QT5_ENABLE_KDE="$(usex plasma)" + ) + + cmake-utils_src_configure +}