commit: 6b8513f22aa91a4e8ba81bb801aa844b7a5f3c73 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Tue Oct 24 18:12:27 2023 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Tue Oct 24 18:26:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8513f2
dev-libs/zix: new package Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-libs/zix/Manifest | 1 + dev-libs/zix/metadata.xml | 11 ++++++++++ dev-libs/zix/zix-0.4.2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-libs/zix/Manifest b/dev-libs/zix/Manifest new file mode 100644 index 000000000000..00107cd0259d --- /dev/null +++ b/dev-libs/zix/Manifest @@ -0,0 +1 @@ +DIST zix-0.4.2.tar.xz 76492 BLAKE2B 46d9e3049632abe8fe60928fa4d27ab5a94e86549dbde999c8215f951fe6f70f29124c89de9639c07a3bfb06da6ce902ea2a59f431ea6015d2c7a38df2f6eff6 SHA512 b8fb931a3e9ab5a67f6da57a07bf10b91e7f861c8cf39db14c49c083a9983a0971cc6bc6abcb54a83c00471b386e377cb9bb51e2edd945ba07b9ae43a35964cc diff --git a/dev-libs/zix/metadata.xml b/dev-libs/zix/metadata.xml new file mode 100644 index 000000000000..52de0bfb7f99 --- /dev/null +++ b/dev-libs/zix/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo ProAudio Project</name> + </maintainer> + <upstream> + <remote-id type="github">drobilla/zix</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/zix/zix-0.4.2.ebuild b/dev-libs/zix/zix-0.4.2.ebuild new file mode 100644 index 000000000000..01a7b8abd503 --- /dev/null +++ b/dev-libs/zix/zix-0.4.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +SRC_URI="https://download.drobilla.net/${P}.tar.xz" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +DESCRIPTION="Lightweight C library of portability wrappers and data structures" +HOMEPAGE="https://drobilla.net/software/zix.html" + +LICENSE="ISC" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/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 +}
