2022-08-19 23:48:18 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://download.gnome.org/sources/gdk-pixbuf/{{version.major}}.{{version.minor}}/gdk-pixbuf-{{ version }}.tar.xz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
|
gitlab: gitlab.gnome.org:GNOME/gdk-pixbuf
|
|
|
|
|
strip: [/^GdkPixbuf /, / \(stable\)/]
|
2022-08-19 23:48:18 +03:00
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
ijg.org: 9
|
|
|
|
|
gnome.org/glib: 2
|
|
|
|
|
libpng.org: 1
|
2023-09-23 17:36:32 +03:00
|
|
|
|
freedesktop.org/shared-mime-info: 2 #FIXME only on Linux
|
2022-08-19 23:48:18 +03:00
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
dependencies:
|
|
|
|
|
mesonbuild.com: ^0.63
|
|
|
|
|
ninja-build.org: 1
|
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
|
gnome.org/gobject-introspection: 1
|
2023-09-23 17:36:32 +03:00
|
|
|
|
python.org: 3 #FIXME rq’d by gnome.org/gobject-introspection but should be added by tea-env
|
2022-08-19 23:48:18 +03:00
|
|
|
|
working-directory: build
|
|
|
|
|
script: |
|
|
|
|
|
if test {{ hw.platform }} == linux; then
|
|
|
|
|
#FIXME so linux build finds the shared-mime-info cache
|
|
|
|
|
export XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/share"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
meson \
|
|
|
|
|
--buildtype=release \
|
|
|
|
|
--prefix={{prefix}} \
|
2022-10-24 22:29:00 +03:00
|
|
|
|
--libdir={{prefix}}/lib \
|
2022-08-19 23:48:18 +03:00
|
|
|
|
-Dman=false \
|
|
|
|
|
..
|
|
|
|
|
ninja
|
|
|
|
|
ninja install
|
2023-09-23 17:36:32 +03:00
|
|
|
|
# ^^ man pages break the build due to needing some other dep
|
|
|
|
|
|
|
|
|
|
cd {{prefix}}/include
|
|
|
|
|
mv gdk-pixbuf-{{version.major}}.0/* .
|
|
|
|
|
rmdir gdk-pixbuf-{{version.major}}.0
|
|
|
|
|
ln -s . gdk-pixbuf-{{version.major}}.0
|
2022-08-19 23:48:18 +03:00
|
|
|
|
|
2022-09-02 04:02:45 +03:00
|
|
|
|
#TODO we should read pkg config and add to the env ffs
|
|
|
|
|
test:
|
|
|
|
|
dependencies:
|
|
|
|
|
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)
|
2022-12-05 22:10:34 +03:00
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/gdk-pixbuf-csource
|
|
|
|
|
- bin/gdk-pixbuf-pixdata
|
|
|
|
|
- bin/gdk-pixbuf-query-loaders
|
|
|
|
|
- bin/gdk-pixbuf-thumbnailer
|