mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
* cmake/debuginfo: Mass fix packages with broken debuginfo * rtl_sdr: Fix trailing whitespace * meson/debuginfo: Mass fix packages with broken debuginfo * clean up conflicts --------- Co-authored-by: Luc Schrijvers <begasus@gmail.com>
97 lines
2.3 KiB
Bash
97 lines
2.3 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-2018 ATK Team
|
|
2014 SUSE LLC."
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="4"
|
|
SOURCE_URI="https://ftp.gnome.org/pub/GNOME/sources/atk/${portVersion%.*}/atk-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="ac4de2a4ef4bd5665052952fe169657e65e895c5057dffb3c2a810f6191a0c36"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="0.23809.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:libgirepository_1.0$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgobject_2.0$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgirepository_1.0$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage atk$secondaryArchSuffix \
|
|
"$libDir"/libatk-1.0.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
meson build . \
|
|
--buildtype=debugoptimized \
|
|
--prefix=$prefix \
|
|
--libdir=$libDir \
|
|
--includedir=$includeDir \
|
|
--localedir=$dataDir/locale \
|
|
--datadir=$dataDir \
|
|
-Dintrospection=true
|
|
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
|
|
}
|