dev-libs/zix: add 0.7.0_pre20250801

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-08-27 22:20:02 +02:00
parent ddb1fa8d82
commit 9ff9c74c72
2 changed files with 54 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}