mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:44:36 +08:00
39 lines
974 B
Bash
39 lines
974 B
Bash
pkgname=at-spi2-core
|
|
pkgver=2.26.0
|
|
pkgrel=1
|
|
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
|
|
arch=('x86_64')
|
|
url="http://www.gnome.org"
|
|
license=('GPL2')
|
|
depends=('dbus-core' 'glib2' 'libxtst')
|
|
depends=(dbus glib2 libxtst)
|
|
makedepends=(intltool gobject-introspection git gtk-doc meson)
|
|
_commit=ff911c5dcb5553605b7fa83cae5494de1407ce33 # tags/AT_SPI2_CORE_2_26_0^0
|
|
source=("git+https://git.gnome.org/browse/at-spi2-core#commit=$_commit"
|
|
'0001-meson-Actually-use-the-soversion.patch')
|
|
sha256sums=('SKIP'
|
|
'36f67a3a20bdb63f3ee2199634962a7e93f323d481f8da5801f3ad2a533a9d8e')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
mkdir build
|
|
cd $pkgname
|
|
git apply -3 ../0001-meson-Actually-use-the-soversion.patch
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
meson setup --prefix=/usr --buildtype=release ../$pkgname \
|
|
--sysconfdir=/etc
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
DESTDIR="$pkgdir" ninja install
|
|
}
|