dev-libs/libchdr: new ebuild

Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
Samuel Bauer 2025-02-15 00:35:34 +01:00
parent 3d1b03e931
commit 5fe6d204bc
No known key found for this signature in database
GPG Key ID: CD0084656E332317
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST libchdr-0_p20230230.tar.gz 1748513 BLAKE2B 03fc5507b7f598995fede477f26c8ab41cd16c658e4ca5c193e581840f14ead0db4ab8da3b888a2e03fb4c78c19af0f08cbab9feefe488dc230ec0fbd3941a91 SHA512 c25084b2257083c4bddd84d13e3dc0d30fea548a4e50a6beefd5282383480eaaa293c044647e2aff339d087dae87c3ef871137a43db766e08a1dffd8801c3367

View File

@ -0,0 +1,28 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
HASH_CHDR=fec8ab94212cc65d9d9a62cb3da924f5830c04b0
DESCRIPTION="Standalone library for reading MAME's CHDv1-v5 formats"
HOMEPAGE="https://github.com/rtissera/libchdr/"
SRC_URI="https://github.com/rtissera/libchdr/archive/${HASH_CHDR}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${HASH_CHDR}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="sys-libs/zlib:="
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DWITH_SYSTEM_ZLIB=yes
)
cmake_src_configure
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>samuel.bauer@yahoo.fr</email>
<name>Samuel BAUER</name>
</maintainer>
<upstream>
<remote-id type="github">rtissera/libchdr</remote-id>
</upstream>
</pkgmetadata>