mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+test gdk-pixbuf
This commit is contained in:
parent
1d3fad1921
commit
bbc22ab67f
|
@ -37,4 +37,14 @@ build:
|
|||
ninja install
|
||||
# ^^ man pages break the build due to needing some other dep
|
||||
|
||||
test: true #FIXME
|
||||
#TODO we should read pkg config and add to the env ffs
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
script: |
|
||||
cc test.c $CFLAGS $LDFLAGS
|
||||
./a.out
|
||||
env:
|
||||
CFLAGS: $(pkg-config --cflags gdk-pixbuf-2.0)
|
||||
LDFLAGS: $(pkg-config --libs gdk-pixbuf-2.0)
|
||||
|
|
6
projects/gnome.org/gdk-pixbuf/test.c
Normal file
6
projects/gnome.org/gdk-pixbuf/test.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
GType type = gdk_pixbuf_get_type();
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue