From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C66C7158089 for ; Mon, 25 Sep 2023 07:02:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16FFF2BC02D; Mon, 25 Sep 2023 07:02:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF3242BC02D for ; Mon, 25 Sep 2023 07:02:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0BB08335CB4 for ; Mon, 25 Sep 2023 07:02:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7967E125F for ; Mon, 25 Sep 2023 07:02:25 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1695625332.8c764adb5174651fd591a757a41f8864e8189095.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libx86emu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libx86emu/Manifest dev-libs/libx86emu/libx86emu-3.5.ebuild dev-libs/libx86emu/metadata.xml X-VCS-Directories: dev-libs/libx86emu/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 8c764adb5174651fd591a757a41f8864e8189095 X-VCS-Branch: master Date: Mon, 25 Sep 2023 07:02:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b5c6354-f3b2-4e4c-bc67-267065862a71 X-Archives-Hash: aa974a0480b6223a02d539e0a1489b06 commit: 8c764adb5174651fd591a757a41f8864e8189095 Author: Azamat H. Hackimov gmail com> AuthorDate: Fri Sep 8 23:06:35 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Sep 25 07:02:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c764adb dev-libs/libx86emu: add 3.5 Migrate to EAPI 8, update HOMEPAGE, SRC_URI and LICENSE. Closes: https://bugs.gentoo.org/686358 Closes: https://bugs.gentoo.org/723038 Closes: https://bugs.gentoo.org/834364 Closes: https://bugs.gentoo.org/879077 Signed-off-by: Azamat H. Hackimov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32695 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/libx86emu/Manifest | 1 + dev-libs/libx86emu/libx86emu-3.5.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-libs/libx86emu/metadata.xml | 5 ++++- 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/dev-libs/libx86emu/Manifest b/dev-libs/libx86emu/Manifest index df95413d8a44..5d5926c5b067 100644 --- a/dev-libs/libx86emu/Manifest +++ b/dev-libs/libx86emu/Manifest @@ -1 +1,2 @@ DIST libx86emu-1.1-9.8.src.rpm 59517 BLAKE2B 6ae5b7792b9b67b93d12e9908e9941417e4149ed6289e0d02b23710ae4295d74aae806d85b0a0aa719eee6d63725b161dd8870d92b5352383a0beee5ce7827c9 SHA512 cb44306bb76feb47d46f1f3dd92cc6bf694dcc2c42d191fd9ff9f0b68744aeb25e99b29336e5ffe67e9a3d02c51d56690429b892d7fd26438dcc1d6603e18bcb +DIST libx86emu-3.5.tar.gz 144969 BLAKE2B 3bba65ca6b42e92ad578a1bdacc94b5aad1f38f51d1e1fde1db65590db9611823a9e750675feb9c20fc7706e19181fe334e127a9c861159cea03aa5ea33d90a7 SHA512 079a8b5a7166802cd9bf781436dccc36a064c7e05c199bb41cc4d225e43afad4cc99654b3cb58389f7f806ffa625b5d793468064fdd9fa758ae0415496b18a9e diff --git a/dev-libs/libx86emu/libx86emu-3.5.ebuild b/dev-libs/libx86emu/libx86emu-3.5.ebuild new file mode 100644 index 000000000000..f4c40aa7a9ab --- /dev/null +++ b/dev-libs/libx86emu/libx86emu-3.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A library for emulating x86" +HOMEPAGE="https://github.com/wfeldt/libx86emu" +SRC_URI="https://github.com/wfeldt/libx86emu/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +src_prepare() { + default + echo "${PV}" > VERSION || die + rm -fr git2log || die +} + +src_compile() { + emake shared CC=$(tc-getCC) CFLAGS="${CFLAGS} -fPIC -Wall" LDFLAGS="${LDFLAGS}" +} + +src_test() { + emake test CC=$(tc-getCC) CFLAGS="${CFLAGS} -fPIC -Wall" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install + dodoc README.md +} diff --git a/dev-libs/libx86emu/metadata.xml b/dev-libs/libx86emu/metadata.xml index 85e4ed814fa2..8c19e870e06d 100644 --- a/dev-libs/libx86emu/metadata.xml +++ b/dev-libs/libx86emu/metadata.xml @@ -1,5 +1,8 @@ - + + + wfeldt/libx86emu +