atk: bump version (#2177)

This commit is contained in:
miqlas
2018-02-13 09:12:48 +01:00
committed by Jérôme Duval
parent a94df4f40b
commit c0b79041e2

View File

@@ -0,0 +1,89 @@
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-2014 ATK Team
2014 SUSE LLC."
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://ftp.gnome.org/pub/GNOME/sources/atk/2.27/atk-$portVersion.tar.xz"
CHECKSUM_SHA256="673a953987b301ab1e24e7d11677b6e7ba3226411a168449ba946765b6d44297"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
atk$secondaryArchSuffix = $portVersion
lib:libatk_1.0 = 0.22710.1 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgobject_2.0$secondaryArchSuffix
lib:gtk_doc$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
cmd:gettext$secondaryArchSuffix
"
PROVIDES_devel="
atk${secondaryArchSuffix}_devel = $portVersion
devel:libatk_1.0 = 0.22710.1 compat >= 0
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel
atk$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:python2
"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
rm $libDir/libatk-1.0.la
prepareInstalledDevelLib libatk-1.0
fixPkgconfig
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $dataDir/gtk-doc
fi
packageEntries devel \
$developDir
}
TEST()
{
make check
cd tests
./teststateset
./testrelation
./testrole
./testvalue
./testdocument
}