* [gentoo-commits] repo/gentoo:master commit in: app-misc/vcontrold/files/, app-misc/vcontrold/
@ 2018-10-07 17:18 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2018-10-07 17:18 UTC (permalink / raw
To: gentoo-commits
commit: 7a92c1ba02485e71c659606483b103b2905f4836
Author: Tobias Leupold <tobias.leupold <AT> gmx <DOT> de>
AuthorDate: Sun Oct 7 14:15:06 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 7 17:18:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a92c1ba
Version bump: app-misc/vcontrold-0.98.6
Signed-off-by: Tobias Leupold <tobias.leupold <AT> gmx.de>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/9989
app-misc/vcontrold/Manifest | 1 +
app-misc/vcontrold/files/man_generation.patch | 22 ++++++++++++++
app-misc/vcontrold/vcontrold-0.98.6.ebuild | 44 +++++++++++++++++++++++++++
3 files changed, 67 insertions(+)
diff --git a/app-misc/vcontrold/Manifest b/app-misc/vcontrold/Manifest
index 7c116c62837..358e60cebaa 100644
--- a/app-misc/vcontrold/Manifest
+++ b/app-misc/vcontrold/Manifest
@@ -1 +1,2 @@
DIST vcontrold-0.98.5.tar.gz 86684 BLAKE2B 07ed2c932b9f1c03410cbd6c23cfbfb7bf1aeaff027f597fb6f05a6b61c647f229a75b5a87d893a66c6b8e917595083d193c5da8585c6b9546d12c5867ca1a1b SHA512 b94dbb09ffe274e0a0a0ac4948365ed3213f221dbc00ed2b2adec2ac5a632e293686d62a07575454b3d11b1b8e4e058625a067461996dd720c2f84066d57e60e
+DIST vcontrold-0.98.6.tar.gz 86999 BLAKE2B bb2933c166793a851fc9b3292cdf00228e0f5383ab6cfce66150383103e7c6b54661ef8c7f0bb177aecedef9f7ca7d3e64a20c1af106d45a6c5a1f2a32bdd971 SHA512 74c17dc83af456e9fbece44a00d775d6e474b1de76993da69f5cb897658be13a83ef2abc3fe75f571f1d52120e2ddade08079336a338af81eae8557b3b357481
diff --git a/app-misc/vcontrold/files/man_generation.patch b/app-misc/vcontrold/files/man_generation.patch
new file mode 100644
index 00000000000..81b8941d00a
--- /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 00000000000..cd6ff144ee0
--- /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
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-07 17:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-07 17:18 [gentoo-commits] repo/gentoo:master commit in: app-misc/vcontrold/files/, app-misc/vcontrold/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox