1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2025-03-12 10:49:15 +02:00

use fallback subproject git for libspng

Stated in the libspng README:

> Download the latest release and include spng.c/spng.h in your
> project, you can also build with CMake or Meson [...]

libspng was intended to be included within the project, not used
as a system dependency.
This commit is contained in:
sewn 2024-06-19 21:15:45 +03:00 committed by Kirill Primak
parent 7652fb16bd
commit 4ffc074c10
3 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,4 +4,5 @@
!.gitignore !.gitignore
subprojects/* subprojects/*
!subprojects/libspng.wrap
!subprojects/libsfdo.wrap !subprojects/libsfdo.wrap

View File

@ -44,7 +44,7 @@ wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols') wayland_protos = dependency('wayland-protocols')
pixman = dependency('pixman-1') pixman = dependency('pixman-1')
spng = dependency('spng') spng = dependency('spng', fallback: 'libspng')
xkbcommon = dependency( xkbcommon = dependency(
'xkbcommon', 'xkbcommon',
fallback: 'libxkbcommon', fallback: 'libxkbcommon',

3
subprojects/libspng.wrap Normal file
View File

@ -0,0 +1,3 @@
[wrap-git]
url = https://github.com/randy408/libspng
revision = v0.7.4