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
3 changed files with 40 additions and 0 deletions

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
}