dev-libs/zydis: treeclean, moved to ::gentoo

Gentoo-PR: https://github.com/gentoo/gentoo/pull/46701
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev committed 2026-08-24 22:00:58 +03:00
1 parent cd37710094
commit b48f3137b3
4 files changed
-69

No files matched your search

-1
View File
@@ -1 +0,0 @@
DIST zydis-4.1.1.tar.gz 811528 BLAKE2B 65593d836604fe7fbd2991b735f77674e02f7e2bd5f6fdc90a688e162b730c9fc7698a3ba46779f23331ff14fcc0cc204a2da808734ec7ea45772ebcd2328371 SHA512 177e84fedb3449e29ffb6c0b02a92066ba1aa8fb624facad5593902b8e08cb8ae0b20ff38c16987989c8e414d7484d09dab7917c00a8fe54aa9bab4bc90e275d
@@ -1,13 +0,0 @@
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Bump minimum required CMake version.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15")
# Enable runtime library selection via CMAKE_MSVC_RUNTIME_LIBRARY
-12
View File
@@ -1,12 +0,0 @@
<?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>
-43
View File
@@ -1,43 +0,0 @@
# 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 )
"
PATCHES=(
"${FILESDIR}/${PN}-4.1.1-bump-minimum-required-CMake-version.patch"
)
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
}