diff options
Diffstat (limited to 'dev-libs/librdkafka')
-rw-r--r-- | dev-libs/librdkafka/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.4.4.ebuild | 83 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.5.0.ebuild | 93 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.5.2.ebuild | 93 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.5.3.ebuild | 93 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.6.0.ebuild | 93 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.6.1.ebuild | 97 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.7.0.ebuild | 97 | ||||
-rw-r--r-- | dev-libs/librdkafka/librdkafka-1.8.0.ebuild | 97 |
9 files changed, 0 insertions, 754 deletions
diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest index 6fa639baa2c9..da52a2e0337a 100644 --- a/dev-libs/librdkafka/Manifest +++ b/dev-libs/librdkafka/Manifest @@ -1,9 +1 @@ -DIST librdkafka-1.4.4.tar.gz 2734332 BLAKE2B 47c22f00d88d58eb6366e17a8f0ddaee4984bc65f01a627c5d3b8eee019519a2de9a7ae6e2ab2053354a5d72337107b7f515ad65ff205b6838e154b95d9f2331 SHA512 478d17f56efd39b312ea774695bc31d22a83aae3a94913fb0dd07e7f04f3f2a6e3f3610dc7501864dbacbcf4a3207603c6e1d5eebac4e5246ee868cde398021d -DIST librdkafka-1.5.0.tar.gz 2757553 BLAKE2B a9bbcdaa011944e43f9c70e2062199c5f12d1b92e40ba55707520002ed3a909ff13308336703924388625570d88a94d58b24cd19b5d6e9f79acd31dd92d0d7ed SHA512 ccd8dd3e90c9315833610745c28e0ffa60786324c938c7cbbb2ff847d7493d1b72d97adf5e5210bbc87970047cfd7e58a85141534d227187f2f17c492bef4262 -DIST librdkafka-1.5.2.tar.gz 2771823 BLAKE2B 61a56d36ba49539eb52f89a0d5b48e0245b1cedd09c40e65063d65208b50bb95aa5f00ce3c050d4203b4720b2ce63a9f1d6eee7100fdf85c50e7a15457a52010 SHA512 6a796c58aef9d91fe85f3815ee523a0dcafad59f33c83e5c20c62d4e4337c21c2d223dd0d6a88f37cf86d14a8e55facfa87c651990e08d9522f7cf78b0d17446 -DIST librdkafka-1.5.3.tar.gz 2773929 BLAKE2B f23ed9fe04af5d17ee2066366d32701a07f1360d665fd06126008f42e2512434848829eeb2578b35bd7f8fb26663d72c3d2ee22a5b3f33b7029df28f919b2b77 SHA512 24c93658462f933766a026fede5f09e1056ee9532f27b56da64bdde5626ac6f2460bc92b950337a7c3a99d75201a3c3bc5aaa78e888ffd9665e248d62f2c87d9 -DIST librdkafka-1.6.0.tar.gz 2909665 BLAKE2B 64b9098531febc0c4b06ce8d6d6cc65b9895cda9b40c9d9fd8b70d5febbb2c851856fb71a355d606074dae9e026277da5e65d0e9ed44a3dfd76b2b55cc142651 SHA512 b58d701f71342eb2c29ecd5aa0514af351b5a5d2282768e034b5995300fcbe2c416d6b4e15dfaddaacf2ec3b7571a320bf5356ade3fe33598d3f05f99f6553ba -DIST librdkafka-1.6.1.tar.gz 2920909 BLAKE2B 03d949319b022bc933a9b816660f87498cf9df460f41c65f08e5f6aa22cf5766974f4abe5fe0078054a21df45cc0b46f30383ce83743348fd3124e3b9ffed7f5 SHA512 19f64f275c7cd1c60f026a466c79021549e4acced60e6c01b364944ddb2f4a2c0784ab35031275c406b638a14b958c6f904177e51e2fcb4d058c541d046677dc -DIST librdkafka-1.7.0.tar.gz 2946082 BLAKE2B ea74e2dbd0e25ed998a80a0c964e78993f233c3fec1555dbefe11e0e9a407badcc903fbdef47289c82627a67cfce0d995a2786b90e810d874ccba04ba81fbc67 SHA512 2fb1eb1821d6eb2e3c4346aebd26a96c612f18a055e6861c49231957e8694758bd31aafa45c066280d6b1359e95e5a61927a276dab161356448da0685f5658fa -DIST librdkafka-1.8.0.tar.gz 4092247 BLAKE2B e35235d92a5253956e24946493f03fa9f575efafb94279d4982e0aa86508fed5f4ce66887adab71168f03f61c0917e8722aa5d0314ea2d86b069fb52402e8e89 SHA512 6a612f0e2f7028c7b46314615e22a39ad36f54a2b83fe75e1f838eae7bb33d9bf5bdf45fbf8471af18ddb9c54bff8514180918e6ab15ff1faa4555af4a1e35e0 DIST librdkafka-1.8.2.tar.gz 4097028 BLAKE2B 37a3190417e973ea4629012e358ff61cda45eb0134448dd0054fd1f1cac57f3543b133331b0b0d518f219f30f79f7665a214c75084d6a8474687b7e686395724 SHA512 8c8ae291129b78e3b8367307ad1b1715af1438cd76d7160d64d13a58adf84c7c9f51efeba4656f55e101c25e4cb744db0d8bb5c01a2decb229e4567d16bdcb22 diff --git a/dev-libs/librdkafka/librdkafka-1.4.4.ebuild b/dev-libs/librdkafka/librdkafka-1.4.4.ebuild deleted file mode 100644 index 141ec0f49725..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.4.4.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - virtual/pkgconfig - static-libs? ( ${LIB_DEPEND} ) -" - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.5.0.ebuild b/dev-libs/librdkafka/librdkafka-1.5.0.ebuild deleted file mode 100644 index e6d3864424d0..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.5.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_9 ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.5.2.ebuild b/dev-libs/librdkafka/librdkafka-1.5.2.ebuild deleted file mode 100644 index e6d3864424d0..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.5.2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_9 ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.5.3.ebuild b/dev-libs/librdkafka/librdkafka-1.5.3.ebuild deleted file mode 100644 index e6d3864424d0..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.5.3.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_9 ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.6.0.ebuild b/dev-libs/librdkafka/librdkafka-1.6.0.ebuild deleted file mode 100644 index e6d3864424d0..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.6.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_9 ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.6.1.ebuild b/dev-libs/librdkafka/librdkafka-1.6.1.ebuild deleted file mode 100644 index 5f47bc1f5000..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.6.1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_9 ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - # Simulate CI so we do not fail when tests are running longer than expected, - # https://github.com/edenhill/librdkafka/blob/v1.6.1/tests/0062-stats_event.c#L101-L116 - local -x CI=true - - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.7.0.ebuild b/dev-libs/librdkafka/librdkafka-1.7.0.ebuild deleted file mode 100644 index 50b7247010cc..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.7.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - # Simulate CI so we do not fail when tests are running longer than expected, - # https://github.com/edenhill/librdkafka/blob/v1.6.1/tests/0062-stats_event.c#L101-L116 - local -x CI=true - - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} diff --git a/dev-libs/librdkafka/librdkafka-1.8.0.ebuild b/dev-libs/librdkafka/librdkafka-1.8.0.ebuild deleted file mode 100644 index 50b7247010cc..000000000000 --- a/dev-libs/librdkafka/librdkafka-1.8.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit python-any-r1 toolchain-funcs - -DESCRIPTION="Apache Kafka C/C++ client library" -HOMEPAGE="https://github.com/edenhill/librdkafka" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/edenhill/${PN}.git" - - inherit git-r3 -else - SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -LICENSE="BSD-2" - -# subslot = soname version -SLOT="0/1" - -IUSE="lz4 sasl ssl static-libs zstd" - -LIB_DEPEND=" - lz4? ( app-arch/lz4:=[static-libs(+)] ) - sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] ) - ssl? ( dev-libs/openssl:0=[static-libs(+)] ) - zstd? ( app-arch/zstd:=[static-libs(+)] ) - sys-libs/zlib:=[static-libs(+)] -" - -BDEPEND=" - virtual/pkgconfig - ${PYTHON_DEPS} -" - -RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )" - -DEPEND=" - ${RDEPEND} - static-libs? ( ${LIB_DEPEND} ) -" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - if [[ ${PV} != "9999" ]]; then - sed -i \ - -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ - tests/run-test.sh || die - fi -} - -src_configure() { - tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP - - local myeconf=( - --no-cache - --no-download - --disable-debug-symbols - $(use_enable lz4) - $(use_enable sasl) - $(usex static-libs '--enable-static' '') - $(use_enable ssl) - $(use_enable zstd) - ) - - econf ${myeconf[@]} -} - -src_test() { - # Simulate CI so we do not fail when tests are running longer than expected, - # https://github.com/edenhill/librdkafka/blob/v1.6.1/tests/0062-stats_event.c#L101-L116 - local -x CI=true - - emake -C tests run_local -} - -src_install() { - emake -j1 \ - DESTDIR="${D}" \ - docdir="/usr/share/doc/${PF}" \ - install - - if ! use static-libs; then - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die - fi -} |