public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/yaz/
Date: Sat, 08 Mar 2025 07:20:30 +0000 (UTC)	[thread overview]
Message-ID: <1741418331.9f9c85423679dca1a31308e147c00d89e30e469a.arthurzam@gentoo> (raw)

commit:     9f9c85423679dca1a31308e147c00d89e30e469a
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Tue Mar  4 10:52:58 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  8 07:18:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9c8542

dev-libs/yaz: add 5.34.4 with improvements

- bump EAPI
- use DOCS instead of `dodoc`
- remove generic die descriptions
- remove --force from rm

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/40880
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/yaz/Manifest          |  1 +
 dev-libs/yaz/yaz-5.34.4.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest
index 95cf69726d04..4ea9e3c42500 100644
--- a/dev-libs/yaz/Manifest
+++ b/dev-libs/yaz/Manifest
@@ -1,2 +1,3 @@
 DIST yaz-5.34.0.tar.gz 2656382 BLAKE2B 7a16974dc815c1121aaea4179843a6982600a0491c8c95a03f28cf0c68725b986ebc39049e2159cd0d105b23811d35ae3d3538a83e945b64951cc9215efe7f3d SHA512 0c835b98b4640e077459c9ead8043cea941a75f39dace9501efbb56c38837b1525349b8668c135ac0753ba7a4803e38d9c90d7bf3f6f2951c0e7e863b4c51f65
 DIST yaz-5.34.2.tar.gz 2601365 BLAKE2B 525197c4c10e3a41fb0b050a78f00a8122de844a5c7e53d115a079c0ec16144312e7861b048c31cecf00cac900d8fc7dffd98e2ac18c6b046ac9ae521c7d60aa SHA512 8fd22b97cf46c7db8083198ad67745f4b99b303253b669e28f8c509fe3fee223de64d79a7b0a5d9318637b65d056129ca220e3ecbfc7ad392ef634c87543a16b
+DIST yaz-5.34.4.tar.gz 2632926 BLAKE2B 63b057066604a562f6174c327b5699d60a465aa4814311205d94257fd51df11cdc60fe52a17cc356f57cf04e84afae5351c02f17715225d5927863a887e0aab8 SHA512 f5c9dfce5817cdd6ac0c4b038dbe3eba7cb4b91cc1001fe256019160fb86bcb58bf067e40c83d789f3d0fbed8f1f970f79e048c8906ba44ea81a95f3086bb232

diff --git a/dev-libs/yaz/yaz-5.34.4.ebuild b/dev-libs/yaz/yaz-5.34.4.ebuild
new file mode 100644
index 000000000000..e97e24e88fcc
--- /dev/null
+++ b/dev-libs/yaz/yaz-5.34.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers"
+HOMEPAGE="https://www.indexdata.com/resources/software/yaz/"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/indexdata/yaz.git"
+else
+	SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+
+LICENSE="BSD GPL-2"
+SLOT="0/5"
+IUSE="gnutls tcpd ziffy"
+
+RDEPEND="
+	dev-libs/icu:=
+	dev-libs/libxml2
+	dev-libs/libxslt
+	sys-libs/readline:=
+	sys-libs/ncurses:=
+	virtual/libintl
+	!gnutls? ( dev-libs/openssl:0= )
+	gnutls? ( net-libs/gnutls:= )
+	tcpd? ( sys-apps/tcp-wrappers )
+	ziffy? ( net-libs/libpcap )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-lang/tcl:0
+	app-alternatives/yacc
+	>=dev-build/libtool-2
+	virtual/pkgconfig
+"
+DOCS=( NEWS README.md )
+
+src_prepare() {
+	default
+
+	# Hardcoded assumption of libraries residing in lib/,  bug #730016
+	sed -i -e "s|/lib\"|/$(get_libdir)\"|" configure.ac || die
+
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_with gnutls) \
+		$(use_enable tcpd tcpd /usr)
+}
+
+src_install() {
+	# make install is a mess, we need to clean it
+	local docdir="/usr/share/doc/${PF}"
+
+	emake DESTDIR="${D}" docdir="${EPREFIX}/${docdir}" install
+
+	find "${D}" -name '*.la' -delete || die
+
+	einstalldocs
+	dodir "${docdir}"/html
+	mv -f "${ED}"/${docdir}/*.{html,png} "${ED}"/${docdir}/html/ || die
+	mv -f "${ED}"/usr/share/doc/${PN}/common "${ED}"/${docdir}/html/ || die
+	rm -r "${ED}"/usr/share/doc/${PN} || die
+}


             reply	other threads:[~2025-03-08  7:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-08  7:20 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08  7:20 [gentoo-commits] repo/gentoo:master commit in: dev-libs/yaz/ Arthur Zamarin
2025-01-02  0:14 Conrad Kostecki
2024-10-31 23:32 Andreas K. Hüttel
2024-08-25 15:24 Andreas K. Hüttel
2024-02-17 14:48 Sam James
2024-02-14 19:47 Arthur Zamarin
2024-02-14 19:42 Sam James
2024-02-14 16:48 Sam James
2024-01-30  6:58 Sam James
2022-12-18 20:07 Arthur Zamarin
2022-12-18 12:28 Sam James
2022-12-18 11:55 Sam James
2022-12-18 11:34 Sam James
2022-11-24 18:14 Conrad Kostecki
2022-08-26 12:04 Sam James
2022-06-12  7:33 Joonas Niilola
2022-02-19 12:38 Arthur Zamarin
2022-02-19 10:34 Arthur Zamarin
2021-08-16  3:15 Sam James
2021-08-16  3:15 Sam James
2021-08-16  2:43 Sam James
2021-07-25 21:46 Andreas K. Hüttel
2020-02-18 20:06 Andreas Sturmlechner
2016-11-05 17:21 Pacho Ramos
2016-11-05 17:16 Pacho Ramos
2016-10-01 14:12 Jeroen Roovers
2016-08-30 20:29 Markus Meier
2016-07-04 11:36 Tobias Klausmann
2016-07-03 18:45 Andreas Hüttel
2016-06-28  6:00 Michał Górny
2016-06-26 12:21 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741418331.9f9c85423679dca1a31308e147c00d89e30e469a.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox