summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Hrusecky <miska@gentoo.org>2016-06-16 22:03:47 +0200
committerMichal Hrusecky <miska@gentoo.org>2016-06-16 22:04:14 +0200
commit87e27e60648c611b160ae82542bc0ae2669e0b8d (patch)
tree4c24cdc7e48fb1259e7e79e187c35c94bd01ec1d /x11-libs
parentx11-libs/libyui-qt: Update to the latest upstream version 2.46.21 (diff)
downloadgentoo-87e27e60648c611b160ae82542bc0ae2669e0b8d.tar.gz
gentoo-87e27e60648c611b160ae82542bc0ae2669e0b8d.tar.bz2
gentoo-87e27e60648c611b160ae82542bc0ae2669e0b8d.zip
x11-libs/libyui-ncurses: Update to the latest upstream version 2.47.6
Also add := to ncurses dependency Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libyui-ncurses/Manifest1
-rw-r--r--x11-libs/libyui-ncurses/libyui-ncurses-2.46.4.ebuild4
-rw-r--r--x11-libs/libyui-ncurses/libyui-ncurses-2.47.6.ebuild49
3 files changed, 52 insertions, 2 deletions
diff --git a/x11-libs/libyui-ncurses/Manifest b/x11-libs/libyui-ncurses/Manifest
index a6cf188e5346..dbf6daa697d7 100644
--- a/x11-libs/libyui-ncurses/Manifest
+++ b/x11-libs/libyui-ncurses/Manifest
@@ -1 +1,2 @@
DIST libyui-ncurses-2.46.4.tar.gz 181155 SHA256 3b2ec425277f5d4658c3318339076b72b9ee5e229569014ad69fd99948d8dec9 SHA512 9e03aa29ea7660c20d4ce36b7ebcac02af152185af3e91650d0d59379d3b2779515aa0b2325155a4eaaa02a1addc2ac25cf8a13d0e67a32fe94191da06c1b483 WHIRLPOOL fac47b00f9a8fe7c0293dd89f5cc6949104d4ee910487ef55cf0f323724d8079da5b880c8f8f99ba298fa385bc866a3377d21c198e52215d4b22d0d1df72d2f7
+DIST libyui-ncurses-2.47.6.tar.gz 188365 SHA256 fdec4c7ac4b67ade9b7490988ab4e7be553707a77d35966d92f5d729bc8d0132 SHA512 c11b4ac6e7d2e5fce52e39abbea5c9c280128071802ee925c00560642cb03e734393b348dc57d3aaff29993b36cdbc371f5766839640162a6e1310810c66e343 WHIRLPOOL 77c3bccf34d88cec96f18a0638ed9476e50930c780ebb974657c9ee268d94813d4e5a9993ae22c6da1062968ce4d46224b6168b5b4a3e1c4a44fd483281772ff
diff --git a/x11-libs/libyui-ncurses/libyui-ncurses-2.46.4.ebuild b/x11-libs/libyui-ncurses/libyui-ncurses-2.46.4.ebuild
index 50385b22ea55..c487c0cf3876 100644
--- a/x11-libs/libyui-ncurses/libyui-ncurses-2.46.4.ebuild
+++ b/x11-libs/libyui-ncurses/libyui-ncurses-2.46.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
-RDEPEND="sys-libs/ncurses
+RDEPEND="sys-libs/ncurses:=
x11-libs/libyui:${SLOT}
"
# Only Boost headers are needed
diff --git a/x11-libs/libyui-ncurses/libyui-ncurses-2.47.6.ebuild b/x11-libs/libyui-ncurses/libyui-ncurses-2.47.6.ebuild
new file mode 100644
index 000000000000..accabff6543a
--- /dev/null
+++ b/x11-libs/libyui-ncurses/libyui-ncurses-2.47.6.ebuild
@@ -0,0 +1,49 @@
+# 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 - ncurses plugin"
+HOMEPAGE="https://github.com/libyui/libyui-ncurses"
+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="sys-libs/ncurses:=
+ x11-libs/libyui:${SLOT}
+"
+# Only Boost headers are needed
+DEPEND="${RDEPEND}
+ dev-libs/boost"
+
+PATCHES=( "${FILESDIR}/${PN}-2.46.4-tinfo.patch" )
+
+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
+}