commit: 9ff9c74c72eec2296cdd9411001fc61d7a735f3b Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Aug 27 20:20:02 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Aug 28 19:50:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff9c74c
dev-libs/zix: add 0.7.0_pre20250801 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/zix/Manifest | 1 + dev-libs/zix/zix-0.7.0_pre20250801.ebuild | 53 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-libs/zix/Manifest b/dev-libs/zix/Manifest index c79c179c938b..7ba5990f5b8b 100644 --- a/dev-libs/zix/Manifest +++ b/dev-libs/zix/Manifest @@ -1,2 +1,3 @@ DIST zix-0.4.2.tar.xz 76492 BLAKE2B 46d9e3049632abe8fe60928fa4d27ab5a94e86549dbde999c8215f951fe6f70f29124c89de9639c07a3bfb06da6ce902ea2a59f431ea6015d2c7a38df2f6eff6 SHA512 b8fb931a3e9ab5a67f6da57a07bf10b91e7f861c8cf39db14c49c083a9983a0971cc6bc6abcb54a83c00471b386e377cb9bb51e2edd945ba07b9ae43a35964cc DIST zix-0.6.2.tar.xz 81316 BLAKE2B 230d9f6717f10ac6f7608593fa94331a4aebd8c4c1c59f1db5a7d1881d674d687d67c353c3944bf4649ea5cbb49a8c4afe8abc82bad9eaf84bff79777a0a91e1 SHA512 3b072f00481a34e8b900311c2dc77fd73a63a34f69ea953be6b714f5bcbdebcc3cdd81feae73b5ad2bdc09a4bac122e12d9035cfc417ca41dfe5230d1fe13d9c +DIST zix-0.7.0_pre20250801-a970ac9c.tar.bz2 81834 BLAKE2B 091da597c99ca65ce524bf8d466314fbede794975a7d2c9873e5aed6ff6149c31d19f9120ab79918cd6222fad8258e6fa9ebee3f17827a7236c256c1c0f2c825 SHA512 c89844d8a8bffa879a21b5209c2cd36edb901895a51bdef734649a2fb3f840f1808907af299ca2715d866e0da35e580188e4d8f7102c2e14c9d87cd39aec1f10 diff --git a/dev-libs/zix/zix-0.7.0_pre20250801.ebuild b/dev-libs/zix/zix-0.7.0_pre20250801.ebuild new file mode 100644 index 000000000000..ab7942196650 --- /dev/null +++ b/dev-libs/zix/zix-0.7.0_pre20250801.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +DESCRIPTION="Lightweight C library of portability wrappers and data structures" +HOMEPAGE="https://gitlab.com/drobilla/zix" +if [[ ${PV} == *_p* ]] ; then + COMMIT=a970ac9c1fa1341b83f2b1a4a1740590ec2cbfe7 + SRC_URI="https://gitlab.com/drobilla/zix/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2 -> ${P}-${COMMIT:0:8}.tar.bz2" + S="${WORKDIR}/${PN}-${COMMIT}" +else + SRC_URI="https://download.drobilla.net/${P}.tar.xz" +fi + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-text/doxygen + dev-python/sphinx + dev-python/sphinx-lv2-theme + dev-python/sphinxygen + ) +" + +src_prepare() { + default + + # fix doc installation path + sed -i "s/versioned_name/'${PF}'/g" doc/html/meson.build doc/singlehtml/meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature doc docs) + $(meson_feature test tests) + ) + + meson_src_configure +} + +multilib_src_install_all() { + local DOCS=( NEWS README.md ) + einstalldocs +}
