diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-17 11:05:42 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-17 11:05:42 +0200 |
commit | 31de42637219644118151c72f274710a2a48fea0 (patch) | |
tree | 514379ab5fab187b703fb3d4715154c50a20107e /x11-themes | |
parent | app-shells/zsh: Added alternate SRC_URI for old releases. (diff) | |
download | gentoo-31de42637219644118151c72f274710a2a48fea0.tar.gz gentoo-31de42637219644118151c72f274710a2a48fea0.tar.bz2 gentoo-31de42637219644118151c72f274710a2a48fea0.zip |
x11-themes/qtcurve: Bump to version 1.9.0
This should not be confused with earlier 1.9.0/1.9.1 upstream
release tags. They were done by accident.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/qtcurve/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/qtcurve/qtcurve-1.9.0.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/Manifest b/x11-themes/qtcurve/Manifest index a55a00466712..122befb83819 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.0_rc1.tar.gz 800845 BLAKE2B a63049086d967bb755d4f071ac4a5058a679d4d2914855b98e82763cbd9a22cdc6d75afb6ddb15b7e24a55e8e248b8df0a5cb517fc9be7ef3b07881448c2b5be SHA512 c586c5c922dcc2a374bf9e3b3abb3e64dcb6299531615fe980b8eba7d2e5a68038ec2eafae24a0c0d4782b2e08984534723bb713386d5119fa8016b9fbdd436e diff --git a/x11-themes/qtcurve/qtcurve-1.9.0.ebuild b/x11-themes/qtcurve/qtcurve-1.9.0.ebuild new file mode 100644 index 000000000000..3d7024de6a83 --- /dev/null +++ b/x11-themes/qtcurve/qtcurve-1.9.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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/v${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 ) +" + +COMMON_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) + $(add_qt_dep qtx11extras) + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + ) +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" +RDEPEND="${COMMON_DEPEND} + !x11-themes/gtk-engines-qtcurve +" + +DOCS=( AUTHORS ChangeLog.md README.md TODO.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.9.0-build_testing.patch" +) + +src_configure() { + local mycmakeargs=( + -DENABLE_QT4=OFF + -DLIB_INSTALL_DIR="$(get_libdir)" + -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 +} |