public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde-sunset:master commit in: x11-themes/qtcurve/
Date: Mon, 24 Aug 2020 00:53:11 +0000 (UTC)	[thread overview]
Message-ID: <1598229018.b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce.asturm@gentoo> (raw)

commit:     b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 00:19:43 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 00:30:18 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=b3a7f562

x11-themes/qtcurve: Import 1.9.0-r1 and re-enable Qt4 support

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild | 99 ++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

diff --git a/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild
new file mode 100644
index 00000000..7bff3227
--- /dev/null
+++ b/x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit cmake-utils kde.org
+
+DESCRIPTION="Widget styles for Qt and GTK2"
+HOMEPAGE="https://invent.kde.org/system/qtcurve"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="gtk nls plasma qt4 +qt5 test +X"
+
+if [[ ${KDE_BUILD_TYPE} = release ]] ; then
+	SRC_URI="https://github.com/KDE/qtcurve/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86"
+	S="${WORKDIR}/${P/_/-}"
+fi
+
+REQUIRED_USE="gtk? ( X )
+	|| ( gtk qt4 qt5 )
+	plasma? ( qt5 )
+"
+
+BDEPEND="
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+	plasma? ( >=kde-frameworks/extra-cmake-modules-${KFMIN}:5 )
+"
+DEPEND="
+	gtk? ( x11-libs/gtk+:2 )
+	plasma? (
+		>=dev-qt/qtprintsupport-${QTMIN}:5
+		>=kde-frameworks/frameworkintegration-${KFMIN}:5
+		>=kde-frameworks/karchive-${KFMIN}:5
+		>=kde-frameworks/kcompletion-${KFMIN}:5
+		>=kde-frameworks/kconfig-${KFMIN}:5
+		>=kde-frameworks/kconfigwidgets-${KFMIN}:5
+		>=kde-frameworks/kcoreaddons-${KFMIN}:5
+		>=kde-frameworks/kdelibs4support-${KFMIN}:5
+		>=kde-frameworks/kguiaddons-${KFMIN}:5
+		>=kde-frameworks/ki18n-${KFMIN}:5
+		>=kde-frameworks/kiconthemes-${KFMIN}:5
+		>=kde-frameworks/kio-${KFMIN}:5
+		>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+		>=kde-frameworks/kwindowsystem-${KFMIN}:5
+		>=kde-frameworks/kxmlgui-${KFMIN}:5
+	)
+	qt4? (
+		dev-qt/qtcore:4
+		dev-qt/qtdbus:4
+		dev-qt/qtgui:4
+		dev-qt/qtsvg:4
+	)
+	qt5? (
+		>=dev-qt/qtdbus-${QTMIN}:5
+		>=dev-qt/qtgui-${QTMIN}:5
+		>=dev-qt/qtsvg-${QTMIN}:5
+		>=dev-qt/qtwidgets-${QTMIN}:5
+		X? ( >=dev-qt/qtx11extras-${QTMIN}:5 )
+	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libxcb
+	)
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT+=" test"
+
+DOCS=( AUTHORS ChangeLog.md README.md TODO.md )
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.9.0-build_testing.patch"
+	"${FILESDIR}/${PN}-1.9.0-no-X-buildfix.patch"
+	"${FILESDIR}/${PN}-1.9.0-gcc9.patch"
+	"${FILESDIR}/${PN}-1.9.0-libreoffice-crashfix.patch"
+	"${FILESDIR}/${PN}-1.9.0-qt-5.15.patch"
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DLIB_INSTALL_DIR="$(get_libdir)"
+		-DQTC_QT4_ENABLE_KDE=OFF
+		-DQTC_KDE4_DEFAULT_HOME=ON
+		-DENABLE_GTK2="$(usex gtk)"
+		-DENABLE_QT4="$(usex qt4)"
+		-DENABLE_QT5="$(usex qt5)"
+		-DBUILD_TESTING="$(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:[~2020-08-24  0:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24  0:53 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-24  0:53 [gentoo-commits] proj/kde-sunset:master commit in: x11-themes/qtcurve/ Andreas Sturmlechner
2013-11-06 21:59 Lars Wendler

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=1598229018.b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce.asturm@gentoo \
    --to=asturm@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