summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-06-10 20:31:16 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-06-10 20:31:33 +1000
commit61394a4b59402c501f29d3945ce0468355deca7b (patch)
treec022d5dba05cf35d38668b1d6e5000b3955404d4 /x11-themes/qtcurve
parentdev-ml/ocaml-cstruct: fix manifest, bug #621380 (diff)
downloadgentoo-61394a4b59402c501f29d3945ce0468355deca7b.tar.gz
gentoo-61394a4b59402c501f29d3945ce0468355deca7b.tar.bz2
gentoo-61394a4b59402c501f29d3945ce0468355deca7b.zip
x11-themes/qtcurve: add snapshot
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-themes/qtcurve')
-rw-r--r--x11-themes/qtcurve/Manifest1
-rw-r--r--x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch10
-rw-r--r--x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild66
3 files changed, 77 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/Manifest b/x11-themes/qtcurve/Manifest
index 5270810d74b6..ea85cb9fd310 100644
--- a/x11-themes/qtcurve/Manifest
+++ b/x11-themes/qtcurve/Manifest
@@ -1,2 +1,3 @@
DIST qtcurve-1.8.18-dont_use_c++11.patch 1096 SHA256 09a9c42bd045dc9161881fdfe62b854d8577fc57e00a245ae03fb00a384cb82f SHA512 3228e4e5babd6a309fca02c4a103500acd913f40364e9dffd8238aa05377f4d31c3b2ba2c84427804de909712a2dd9b391e9f84206fca5146dbadc0d96183cf7 WHIRLPOOL 23f4e2d568e6a2331e2f34f8c3061c1f4171ef0b39e74a56da44c7d761626eefc2a5ff0fa39d4983d8c99742f753ec26dcc2287320aa8d43d5cab9a0d13f2245
DIST qtcurve-1.8.18.tar.gz 991195 SHA256 85997c9fa4a948945d719342f5993486aecf189d176408280bad9af8600873a6 SHA512 0ba7927db11d1f2d7bad08fa923d3f0f2167d89fdf0d09bf0b677ffd4f2cc547c22890c87b8f18495e73f8ce21ffbd40899792a512dd9e2a481b81a52abd84eb WHIRLPOOL d3c7dc0c08b42deafdd5fcd513dcb2d9ea9c52ade8090d6cc022315ac80b1ea196a8a763d9c96096ee645f45bc329b837f23987bf7229c718d2a5811a35c68d1
+DIST qtcurve-1.8.18_p20170601.tar.xz 450280 SHA256 aa06d2ac8d4b5b01d227db30555db81f0b6e31ad8fd46cc31abcb3e03589742a SHA512 bde72d2f03403bcdc420612fc83b5dd20c51a4e0cd99a32dfbbd5de4bd2da666a990298ce760642a6d857d74df5e5bef0c737bf49c329ed21ae7e6f2b9ab7080 WHIRLPOOL 2adf543a03b8e88718cd7382ea52be683a7940c6b5593303d8c006d6bc1a1d828b70ad1d24d04379297918fee649a4bed03320a7bceb07077476ed640d2b3f95
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch
new file mode 100644
index 000000000000..8b66c693c760
--- /dev/null
+++ b/x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch
@@ -0,0 +1,10 @@
+--- a/qt5/style/qtcurve.cpp
++++ b/qt5/style/qtcurve.cpp
+@@ -67,6 +67,7 @@
+ #include <QSettings>
+ #include <QPixmapCache>
+ #include <QTextStream>
++#include <QDebug>
+
+ #include "shadowhelper.h"
+ #include <qtcurve-utils/x11qtc.h>
diff --git a/x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild b/x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild
new file mode 100644
index 000000000000..5beaa57b806e
--- /dev/null
+++ b/x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A set of widget styles for Qt and GTK2"
+HOMEPAGE="https://github.com/QtCurve/qtcurve"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/QtCurve/qtcurve.git"
+else
+ SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="+X gtk nls +qt4 qt5"
+REQUIRED_USE="gtk? ( X )
+ || ( gtk qt4 qt5 )"
+
+RDEPEND="X? (
+ x11-libs/libxcb
+ x11-libs/libX11
+ )
+ 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/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ X? ( dev-qt/qtdbus:5
+ dev-qt/qtx11extras:5 )
+ )
+ !x11-themes/gtk-engines-qtcurve"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog.md README.md TODO.md )
+
+PATCHES=( "${FILESDIR}/${P}-include.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DQTC_ENABLE_X11=$(usex X)
+ -DQTC_INSTALL_PO=$(usex nls)
+ -DQTC_QT4_ENABLE_KDE=OFF
+ -DQTC_QT4_ENABLE_KWIN=OFF
+ -DQTC_QT5_ENABLE_KDE=OFF
+ -DENABLE_GTK2=$(usex gtk)
+ -DENABLE_QT4=$(usex qt4)
+ -DENABLE_QT5=$(usex qt5)
+ )
+ cmake-utils_src_configure
+}