summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Hrusecky <miska@gentoo.org>2016-06-16 21:54:22 +0200
committerMichal Hrusecky <miska@gentoo.org>2016-06-16 22:04:14 +0200
commit8dd40ba7daa5d9885833c490756cb05c36a67076 (patch)
tree3e28ff9ccc12a5bdac5c6f02eb08c0a07c65a064 /x11-libs/libyui-qt
parentx11-libs/libyui-gtk: Update to the latest upstream version 2.44.7 (diff)
downloadgentoo-8dd40ba7daa5d9885833c490756cb05c36a67076.tar.gz
gentoo-8dd40ba7daa5d9885833c490756cb05c36a67076.tar.bz2
gentoo-8dd40ba7daa5d9885833c490756cb05c36a67076.zip
x11-libs/libyui-qt: Update to the latest upstream version 2.46.21
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'x11-libs/libyui-qt')
-rw-r--r--x11-libs/libyui-qt/Manifest1
-rw-r--r--x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-libs/libyui-qt/Manifest b/x11-libs/libyui-qt/Manifest
index 6f099d82b351..fa2598d22d22 100644
--- a/x11-libs/libyui-qt/Manifest
+++ b/x11-libs/libyui-qt/Manifest
@@ -1 +1,2 @@
DIST libyui-qt-2.44.0.tar.gz 161145 SHA256 2414c91a1b9823191cdddeedefbb994c4a3343baaab6ee61e358a80ce9523d03 SHA512 4bc5e96a663fda5ded2a7d4c75ffef51d1d30bf2f907e758f99570e31d62f7cb90a5441dc74790cbd89f8bf2542768186fda2f3a4bbcf42e2089ced7024ad53b WHIRLPOOL a468a7a1036a4ce6d20ddfc597a657411909740bf33630058d54dc7ac22b26471377df075db7b06932d3b77e5eaafa51e88b07f46ba5db11211597b40498cfdd
+DIST libyui-qt-2.46.21.tar.gz 167324 SHA256 0c0e622fa796169b9feaed4512586469b6553e80ca5186c9794514c145fc7b5f SHA512 715154efd9fa2753f528e5a809fd2a3c635751b9bee3d511e396051b04a55086446510dbec5c70e753b1926c35faf84aaf05ea92a2a7f089f9b95dce9ee1a77f WHIRLPOOL 55539cee83f6a36a9f13c25c02bef27e65929f8129e32a1ee543b1bbd81826688cb52d5756271f0e4c594947ee37ee975082d112a77a44cfa652bded05f281de
diff --git a/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild b/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild
new file mode 100644
index 000000000000..3f4e8f9feddc
--- /dev/null
+++ b/x11-libs/libyui-qt/libyui-qt-2.46.21.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="UI abstraction library - Qt plugin"
+HOMEPAGE="https://github.com/libyui/libyui-qt"
+SRC_URI="https://github.com/libyui/${PN}/archive/${PN}/master/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/6"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="static-libs"
+
+RDEPEND="
+ dev-qt/qtgui:5
+ media-libs/freetype
+ x11-libs/libX11
+ x11-libs/libyui:${SLOT}
+"
+# Only Boost headers are needed
+# QtSvg headers only required, no linking
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ dev-qt/qtx11extras:5
+ dev-qt/qtsvg:5"
+
+S="${WORKDIR}/${PN}-${PN}-master-${PV}"
+
+src_prepare() {
+ cp "${EPREFIX}/usr/share/libyui/buildtools/CMakeLists.common" CMakeLists.txt || die
+
+ # TODO: set proper docs deps and USE flag for building them
+ sed -i -e '/SET_AUTODOCS/d' CMakeLists.txt || die 'sed on CMakeLists.txt failed'
+ sed -i -e 's/src examples/src/' PROJECTINFO.cmake || die 'sed on PROJECTINFO.cmake failed'
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_EXAMPLES=OFF
+ -DENABLE_WERROR=OFF
+ -DDOC_DIR="${EPREFIX}/usr/share/doc/${P}"
+ -DRESPECT_FLAGS=ON
+ $(cmake-utils_use_enable static-libs STATIC)
+ )
+ cmake-utils_src_configure
+}