mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
gtk.org/gtk+3 (#3493)
* + * rename * +x.org/xi * deps * +at-spi2-atk * -Dmedia=none because we haven't gstreamer-player. * +cups for linux * wip * wip * wip * quartz * hardcode version like homebrew
This commit is contained in:
parent
9202ede963
commit
a197d32ded
2 changed files with 76 additions and 0 deletions
70
projects/gtk.org/gtk3/package.yml
Normal file
70
projects/gtk.org/gtk3/package.yml
Normal file
|
@ -0,0 +1,70 @@
|
|||
distributable:
|
||||
url: https://download.gnome.org/sources/gtk+/{{version.marketing}}/gtk+-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
versions:
|
||||
- 3.24.38
|
||||
dependencies:
|
||||
gnome.org/atk: '*'
|
||||
gnome.org/gdk-pixbuf: '*'
|
||||
gnome.org/glib: '*'
|
||||
gnome.org/gsettings-desktop-schemas: '*'
|
||||
freedesktop.org/icon-theme: '*'
|
||||
github.com/anholt/libepoxy: '*'
|
||||
gnome.org/pango: '*'
|
||||
gnome.org/libxslt: '*'
|
||||
x.org/x11: '*'
|
||||
x.org/exts: '*'
|
||||
x.org/xrender: '*'
|
||||
x.org/xrandr: '*'
|
||||
x.org/xi: '*'
|
||||
ebassi.github.io/graphene: '*'
|
||||
xkbcommon.org: '*'
|
||||
debian.org/iso-codes: '*'
|
||||
freedesktop.org/at-spi2-atk: '*'
|
||||
linux:
|
||||
cairographics.org: '*'
|
||||
wayland.freedesktop.org/protocols: '*'
|
||||
x.org/protocol: '*'
|
||||
openprinting.github.io/cups: '*'
|
||||
build:
|
||||
dependencies:
|
||||
docbook.org: '*'
|
||||
docbook.org/xsl: '*'
|
||||
gnu.org/gettext: '*'
|
||||
gnome.org/gobject-introspection: '*'
|
||||
mesonbuild.com: '*'
|
||||
ninja-build.org: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
linux:
|
||||
cmake.org: '*'
|
||||
script:
|
||||
- meson setup build $MESON_ARGS
|
||||
- meson compile -C build --verbose
|
||||
- meson install -C build
|
||||
env:
|
||||
MESON_ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --libdir="{{prefix}}/lib"
|
||||
- --buildtype=release
|
||||
- --wrap-mode=nofallback
|
||||
- -Dintrospection=true
|
||||
DESTDIR: /
|
||||
XML_CATALOG_FILES: "{{prefix}}/etc/xml/catalog"
|
||||
provides:
|
||||
- bin/gtk-builder-tool
|
||||
- bin/gtk-encode-symbolic-svg
|
||||
- bin/gtk-launch
|
||||
- bin/gtk-query-immodules-3.0
|
||||
- bin/gtk-query-settings
|
||||
- bin/gtk-update-icon-cache
|
||||
- bin/gtk3-demo
|
||||
- bin/gtk3-demo-application
|
||||
- bin/gtk3-icon-browser
|
||||
- bin/gtk3-widget-factory
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
- pkg-config --modversion gtk+-3.0 | grep {{version}}
|
||||
- cc test.c $(pkg-config --cflags --libs gtk+-3.0) -o test
|
||||
- ./test
|
6
projects/gtk.org/gtk3/test.c
Normal file
6
projects/gtk.org/gtk3/test.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <gtk/gtk.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
gtk_disable_setlocale();
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue