mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
88 lines
1.9 KiB
Bash
88 lines
1.9 KiB
Bash
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="2"
|
|
SOURCE_URI="https://ftp.gnome.org/pub/GNOME/sources/atk/2.23/atk-2.23.4.tar.xz"
|
|
CHECKSUM_SHA256="6888f4e902fc4727b1687ff512d5d087050f4c0d11035566484988cf698c2c1a"
|
|
PATCHES="atk-$portVersion.patch"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
atk$secondaryArchSuffix = $portVersion
|
|
lib:libatk_1.0 = 0.22313.1 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
cmd:gettext$secondaryArchSuffix
|
|
lib:gtk_doc$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
atk${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libatk_1.0 = 0.22313.1 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
atk$secondaryArchSuffix == $portVersion base
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
|
|
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
|
|
"
|
|
|
|
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
|
|
}
|