aboutsummaryrefslogtreecommitdiff
path: root/extra/gcr/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-01 01:02:38 +0300
committerCem Keylan <cem@ckyln.com>2020-04-01 01:02:38 +0300
commitb9609d25f141209c814a3473deb440d72dc72109 (patch)
tree389ecb4b3e01f5ce47e6acf52cef70db55c70e82 /extra/gcr/build
parent2ca5aa5d258ca8c369258c66386e2d05ecb0c1f3 (diff)
downloadrepository-b9609d25f141209c814a3473deb440d72dc72109.tar.gz
gcr: bump to 3.36.0
Diffstat (limited to 'extra/gcr/build')
-rwxr-xr-xextra/gcr/build25
1 files changed, 9 insertions, 16 deletions
diff --git a/extra/gcr/build b/extra/gcr/build
index dfe13670..74bf84da 100755
--- a/extra/gcr/build
+++ b/extra/gcr/build
@@ -1,21 +1,14 @@
#!/bin/sh -e
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --disable-scheams-compile \
- --disable-update-mime \
- --disable-introspection \
- --disable-update-icon-cache \
- --disable-gir \
- --disable-nls
+export DESTDIR="$1"
-make
+mkdir gcr-build
+cd gcr-build
-# These require gettext to build but
-# there is no way to disable gettext
-# in gcr, so a little hack goes here
+meson \
+ --prefix=/usr \
+ -Dintrospection=false \
+ -Dgtk_doc=false ..
-touch ui/gcr-prompter.desktop ui/gcr-viewer.desktop
-
-make DESTDIR="$1" install
+ninja
+ninja install