summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-02-06 14:45:36 +0100
committerKarel Kočí <karel.koci@nic.cz>2020-02-06 14:45:36 +0100
commitb3b733c56106d126faf125a5a822f726938e8517 (patch)
tree373c5e8f568da6a9055ef677cfed25d663122f15
parentb61c8634deffddccee81f8e247a1292862f5411d (diff)
downloadgentoo-personal-overlay-b3b733c56106d126faf125a5a822f726938e8517.tar.gz
gentoo-personal-overlay-b3b733c56106d126faf125a5a822f726938e8517.tar.bz2
gentoo-personal-overlay-b3b733c56106d126faf125a5a822f726938e8517.zip
dev-libs/paho-mqtt: update to set uses
-rw-r--r--dev-libs/paho-mqtt/Manifest2
-rw-r--r--dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild12
2 files changed, 8 insertions, 6 deletions
diff --git a/dev-libs/paho-mqtt/Manifest b/dev-libs/paho-mqtt/Manifest
index 17eb060..f2dc9b1 100644
--- a/dev-libs/paho-mqtt/Manifest
+++ b/dev-libs/paho-mqtt/Manifest
@@ -1 +1 @@
-DIST v1.3.1.tar.gz 472789 BLAKE2B 75056377eb27e494de131ba5253e6b6118f59f3f793a83cd17c8a6abaa13a440239f57c898133fe615451ec23c3917045dfdac5fa98e9777af24388e34ff72da SHA512 d1af99e6d647ac75ae0831e9478d2bf0c0e83171f451707d01cec4de766d6dddd87ccb4e77600ecdbfde51ddd81e174fdd542cdb7baf90a7d9701e1101b8a67e
+DIST paho.mqtt.c-v1.3.1.tar.gz 472789 BLAKE2B 75056377eb27e494de131ba5253e6b6118f59f3f793a83cd17c8a6abaa13a440239f57c898133fe615451ec23c3917045dfdac5fa98e9777af24388e34ff72da SHA512 d1af99e6d647ac75ae0831e9478d2bf0c0e83171f451707d01cec4de766d6dddd87ccb4e77600ecdbfde51ddd81e174fdd542cdb7baf90a7d9701e1101b8a67e
diff --git a/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild b/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild
index c06d672..04d7138 100644
--- a/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild
+++ b/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild
@@ -7,13 +7,14 @@ inherit cmake-utils
DESCRIPTION="An Eclipse Paho C client library for MQTT"
HOMEPAGE="https://eclipse.org/paho"
-SRC_URI="https://github.com/eclipse/paho.mqtt.c/archive/v${PV}.tar.gz"
+SRC_URI="https://github.com/eclipse/paho.mqtt.c/archive/v${PV}.tar.gz -> paho.mqtt.c-v${PV}.tar.gz"
+IUSE="ssl doc"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="dev-libs/openssl"
+DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"
BDEPEND=""
@@ -21,9 +22,10 @@ S="${WORKDIR}/paho.mqtt.c-${PV}"
src_configure() {
local mycmakeargs=(
- -DPAHO_WITH_SSL=TRUE
- -DPAHO_BUILD_DOCUMENTATION=FALSE
- -DPAHO_BUILD_SAMPLES=FALSE
+ -DPAHO_ENABLE_CPACK=FALSE
+ -DPAHO_ENABLE_TESTING=FALSE
+ $(cmake-utils_use ssl PAHO_WITH_SSL)
+ $(cmake-utils_use doc PAHO_BUILD_DOCUMENTATION)
)
cmake-utils_src_configure
}