diff options
author | 2020-08-24 02:19:43 +0200 | |
---|---|---|
committer | 2020-08-24 02:30:18 +0200 | |
commit | b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce (patch) | |
tree | a851121ac5b22e6e3a2cca19191484f3accda459 /x11-themes | |
parent | mail-client/kbiff: Drop 3.8 (diff) | |
download | kde-sunset-b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce.tar.gz kde-sunset-b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce.tar.bz2 kde-sunset-b3a7f562d03d3ae9be2ed67f0e8cec9bfe3333ce.zip |
x11-themes/qtcurve: Import 1.9.0-r1 and re-enable Qt4 support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/qtcurve/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/qtcurve/qtcurve-1.9.0-r1.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/Manifest b/x11-themes/qtcurve/Manifest index 493b55f4..39797c82 100644 --- a/x11-themes/qtcurve/Manifest +++ b/x11-themes/qtcurve/Manifest @@ -1,2 +1,3 @@ DIST QtCurve-KDE3-0.69.1.tar.bz2 130133 SHA256 93b7537e85c338b0b4ff3214dd78cad00ea4ec361f5a95516a403a4bb6ff915c DIST QtCurve-KDE3-1.8.5.tar.bz2 164800 SHA256 680a57b6124064df0674863a3a2a13642d81f508b29db58bff7255ea5e189048 SHA512 eb88f79462ad491240cec32475419a8a7b84b06a0daff3a323a087fe11dbc09f1b24b14deed2f2bcb179a9a22f9a715342e6c67b092644f5da47065574bd125d WHIRLPOOL 1de8d58705038a849a1af3bf1feaa508464d652b73b397ddd600f10b9758f4dc9f83025b2e965a478c8200208b313aa78025b29dc5350b79cce77b8f82a0b86c +DIST qtcurve-1.9.0.tar.gz 801675 BLAKE2B ed8d490b6e00e527f7da62c1fb676072ed3d75e50e14ae57e7807e7a9bd37f10a7b6b29e062ac05e02507c19be13ac3d003ea240fd00cff27bc74938a216a3e0 SHA512 a158f0880a2dc657e5f14366e046b18f0fe9d9983d1e1b243417f26987f6e69612c83f8b69293ae9036361adf67833b296564750f0f4cc0f405604f628dbff66 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 +} |