summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Hrusecky <miska@gentoo.org>2016-06-16 21:42:03 +0200
committerMichal Hrusecky <miska@gentoo.org>2016-06-16 22:04:14 +0200
commit9bd4aac8fc040099df26191a00a962d4da8b9483 (patch)
treed14d52cea11668288f321c946d49157b2d10334e /x11-libs
parentx11-libs/libyui: Update to the latest upstream version 3.2.5 (diff)
downloadgentoo-9bd4aac8fc040099df26191a00a962d4da8b9483.tar.gz
gentoo-9bd4aac8fc040099df26191a00a962d4da8b9483.tar.bz2
gentoo-9bd4aac8fc040099df26191a00a962d4da8b9483.zip
x11-libs/libyui-gtk: Update to the latest upstream version 2.44.7
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libyui-gtk/Manifest1
-rw-r--r--x11-libs/libyui-gtk/libyui-gtk-2.44.7.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/x11-libs/libyui-gtk/Manifest b/x11-libs/libyui-gtk/Manifest
index 35342c41881..2b06c6ee32b 100644
--- a/x11-libs/libyui-gtk/Manifest
+++ b/x11-libs/libyui-gtk/Manifest
@@ -1 +1,2 @@
DIST libyui-gtk-2.44.5.tar.gz 291294 SHA256 934e91fa9cecfd932b71b37a29b485236162799d31ebb9d39ca5c14c845de94b SHA512 8493d46ea78b8e6cd28275c4c2a051c6eaec14d3cbfb20a6bb18346fe9e899c7c9ce4a156fb215c986baf69d398ccab00c3be017d5a30594cdfbb77df4e1e882 WHIRLPOOL 8bb61042b5c4ea9b3bccd4f14c47c258db46d5390e72a4813225cf59a2224ad664e1817a548530e76c75e924f60d7483ee1e7aef8eddf71a513251803a0cb26e
+DIST libyui-gtk-2.44.7.tar.gz 292368 SHA256 329e134a7102d87d32c9c196812ce62367bf56e58474c1f3e75983b3f281a92d SHA512 d7031205f32bef3524b97c06d79d0dbebb6bfdd6071f03968b5862959f060f63d4241b56bca2f655a96281e32a9c160f7090ab96b7a32c7d00c31f93e9d26c4e WHIRLPOOL 1cdc7b269b8bfa5d053cd9ab54f7c7ae6faf2c8d92e6419a1f515cabe206ab9a44bc08ab91cafe9b298de63ca632ff91a12b0ecf31e61a0280cf9f4096de7dab
diff --git a/x11-libs/libyui-gtk/libyui-gtk-2.44.7.ebuild b/x11-libs/libyui-gtk/libyui-gtk-2.44.7.ebuild
new file mode 100644
index 00000000000..5634a28f324
--- /dev/null
+++ b/x11-libs/libyui-gtk/libyui-gtk-2.44.7.ebuild
@@ -0,0 +1,48 @@
+# 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 - GTK plugin"
+HOMEPAGE="https://github.com/libyui/libyui-gtk"
+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="
+ x11-libs/gtk+:3
+ x11-libs/libyui:${SLOT}
+"
+# Only Boost headers are needed
+DEPEND="${RDEPEND}
+ dev-libs/boost"
+
+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
+}