diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /app-misc/vcontrold | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'app-misc/vcontrold')
-rw-r--r-- | app-misc/vcontrold/Manifest | 3 | ||||
-rw-r--r-- | app-misc/vcontrold/files/man_generation.patch | 22 | ||||
-rw-r--r-- | app-misc/vcontrold/vcontrold-0.98.6.ebuild | 44 |
3 files changed, 69 insertions, 0 deletions
diff --git a/app-misc/vcontrold/Manifest b/app-misc/vcontrold/Manifest index ced57c0e75bf..727ff7b1eb11 100644 --- a/app-misc/vcontrold/Manifest +++ b/app-misc/vcontrold/Manifest @@ -1,4 +1,7 @@ +AUX man_generation.patch 1033 BLAKE2B 431deaaf6b7e48e975ac8c7bcee7bd144d610cd4e8bc2d7c472e26ac440f5a0c0b793026258ec75662eb6834e9542b0ca15f68c7619da9b6b9bf5e48da8baedd SHA512 67456107d42db0a2b584f3600c68ab9ba787b292198da0c69926c6b627b7f58b80b958513a3cfe537d8bc65fc03c3352b43886d433b6f06cc51bad24eb0da610 AUX vcontrold 157 BLAKE2B c8d08ae44343850d95e9b99626690a2f79403bb9bafef9ea6125376623c617c4fc1523beb4be4d3cfa50d67c3a7ef84e4b3042afcaf8211ea0276d4e519cd713 SHA512 10583cff05a3099d06ec13cd35711c93dece72de1ba05a2026d85b31cb6279136cbbffa00bcc162cba841232d2f8fe2babda463bdadb6b4f3e1f39ce95562401 DIST vcontrold-0.98.5.tar.gz 86684 BLAKE2B 07ed2c932b9f1c03410cbd6c23cfbfb7bf1aeaff027f597fb6f05a6b61c647f229a75b5a87d893a66c6b8e917595083d193c5da8585c6b9546d12c5867ca1a1b SHA512 b94dbb09ffe274e0a0a0ac4948365ed3213f221dbc00ed2b2adec2ac5a632e293686d62a07575454b3d11b1b8e4e058625a067461996dd720c2f84066d57e60e +DIST vcontrold-0.98.6.tar.gz 86999 BLAKE2B bb2933c166793a851fc9b3292cdf00228e0f5383ab6cfce66150383103e7c6b54661ef8c7f0bb177aecedef9f7ca7d3e64a20c1af106d45a6c5a1f2a32bdd971 SHA512 74c17dc83af456e9fbece44a00d775d6e474b1de76993da69f5cb897658be13a83ef2abc3fe75f571f1d52120e2ddade08079336a338af81eae8557b3b357481 EBUILD vcontrold-0.98.5.ebuild 906 BLAKE2B ede2a31302a852636266f97069eae207937bc630fa16db5f982ff676c453b1c2da0dfbf8d023197ebd4132f4a55ed16b8fa5bc6659d0cfe0ee7b9898416028f9 SHA512 cb627f085e3d3b9d0cce3c48a4e5e2f1e115c699414da293ff81783689fb7111e0f13d145901616cdd98526d7610a67fab72e0e9a051e07879e4b8371d77bd47 +EBUILD vcontrold-0.98.6.ebuild 950 BLAKE2B e8ec145ef75d4ff2d41fdcbd68e5d2f7ad541a84343cef2c3e8cd18d2830df3d5e08815b392990dfa901fa2bd3cf0a554a5d79e1721eda43a251f9cf9832ce84 SHA512 c22d888251d4f7c0e336436758c57c7d8da4e258af9c940c07819b864ebe5105af4903fd316cf33f733bab7a86a4f5eeaa1188652ebf82b0fe82bdbb11f24ec2 MISC metadata.xml 910 BLAKE2B eb06d0c4ca09ba13dc5ec335afc9da950429c650c05289608c90f91e0b7d550f97f6833752a8e71101fad25d2600dd24c522f9747ddad20c958b31c790769d36 SHA512 9eeeb42e54cff821d986407940d3a8e434ba3126708eef45f3234bbd8519dc7fd564f5bd6767d249370a796e7ed13d934b52b309305b4bcc03401c63a68a3d64 diff --git a/app-misc/vcontrold/files/man_generation.patch b/app-misc/vcontrold/files/man_generation.patch new file mode 100644 index 000000000000..81b8941d00a6 --- /dev/null +++ b/app-misc/vcontrold/files/man_generation.patch @@ -0,0 +1,22 @@ +diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt +index 65024b3..c3e3211 100644 +--- a/doc/man/CMakeLists.txt ++++ b/doc/man/CMakeLists.txt +@@ -14,14 +14,13 @@ if(VSIM) + endif(VSIM) + + foreach(MANUAL IN LISTS MANUALS) +- set(MANPAGE_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${MANUAL}.1.gz) ++ set(MANPAGE_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${MANUAL}.1) + set(MANPAGE_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${MANUAL}.rst) + add_custom_command(OUTPUT ${MANPAGE_OUTPUT} +- COMMAND ${RST2MAN} ${RST2MAN_OPTS} ${MANPAGE_SOURCE} | gzip > ${MANPAGE_OUTPUT} ++ COMMAND ${RST2MAN} ${RST2MAN_OPTS} ${MANPAGE_SOURCE} ${MANPAGE_OUTPUT} + DEPENDS ${MANPAGE_SOURCE} +- BYPRODUCTS ${MANPAGE_OUTPUT} + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +- COMMENT "Converting ${MANUAL}.rst from ReStructuredText into manpage ${MANUAL}.1.gz" ++ COMMENT "Converting ${MANUAL}.rst from ReStructuredText into manpage ${MANUAL}.1" + VERBATIM + ) + list(APPEND MANPAGES_LIST ${MANPAGE_OUTPUT}) diff --git a/app-misc/vcontrold/vcontrold-0.98.6.ebuild b/app-misc/vcontrold/vcontrold-0.98.6.ebuild new file mode 100644 index 000000000000..cd6ff144ee01 --- /dev/null +++ b/app-misc/vcontrold/vcontrold-0.98.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Daemon for communication with Viessmann Vito heatings" +HOMEPAGE="https://github.com/openv/vcontrold/" +SRC_URI="https://github.com/openv/vcontrold/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+man +vclient vsim" + +RDEPEND="dev-libs/libxml2" +DEPEND="${RDEPEND} + man? ( dev-python/docutils )" + +src_prepare() { + sed "s/@VERSION@/${PV}/" "src/version.h.in" \ + > "src/version.h" || die "Setting version failed" + eapply "${FILESDIR}"/man_generation.patch + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DMANPAGES="$(usex man)" + -DVCLIENT="$(usex vclient)" + -DVSIM="$(usex vsim)" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + doinitd "${FILESDIR}/vcontrold" + insinto /etc/vcontrold/ + doins -r xml +} |