mirror of https://github.com/microsoft/vcpkg.git
[libdotconf] New port at 1.4.1 (#51126)
This commit is contained in:
parent
af26c11336
commit
b490dd3034
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index dd99233..8463e1f 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
lib_LTLIBRARIES = libdotconf.la
|
||||
libdotconf_la_CFLAGS = $(WARNING_CFLAGS)
|
||||
-libdotconf_la_LDFLAGS = -version-info $(DC_CURRENT):$(DC_REVISION):$(DC_AGE)
|
||||
+libdotconf_la_LDFLAGS = -no-undefined -version-info $(DC_CURRENT):$(DC_REVISION):$(DC_AGE)
|
||||
libdotconf_la_SOURCES = dotconf.c \
|
||||
dotconf.h \
|
||||
dotconf_priv.h \
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO williamh/dotconf
|
||||
REF ed5c5a1707ed55b45904f875f6b25ce9076f4fa6
|
||||
SHA512 06cd30eda123839e73793f397a9393d975968584ba15773f63eb984650c86bcbd7ceb0d20421a02e8f79a9c7b9a0ffd3c6f4dcc24eec613a3bf1b1e270df4bdd
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
remove-docs-and-examples.patch
|
||||
no-undefined.patch
|
||||
)
|
||||
vcpkg_make_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
AUTORECONF
|
||||
OPTIONS
|
||||
ac_cv_func_malloc_0_nonnull=yes
|
||||
ac_cv_func_realloc_0_nonnull=yes
|
||||
ac_cv_func_strtod=yes
|
||||
WARNING_CFLAGS=
|
||||
)
|
||||
vcpkg_make_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/share"
|
||||
)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
diff --git a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-SUBDIRS = doc examples src
|
||||
+SUBDIRS = src
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = dotconf.pc
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "libdotconf",
|
||||
"version": "1.4.1",
|
||||
"description": "dot.conf configuration file parser",
|
||||
"homepage": "https://github.com/williamh/dotconf",
|
||||
"license": "LGPL-2.1-only",
|
||||
"supports": "!uwp & !xbox",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-make",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -4856,6 +4856,10 @@
|
|||
"baseline": "1.1.5",
|
||||
"port-version": 1
|
||||
},
|
||||
"libdotconf": {
|
||||
"baseline": "1.4.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"libdshowcapture": {
|
||||
"baseline": "2025-02-08",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2966c8a18463fc435695ad54c3be674ea2fab012",
|
||||
"version": "1.4.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue