1 # Build recipe for at-spi2-atk.
3 # Copyright (C) 2018, MMPG <mmpg@vp.pl>
4 # Copyright (C) 2018-2019, 2021 Matias Fonzo, <selk@dragora.org>.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # Exit immediately on any error
25 # Define a category for the output of the package name
28 tarname=${program}-${version}.tar.xz
31 fetch="http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/${version%.*}/$tarname"
34 A GTK+ module that bridges ATK to the new D-Bus based AT-SPI.
36 This package includes libatk-bridge, a library that bridges ATK to the
37 new D-Bus based AT-SPI, as well as a corresponding module for gtk+ 2.x.
38 Gtk+ 3.x now links against libatk-bridge directly rather than requiring
39 it to be loaded as a module.
41 These libraries depend on the at-spi2-core code that contains the
42 daemon for registering applications, D-Bus helper libraries and the
43 AT-SPI D-Bus specifications.
46 homepage=http://wiki.gnome.org/Accessibility/
49 docs="AUTHORS COPYING NEWS README"
50 docsdir="${docdir}/${program}-${version}"
54 unpack "${tardir}/$tarname"
58 # Set sane permissions
59 chmod -R u+w,go-w,a+rX-s .
64 CPPFLAGS="$QICPPFLAGS" CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
65 meson setup $configure_args \
66 --libdir /usr/lib${libSuffix} \
72 DESTDIR="$destdir" ninja -j${jobs} install
77 mkdir -p "${destdir}${docsdir}"
78 cp -p $docs "${destdir}${docsdir}"