diff options
Diffstat (limited to 'dev-libs/libcdada')
-rw-r--r-- | dev-libs/libcdada/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libcdada/libcdada-0.6.1.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libcdada/Manifest b/dev-libs/libcdada/Manifest index 133dc445f181..fc5b202cc407 100644 --- a/dev-libs/libcdada/Manifest +++ b/dev-libs/libcdada/Manifest @@ -1,5 +1,7 @@ AUX libcdada-0.3.4-Werror.patch 688 BLAKE2B e4c6bf7c8df550a2dbafaab78b9933e39c7c7b8875a6c87c125b25b5396092b17b5e718fbeaf8ac6a79fb759d9378702ca98852e69ef1c782fc069cf85318e9b SHA512 3fb6fcc7ae855c9049256f74d69011a5599307eda280c5d5b546e7a1a8ff08e64eb3a842835753120c498e7f787a86193ef21624a0fd04ef67f8408752fdfe3c AUX libcdada-0.3.5-respect-CFLAGS.patch 850 BLAKE2B 84a52e62571a2f4fb9090d07de5abf3cd6865b698d8c30a6d78d80dc01ee76806a931e999c409d24ac4ccbfd884b5dcd933820801b5aedc1987c3be1e387f377 SHA512 d966ffc87dea5d5cba4a82fea2da401baf5e4cefb17337c955dd86347a240b637f22c2965d58562c81b6b6b65c5b04e606bba887d03e2f855b1ed8267d82c248 DIST libcdada-0.4.0.tar.gz 1777257 BLAKE2B 26e24fa513ab4a290a7632b4f56c102dc45cd9d34d4a7b7464f58aaee596b5ac3c8172080144d3f3c5cbcf5790f29e74b020f11cea943223e5933c2a7db66f8b SHA512 370a40a070df6783b5f44373bd09751660d51698095fa0ace38943a0331f90a55d131de50180b9ca9597361b7712dbcb350fde77a0e0489c47e4358fec61458b +DIST libcdada-0.6.1.tar.gz 1780134 BLAKE2B 8b9d4ab481db4460f5b5426f9f46120649ce5d71fdc322cc32ed17df97add0ce54896c8d304d7c735a79abce02e62b499fff85473e940451a145e8aaf5277234 SHA512 d2ce7f2f98520d49f75bd97624f6f765e47edeccaf6f6a7e61cbea6ef2516b8ee8110e0f1d83d6220d050ac746f2d43cf443f1f70b7c20e03a25f6e98d3f5d51 EBUILD libcdada-0.4.0.ebuild 990 BLAKE2B 41b35f667cb3bd8a1fde3628d7093706bb8d0634628cfc840a675971a88c16eee18e6de579297ac784bc81c6209dd5907173d7bbb37eaf8ae3f74eed404edd63 SHA512 4c5b28ee2149737b7b2aadfaeda8ba3a899f9fe0a5c75c1016ffda3000e2a352cfeb67084fffacda7a9c41f0c8a3ae0de79eea597076086a35cc634a6b8e91bf +EBUILD libcdada-0.6.1.ebuild 991 BLAKE2B a4dcbb47c18fe6078d452b654e3c83b48add2c1346f192c783fe113fec3afc7551bbf47269a7569e8a97cafb204d3b2352e698ed54692431f4058567309dafb5 SHA512 b87c4da1a6787f0a4aa50e5ff45d2aa96c369b44fc8bfeed0e272a71d8f0c29f12f40abcfde87c2abc8f79e5b5bb7a1373413f91e994f797913bacefeb2899f1 MISC metadata.xml 298 BLAKE2B dc523eb0719867c25f38bd413a4229c4b81b1d347184ce3574d32f96691fa907d14ee54e2f0fae3e94006b3465f0c8fb81c33818ec627d2028571b4d14500292 SHA512 5d9f732d34ef76b98a7366339bcfdbe1a3ef40fb49ff6c804d82f0b089fe2559f6cd26406b2028b49caafdbf0b57ffe27750f34143865fe3cb9b56041898a143 diff --git a/dev-libs/libcdada/libcdada-0.6.1.ebuild b/dev-libs/libcdada/libcdada-0.6.1.ebuild new file mode 100644 index 000000000000..9ba88addea9d --- /dev/null +++ b/dev-libs/libcdada/libcdada-0.6.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit autotools python-any-r1 + +DESCRIPTION="Basic data structures in C" +HOMEPAGE="https://github.com/msune/libcdada" +SRC_URI="https://github.com/msune/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +BDEPEND="test? ( ${PYTHON_DEPS} )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.4-Werror.patch + "${FILESDIR}"/${PN}-0.3.5-respect-CFLAGS.patch +) + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with test tests) + + # Needed for tests. We throw them away in src_install anyway. + --enable-static + + --disable-valgrind + --without-examples + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} |