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 4A61215852A for ; Sun, 18 Aug 2024 17:20:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C515E2A5D; Sun, 18 Aug 2024 17:20:14 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3806BE2A5D for ; Sun, 18 Aug 2024 17:20:14 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 062F0342FA1 for ; Sun, 18 Aug 2024 17:20:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5742F1DA8 for ; Sun, 18 Aug 2024 17:20:11 +0000 (UTC) From: "Dale Sweeney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dale Sweeney" Message-ID: <1724001567.ad679adf7aa25b36405bff9e59d07b13f3c41dee.agooglygooglr@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/dmg2img/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/dmg2img/Manifest dev-util/dmg2img/dmg2img-20240818.ebuild X-VCS-Directories: dev-util/dmg2img/ X-VCS-Committer: agooglygooglr X-VCS-Committer-Name: Dale Sweeney X-VCS-Revision: ad679adf7aa25b36405bff9e59d07b13f3c41dee X-VCS-Branch: dev Date: Sun, 18 Aug 2024 17:20:11 +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: e34a15da-fda9-48e7-9777-7e2a86470a68 X-Archives-Hash: cdca4059b791b4f3a129dc61f609f208 commit: ad679adf7aa25b36405bff9e59d07b13f3c41dee Author: Dale Sweeney gmail com> AuthorDate: Sun Aug 18 17:19:27 2024 +0000 Commit: Dale Sweeney gmail com> CommitDate: Sun Aug 18 17:19:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad679adf dev-util/dmg2img: add 20240818 Signed-off-by: Dale Sweeney gmail.com> dev-util/dmg2img/Manifest | 1 + dev-util/dmg2img/dmg2img-20240818.ebuild | 33 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-util/dmg2img/Manifest b/dev-util/dmg2img/Manifest new file mode 100644 index 000000000..1216b52a0 --- /dev/null +++ b/dev-util/dmg2img/Manifest @@ -0,0 +1 @@ +DIST a3e413489ccdd05431401357bf21690536425012.tar.gz 24904 BLAKE2B 01229b9b91873a718a69157565614340e13116a54d4440185423df8799550b7b84512cfe7f1c4cbcb4a3af538094c0567c41949b924f165fa816669cd7006845 SHA512 09da0c0d8680412801be6edccddc7ef588ea8ab0c0637e99652e34a387c1d456682b4881d329bed2ba0c76172b225441b6000cc73f5398853cbf34b1cb554d97 diff --git a/dev-util/dmg2img/dmg2img-20240818.ebuild b/dev-util/dmg2img/dmg2img-20240818.ebuild new file mode 100644 index 000000000..573d8049f --- /dev/null +++ b/dev-util/dmg2img/dmg2img-20240818.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +COMMIT="a3e413489ccdd05431401357bf21690536425012" + +inherit toolchain-funcs + +SRC_URI="https://github.com/Lekensteyn/dmg2img/archive/${COMMIT}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +DESCRIPTION="Convert Apple disk images to IMG format." +HOMEPAGE="https://github.com/Lekensteyn/dmg2img" +LICENSE="GPL-2" +SLOT="0" +IUSE="lzfse" + +DEPEND=" + app-arch/bzip2 + dev-libs/openssl + sys-libs/zlib + lzfse? ( dev-libs/lzfse ) +" +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +src_compile() { + emake HAVE_LZFSE=$(usex lzfse 1 0) CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${ED}" install +}