public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-libs/zydis/
@ 2025-07-12 16:18 David Roman
  0 siblings, 0 replies; only message in thread
From: David Roman @ 2025-07-12 16:18 UTC (permalink / raw
  To: gentoo-commits

commit:     a3789ce04c6d8b7e4870602473ca87e1ea124ddf
Author:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
AuthorDate: Wed Jul  9 19:49:31 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Jul 12 13:43:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3789ce0

dev-libs/zydis: new package, add 4.1.1

Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev>

 dev-libs/zydis/Manifest           |  1 +
 dev-libs/zydis/metadata.xml       | 12 ++++++++++++
 dev-libs/zydis/zydis-4.1.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-libs/zydis/Manifest b/dev-libs/zydis/Manifest
new file mode 100644
index 0000000000..24405cc05c
--- /dev/null
+++ b/dev-libs/zydis/Manifest
@@ -0,0 +1 @@
+DIST zydis-4.1.1.tar.gz 811528 BLAKE2B 65593d836604fe7fbd2991b735f77674e02f7e2bd5f6fdc90a688e162b730c9fc7698a3ba46779f23331ff14fcc0cc204a2da808734ec7ea45772ebcd2328371 SHA512 177e84fedb3449e29ffb6c0b02a92066ba1aa8fb624facad5593902b8e08cb8ae0b20ff38c16987989c8e414d7484d09dab7917c00a8fe54aa9bab4bc90e275d

diff --git a/dev-libs/zydis/metadata.xml b/dev-libs/zydis/metadata.xml
new file mode 100644
index 0000000000..a3e1e58018
--- /dev/null
+++ b/dev-libs/zydis/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>contact@paveloom.dev</email>
+    <name>Pavel Sobolev</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/zyantific/zydis/issues</bugs-to>
+    <remote-id type="github">zyantific/zydis</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-libs/zydis/zydis-4.1.1.ebuild b/dev-libs/zydis/zydis-4.1.1.ebuild
new file mode 100644
index 0000000000..45a1b5a8d0
--- /dev/null
+++ b/dev-libs/zydis/zydis-4.1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Fast and lightweight x86/x86-64 disassembler and code generation library"
+HOMEPAGE="https://zydis.re"
+SRC_URI="https://github.com/zyantific/zydis/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc man test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/zycore-c
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	doc? ( app-text/doxygen )
+	man? ( app-text/ronn-ng )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DZYAN_SYSTEM_ZYCORE=yes
+		-DZYDIS_BUILD_EXAMPLES=no
+		-DZYDIS_BUILD_SHARED_LIB=yes
+
+		-DZYDIS_BUILD_DOXYGEN=$(usex doc)
+		-DZYDIS_BUILD_MAN=$(usex man)
+		-DZYDIS_BUILD_TESTS=$(usex test)
+	)
+
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-12 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-12 16:18 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/zydis/ David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox