summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-09-26 15:38:11 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-09-26 15:50:37 +0200
commita58c03b802dc1df729d4271788441fe807937db7 (patch)
tree092c0ef971b4141607ff6821756c3e62c08dd2da /x11-themes/qtcurve
parentnet-libs/socket_wrapper: bump to v1.2.3 (diff)
downloadgentoo-a58c03b802dc1df729d4271788441fe807937db7.tar.gz
gentoo-a58c03b802dc1df729d4271788441fe807937db7.tar.bz2
gentoo-a58c03b802dc1df729d4271788441fe807937db7.zip
x11-themes/qtcurve: bump to v1.9.1
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'x11-themes/qtcurve')
-rw-r--r--x11-themes/qtcurve/Manifest1
-rw-r--r--x11-themes/qtcurve/qtcurve-1.9.1.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/Manifest b/x11-themes/qtcurve/Manifest
index 69b27ecedfcd..99a4caa51502 100644
--- a/x11-themes/qtcurve/Manifest
+++ b/x11-themes/qtcurve/Manifest
@@ -1 +1,2 @@
DIST qtcurve-1.9.0.tar.gz 801675 BLAKE2B ed8d490b6e00e527f7da62c1fb676072ed3d75e50e14ae57e7807e7a9bd37f10a7b6b29e062ac05e02507c19be13ac3d003ea240fd00cff27bc74938a216a3e0 SHA512 a158f0880a2dc657e5f14366e046b18f0fe9d9983d1e1b243417f26987f6e69612c83f8b69293ae9036361adf67833b296564750f0f4cc0f405604f628dbff66
+DIST qtcurve-1.9.1.tar.gz 800765 BLAKE2B 9becc6a80253f5937e9dcc53578ecf3658bd30beaf9272a200cb0de608b510c6b1ebe5e42f1e035593dd0e88483c19380f38a1e93ca4648c187225804958249e SHA512 27bec62ce0d8c4b0fcfebaf0ee91cea9dcdd97c0ef886175c296909ee790d983ff0661570fd0061851b8ee2ee663cbfac967355375e1b6f02757fdefeac69dd7
diff --git a/x11-themes/qtcurve/qtcurve-1.9.1.ebuild b/x11-themes/qtcurve/qtcurve-1.9.1.ebuild
new file mode 100644
index 000000000000..418fc5a6d0f9
--- /dev/null
+++ b/x11-themes/qtcurve/qtcurve-1.9.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_KDEINSTALLDIRS="false"
+KDE_AUTODEPS="false"
+inherit kde5
+
+DESCRIPTION="Widget styles for Qt and GTK2"
+HOMEPAGE="https://cgit.kde.org/qtcurve.git"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="+X gtk nls plasma +qt5 test"
+
+if [[ "${PV}" != 9999 ]] ; 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 qt5 )
+ plasma? ( qt5 )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+DEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ plasma? (
+ $(add_frameworks_dep frameworkintegration)
+ $(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)
+ $(add_qt_dep qtprintsupport)
+ )
+ qt5? (
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ X? ( $(add_qt_dep qtx11extras) )
+ )
+ 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"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR="$(get_libdir)"
+ -DENABLE_QT4=OFF
+ -DQTC_QT4_ENABLE_KDE=OFF
+ -DQTC_KDE4_DEFAULT_HOME=ON
+ -DENABLE_GTK2="$(usex gtk)"
+ -DENABLE_QT5="$(usex qt5)"
+ -DQTC_ENABLE_X11="$(usex X)"
+ -DQTC_INSTALL_PO="$(usex nls)"
+ -DQTC_QT5_ENABLE_KDE="$(usex plasma)"
+ )
+
+ kde5_src_configure
+}