From 6ec19c7f1bc4aa70e5f8a86cd29d579a95d97035 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Jan 2020 18:58:09 +0000 Subject: gentoo resync : 18.01.2020 --- dev-libs/libebml/libebml-1.3.10.ebuild | 20 +++++++++ dev-libs/librelp/librelp-1.5.0.ebuild | 74 ++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 dev-libs/libebml/libebml-1.3.10.ebuild create mode 100644 dev-libs/librelp/librelp-1.5.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/libebml/libebml-1.3.10.ebuild b/dev-libs/libebml/libebml-1.3.10.ebuild new file mode 100644 index 000000000000..dbb462d75acb --- /dev/null +++ b/dev-libs/libebml/libebml-1.3.10.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Extensible binary format library (kinda like XML)" +HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/" +SRC_URI="https://dl.matroska.org/downloads/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/4" # subslot = soname major version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +src_configure() { + local mycmakeargs=( -DBUILD_SHARED_LIBS=YES ) + cmake_src_configure +} diff --git a/dev-libs/librelp/librelp-1.5.0.ebuild b/dev-libs/librelp/librelp-1.5.0.ebuild new file mode 100644 index 000000000000..c5a14c6f2f49 --- /dev/null +++ b/dev-libs/librelp/librelp-1.5.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) + +inherit autotools python-any-r1 + +DESCRIPTION="An easy to use library for the RELP protocol" +HOMEPAGE="https://www.rsyslog.com/librelp/" +SRC_URI="https://download.rsyslog.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ doc? ( FDL-1.3 )" + +# subslot = soname version +SLOT="0/0.5.0" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="debug doc +ssl +gnutls libressl openssl static-libs test" +REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) )" + +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.3.17.1:0= ) + openssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + )" +DEPEND="${RDEPEND} + test? ( ${PYTHON_DEPS} ) + virtual/pkgconfig" + +RESTRICT="!test? ( test )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + sed -i \ + -e 's/ -g"/"/g' \ + configure.ac || die "sed failed" + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-valgrind + $(use_enable debug) + $(use_enable gnutls tls) + $(use_enable openssl tls-openssl) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake -j1 check +} + +src_install() { + local DOCS=( ChangeLog ) + use doc && local HTML_DOCS=( doc/relp.html ) + default + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +} -- cgit v1.2.3