public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/qtcurve/, x11-themes/qtcurve/files/
Date: Fri, 11 Nov 2016 20:07:01 +0000 (UTC)	[thread overview]
Message-ID: <1478894818.007835f10f1c35e9da072186b5fca6f20560eb3d.polynomial-c@gentoo> (raw)

commit:     007835f10f1c35e9da072186b5fca6f20560eb3d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 20:06:40 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> 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 <qtcurve-utils/qtprops.h>

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
+}


             reply	other threads:[~2016-11-11 20:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 20:07 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-28 15:15 [gentoo-commits] repo/gentoo:master commit in: x11-themes/qtcurve/, x11-themes/qtcurve/files/ Michael Palimaka
2017-06-10 10:31 Michael Palimaka
2019-07-15 20:52 Andreas Sturmlechner
2020-05-31 21:38 Andreas Sturmlechner
2021-09-18 19:16 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478894818.007835f10f1c35e9da072186b5fca6f20560eb3d.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox