diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-27 17:22:18 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-27 19:45:03 -0400 |
commit | 94639d8b97563531e0b544d1215905f0f52cb095 (patch) | |
tree | e01539daee5615fd4c91084c250cca44fb77e625 /dev-libs/libchdr/libchdr-0_p20220917.ebuild | |
parent | media-libs/cubeb: add 0.2_p20220922 (diff) | |
download | gentoo-94639d8b97563531e0b544d1215905f0f52cb095.tar.gz gentoo-94639d8b97563531e0b544d1215905f0f52cb095.tar.bz2 gentoo-94639d8b97563531e0b544d1215905f0f52cb095.zip |
dev-libs/libchdr: add 0_p20220917
No major reason for a new snapshot, albeit this fixes several
compiler warnings.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-libs/libchdr/libchdr-0_p20220917.ebuild')
-rw-r--r-- | dev-libs/libchdr/libchdr-0_p20220917.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/libchdr/libchdr-0_p20220917.ebuild b/dev-libs/libchdr/libchdr-0_p20220917.ebuild new file mode 100644 index 000000000000..1cf8e2d3713d --- /dev/null +++ b/dev-libs/libchdr/libchdr-0_p20220917.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +HASH_CHDR=e02b3d68eb759793ab8142376594c840c1194b3e + +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 +} |