Skip to content

Commit

Permalink
fix(libsecret)
Browse files Browse the repository at this point in the history
 closes #8410
  • Loading branch information
jhheider committed Jan 15, 2025
1 parent b0d59c4 commit a9ac818
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions projects/gnome.org/libsecret/package.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
distributable:
url: https://download.gnome.org/sources/libsecret/{{version.marketing}}/libsecret-{{version}}.tar.xz
strip-components: 1

versions:
url: https://download.gnome.org/sources/libsecret/cache.json
match: /libsecret-\d+\.\d+\.\d+\.tar\.xz/
strip:
- /^libsecret-/
- /\.tar\.xz/

dependencies:
gnome.org/glib: '*'
gnupg.org/libgcrypt: '*'
gnupg.org/libgpg-error: '*'

build:
dependencies:
docbook.org/xsl: '*'
Expand All @@ -21,6 +24,7 @@ build:
freedesktop.org/pkg-config: '*'
gnome.org/vala: '*'
gnome.org/libxslt: '*'
freedesktop.org/dbus: '*' # dbus-run-session needed as of v0.21.5
linux:
llvm.org: '*'
working-directory: build
Expand All @@ -33,22 +37,23 @@ build:
- ninja --verbose
- ninja install --verbose
- run: ln -s libsecret-1/libsecret libsecret
working-directory: "{{prefix}}/include"
working-directory: '{{prefix}}/include'
- run: ln -s libsecret-1/libsecret libsecret
working-directory: "{{prefix}}/include"
working-directory: '{{prefix}}/include'
env:
linux:
CC: clang
CXX: clang++
LD: clang
CFLAGS: "-Wno-incompatible-function-pointer-types $CFLAGS"
XML_CATALOG_FILES: "{{prefix}}/etc/xml/catalog"
CFLAGS: '-Wno-incompatible-function-pointer-types $CFLAGS'
XML_CATALOG_FILES: '{{prefix}}/etc/xml/catalog'
MESON_ARGS:
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
- --buildtype=release
- --wrap-mode=nofallback
- -Dgtk_doc=false

test:
dependencies:
freedesktop.org/pkg-config: '*'
Expand Down

0 comments on commit a9ac818

Please sign in to comment.