-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db29b70
commit 7e3512e
Showing
5 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libeconf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libeconf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- a/meson.build 2024-09-20 17:11:49.271033354 -0300 | ||
+++ a/meson.build 2024-09-20 17:11:58.804736776 -0300 | ||
@@ -15,8 +15,7 @@ | ||
inc = include_directories('include') | ||
|
||
add_project_arguments(['-D_GNU_SOURCE=1', | ||
- '-DXTSTRINGDEFINES', | ||
- '-D_FORTIFY_SOURCE=2'], language : 'c') | ||
+ '-DXTSTRINGDEFINES'], language : 'c') | ||
|
||
possible_cc_flags = [ | ||
'-Dwerror=true', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Fails on Musl | ||
--- a/tests/meson.build 2024-09-18 07:53:14.000000000 -0300 | ||
+++ b/tests/meson.build 2024-09-20 07:10:42.449539955 -0300 | ||
@@ -203,6 +203,3 @@ | ||
test('tst-shells2', tst_shells2_exe) | ||
|
||
|
||
-test('tst_econftool1', find_program('tst-econftool1.sh')) | ||
-test('tst_econftool_show1', find_program('tst-econftool_show1.sh')) | ||
-test('tst_econftool_cat', find_program('tst-econftool_cat.sh')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
pkgname = "libeconf" | ||
pkgver = "0.7.4" | ||
pkgrel = 0 | ||
build_style = "meson" | ||
configure_args = ["-Ddefault_library=shared"] | ||
hostmakedepends = ["meson", "pkgconf", "doxygen"] | ||
pkgdesc = "Config file parser" | ||
maintainer = "tulilirockz <[email protected]>" | ||
license = "MIT" | ||
url = "https://github.com/openSUSE/libeconf" | ||
source = f"{url}/archive/refs/tags/v{pkgver}.tar.gz" | ||
sha256 = "4174ca94e958cbb6c8bb4ea9e6909877d6178e00b6a65349eade64a462534da0" | ||
options = ["linkundefver"] | ||
|
||
|
||
def post_install(self): | ||
self.install_license("LICENSE") | ||
|
||
|
||
@subpackage("libeconf-devel") | ||
def _(self): | ||
return self.default_devel() | ||
|
||
|
||
@subpackage("libeconf-progs") | ||
def _(self): | ||
return self.default_progs() |