forked from rosa/hakurei
internal/rosa/package: migrate many libraries
This also adds more string helpers. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
20
internal/rosa/package/libconfig/disable-broken-tests.patch
Normal file
20
internal/rosa/package/libconfig/disable-broken-tests.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff --git a/tests/tests.c b/tests/tests.c
|
||||
index eba7eae..f916d2e 100644
|
||||
--- a/tests/tests.c
|
||||
+++ b/tests/tests.c
|
||||
@@ -753,7 +753,6 @@ int main(int argc, char **argv)
|
||||
int failures;
|
||||
|
||||
TT_SUITE_START(LibConfigTests);
|
||||
- TT_SUITE_TEST(LibConfigTests, ParsingAndFormatting);
|
||||
TT_SUITE_TEST(LibConfigTests, ParseInvalidFiles);
|
||||
TT_SUITE_TEST(LibConfigTests, ParseInvalidStrings);
|
||||
TT_SUITE_TEST(LibConfigTests, BigInt1);
|
||||
@@ -768,7 +767,6 @@ int main(int argc, char **argv)
|
||||
TT_SUITE_TEST(LibConfigTests, OverrideSetting);
|
||||
TT_SUITE_TEST(LibConfigTests, SettingLookups);
|
||||
TT_SUITE_TEST(LibConfigTests, ReadStream);
|
||||
- TT_SUITE_TEST(LibConfigTests, BinaryAndHex);
|
||||
TT_SUITE_RUN(LibConfigTests);
|
||||
failures = TT_SUITE_NUM_FAILURES(LibConfigTests);
|
||||
TT_SUITE_END(LibConfigTests);
|
||||
15
internal/rosa/package/libconfig/package.az
Normal file
15
internal/rosa/package/libconfig/package.az
Normal file
@@ -0,0 +1,15 @@
|
||||
package libconfig {
|
||||
description = "a simple library for processing structured configuration files";
|
||||
website = "https://hyperrealm.github.io/libconfig";
|
||||
anitya = 1580;
|
||||
|
||||
version* = "1.8.2";
|
||||
source = remoteGitHub {
|
||||
suffix = "hyperrealm/libconfig";
|
||||
tag = "v"+version;
|
||||
checksum = "fD32hjeAZuTz98g6WYHRwsxphrgrEFqxi5Z1jlJemPckPBfxpS3i5HgshAuA6vmT";
|
||||
};
|
||||
patches = [ "disable-broken-tests.patch" ];
|
||||
|
||||
exec = cmake {};
|
||||
}
|
||||
Reference in New Issue
Block a user