From 17dc51d1b0cf4b9e18155252840cf9eb6a52fdf8 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Fri, 15 Sep 2017 20:20:05 +1000 Subject: x11-libs/libyui: version bump 3.3.3 Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- x11-libs/libyui/Manifest | 1 + x11-libs/libyui/libyui-3.3.3.ebuild | 45 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 x11-libs/libyui/libyui-3.3.3.ebuild (limited to 'x11-libs/libyui') diff --git a/x11-libs/libyui/Manifest b/x11-libs/libyui/Manifest index c85a74de8f9d..aca8ab13c136 100644 --- a/x11-libs/libyui/Manifest +++ b/x11-libs/libyui/Manifest @@ -1,2 +1,3 @@ DIST libyui-3.0.13.tar.gz 204028 SHA256 aa3d961f4424365efdfffd4de1facdcd870570890681ebc9e59d16ea3687e44f SHA512 b698c4d44d9fa1d888b52f8d5e2216ff4a490ef97c153fac52674a237527807140663d87ceac7b36b0c6092e9035eaec7bfe7a2e1e93922de106873130a69c66 WHIRLPOOL a7c01af68f800e1f27ce5631c0b34ea35d3f82c3d173caea1516887de9bef557662ce0e577daa6ffb2003070adac40f958c7f3dd9c64d32b46fc11d4fed72b15 DIST libyui-3.2.5.tar.gz 218517 SHA256 0fa6bc8f226ff74c5658fea27dfea532ca1c3199bd4ed9f70b3c1bb76cca5387 SHA512 174ec6893f749bc81495c2ee620e8c7d85e9cdb61db08d4f7d800c13306eb76e0f40d20a1eafeb579344b35d99f9735b65e63525ddd804cbe30ab7f4c18bec43 WHIRLPOOL 4bd63127753f329b4e8a8d8937c80b61eecdc1d634d2985e0f97d0d5497896c853042af319721d9c86ffddfe7802f2e4ef3c41f650d30428d7c5dfd91caa8ecd +DIST libyui-3.3.3.tar.gz 230452 SHA256 37b0ccd93f7226248cd228a669f5f61ced5f615d17e9fb88db46470213b948f2 SHA512 1db31218703c90e7b8b877b613997e0984275a0923c7837c6e813626c0037d56d524168e0f56e8ca36561c1af5480a0f379e8f87fbc4a380570a6d9ab336977f WHIRLPOOL c6e0d163a2881c289a592d9153d28157298e1fb9c50e122771338d719ace38356087531f1f1ef5586308efb0c44a2cde5eb2660e205346863da6fcc537205ab2 diff --git a/x11-libs/libyui/libyui-3.3.3.ebuild b/x11-libs/libyui/libyui-3.3.3.ebuild new file mode 100644 index 000000000000..66ac31371916 --- /dev/null +++ b/x11-libs/libyui/libyui-3.3.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="UI abstraction library" +HOMEPAGE="https://github.com/libyui/libyui" +SRC_URI="https://github.com/libyui/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/6" +KEYWORDS="~amd64 ~x86" +IUSE="gtk ncurses qt5 static-libs" + +# Only Boost headers are needed +DEPEND="dev-libs/boost" +PDEPEND=" + gtk? ( x11-libs/libyui-gtk:${SLOT} ) + ncurses? ( x11-libs/libyui-ncurses:${SLOT} ) + qt5? ( x11-libs/libyui-qt:${SLOT} ) +" + +REQUIRED_USE="|| ( gtk ncurses qt5 )" + +src_prepare() { + cp 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=( + -DDOC_DIR="${EPREFIX%/}/usr/share/doc/${PF}" + -DENABLE_STATIC=$(usex static-libs) + -DENABLE_WERROR=OFF + -DRESPECT_FLAGS=ON + ) + cmake-utils_src_configure +} -- cgit v1.2.3-65-gdbad