summaryrefslogtreecommitdiff
path: root/dev-libs/zix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-24 20:44:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-24 20:44:11 +0100
commit342922f04a58a969ff23806acc427c7ff79119ce (patch)
tree7c491f1183b65ff952aefc31909ea49a54196be0 /dev-libs/zix
parent27f59f8e16510831cc751de1406f71afbf464653 (diff)
gentoo auto-resync : 24:10:2023 - 20:44:11
Diffstat (limited to 'dev-libs/zix')
-rw-r--r--dev-libs/zix/Manifest3
-rw-r--r--dev-libs/zix/metadata.xml11
-rw-r--r--dev-libs/zix/zix-0.4.2.ebuild47
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/zix/Manifest b/dev-libs/zix/Manifest
new file mode 100644
index 000000000000..ff6bd07988f4
--- /dev/null
+++ b/dev-libs/zix/Manifest
@@ -0,0 +1,3 @@
+DIST zix-0.4.2.tar.xz 76492 BLAKE2B 46d9e3049632abe8fe60928fa4d27ab5a94e86549dbde999c8215f951fe6f70f29124c89de9639c07a3bfb06da6ce902ea2a59f431ea6015d2c7a38df2f6eff6 SHA512 b8fb931a3e9ab5a67f6da57a07bf10b91e7f861c8cf39db14c49c083a9983a0971cc6bc6abcb54a83c00471b386e377cb9bb51e2edd945ba07b9ae43a35964cc
+EBUILD zix-0.4.2.ebuild 979 BLAKE2B 178970a3c59a5e309d92c565e702e69f15f0c8b2f42c69bca0bc33ecaa52181504da85ccf8b7292c87049f93039f01657803308a7d6dd4ea5b308a020bb71a8d SHA512 3795d9854f9b0efb672f2116214b9d840d17b66059fd428c10ef298990671b07da73225a54db099f9de62081943ac3066f143f74376e5807faba0f04d20f1463
+MISC metadata.xml 337 BLAKE2B 4b3b9dd09dacec843b851b37da867db149124b97cefc8fcbb0ba1c01d010b3906961d0a78ca914e81baa3a90b01b2c9dcca38fef1a5731b8358a3905e1c3ea05 SHA512 246af6d445da7a395035c6d8485e4c0da51d70322a4ccabf85110e0186b92b91a880e5fd91b3b80760d0f5e0a11077d86cee40d1b27495ec07f9cf7b6b8584a6
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>proaudio@gentoo.org</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
+}