atk, bump version (#3715)

* atk, bump version
This commit is contained in:
Schrijvers Luc
2019-05-24 14:15:30 +02:00
committed by GitHub
parent f74834a7b2
commit 972ef75244
2 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
SUMMARY="GTK+ & GNOME Accessibility Toolkit"
DESCRIPTION="Provides the set of accessibility interface that are implemented \
by other toolkits and applications. Using the ATK interfaces, accessibility \
tools have full access to view and control running applications."
HOMEPAGE="https://developer.gnome.org/atk/"
COPYRIGHT="2001-2003, 2006-2007 Sun Microsystems Inc.
2009 Novell, Inc.
2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
2012-2018 ATK Team
2014 SUSE LLC."
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://ftp.gnome.org/pub/GNOME/sources/atk/${portVersion%.*}/atk-$portVersion.tar.xz"
CHECKSUM_SHA256="cb41feda7fe4ef0daa024471438ea0219592baf7c291347e5a858bb64e4091cc"
PATCHES="atk-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
libVersion="0.23209.1"
libVersionCompat="$libVersion compat >= 0"
PROVIDES="
atk$secondaryArchSuffix = $portVersion
lib:libatk_1.0$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
# lib:libgirepository_1.0$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgobject_2.0$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
PROVIDES_devel="
atk${secondaryArchSuffix}_devel = $portVersion
devel:libatk_1.0$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
atk$secondaryArchSuffix == $portVersion base
devel:libglib_2.0$secondaryArchSuffix
devel:libgobject_2.0$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
setuptools_python
# devel:libgirepository_1.0$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:meson
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
cmd:python
"
defineDebugInfoPackage atk$secondaryArchSuffix \
"$libDir"/libatk-1.0.so.$libVersion
BUILD()
{
meson --buildtype=release --prefix=$prefix \
--libdir=$libDir --includedir=$includeDir \
--localedir=$dataDir/locale --datadir=$dataDir \
_build .
ninja -C _build $jobArgs
}
INSTALL()
{
ninja -C _build install
prepareInstalledDevelLib libatk-1.0
fixPkgconfig
packageEntries devel \
$developDir
}
TEST()
{
cd _build/tests
./teststateset
./testrelation
./testrole
./testvalue
./testdocument
}

View File

@@ -0,0 +1,19 @@
From ffa277b5daba5dd3f646567b117782e5272dc304 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Tue, 26 Mar 2019 07:58:18 +0100
Subject: disable introspection
diff --git a/meson_options.txt b/meson_options.txt
index c4542dc..4f50711 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -5,4 +5,4 @@ option('docs',
option('introspection',
description: 'Whether to build introspection files',
type: 'boolean',
- value: true)
+ value: false)
--
2.19.1