Update package version to 2.60.4
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: at-spi2-core
|
||||
description: Base DBus XML interfaces for accessibility, the accessibility registry daemon, and atspi library
|
||||
version: 2.60.3
|
||||
revision: 2
|
||||
version: 2.60.4
|
||||
revision: 1
|
||||
url: https://gitlab.gnome.org/GNOME/at-spi2-core
|
||||
license: LGPL2.1-or-later
|
||||
maintainers:
|
||||
@@ -28,4 +28,4 @@ downloads:
|
||||
- url: https://download.gnome.org/sources/at-spi2-core/${BPM_PKG_VERSION%.*}/at-spi2-core-${BPM_PKG_VERSION}.tar.xz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 21056bc04e43e8ed34fdafd916a0ddcc29ec03a4ce6cf5aacac1ddf6ef185ef7
|
||||
checksum: 1a1f5ba9805917f41fc6aa6823dcf887a291d607a427e2d5afb6b5dfa65070c7
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
--- meson.build
|
||||
+++ meson.build
|
||||
@@ -165,9 +165,9 @@
|
||||
endif
|
||||
xinput_dep = dependency('xi')
|
||||
x11_deps += xinput_dep
|
||||
|
||||
- xres_dep = dependency('xres', required: false)
|
||||
+ xres_dep = dependency('xres', required: get_option('xres'))
|
||||
at_spi_conf.set('HAVE_XRES', xres_dep.found())
|
||||
endif
|
||||
|
||||
# Alignments
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
--- meson_options.txt
|
||||
+++ meson_options.txt
|
||||
@@ -39,8 +39,12 @@
|
||||
option('x11',
|
||||
description: 'Enable X11 support',
|
||||
type: 'feature',
|
||||
value: 'auto')
|
||||
+option('xres',
|
||||
+ description: 'Build with Xres',
|
||||
+ type: 'feature',
|
||||
+ value: 'auto')
|
||||
option('atk_only',
|
||||
description: 'Build only the ATK stub library without atspi or at-spi2-atk (UNSUPPORTED)',
|
||||
type: 'boolean',
|
||||
value: false)
|
||||
@@ -2,10 +2,17 @@
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
cd "$BPM_SOURCE"
|
||||
patch -Np1 -i "$BPM_WORKDIR"/add-xres-toggle.diff
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Duse_systemd=false build
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Duse_systemd=false -Dxres=disabled build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user