mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
101 lines
2.3 KiB
Bash
101 lines
2.3 KiB
Bash
SUMMARY="A simple key/value storage for reading"
|
|
DESCRIPTION="dconf is a simple key/value storage system \
|
|
that is heavily optimised for reading. \
|
|
This makes it an ideal system for storing user preferences \
|
|
(which are read 1000s of times for each time the user changes one). \
|
|
It was created with this usecase in mind."
|
|
HOMEPAGE="https://gitlab.gnome.org/GNOME/dconf/"
|
|
COPYRIGHT="2010 Ryan Lortie
|
|
2010 Tomasz Miąsko"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://gitlab.gnome.org/GNOME/dconf/-/archive/$portVersion/dconf-$portVersion.zip"
|
|
CHECKSUM_SHA256="7343f51a5d7e5c28d41fc0333888187e4b48aaa90697824a823a6e68ab961897"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion=1.0.0
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%,*}"
|
|
|
|
PROVIDES="
|
|
dconf$secondaryArchSuffix = $portVersion
|
|
cmd:dconf$secondaryArchSuffix
|
|
cmd:dconf_service$secondaryArchSuffix
|
|
lib:libdconf$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libdbus_1$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
dconf${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdconf$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
dconf$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
bash_completion
|
|
docbook_xml_dtd
|
|
docbook_xsl_stylesheets
|
|
devel:libdbus_1$secondaryArchSuffix
|
|
devel:libgio_2.0$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgobject_2.0$secondaryArchSuffix
|
|
gobject_introspection${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
# cmd:dbus-daemon
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:valac
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python3
|
|
cmd:xsltproc
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
meson build \
|
|
--buildtype=release \
|
|
--prefix=$prefix \
|
|
--bindir=$binDir \
|
|
--datadir=$dataDir \
|
|
--includedir=$includeDir \
|
|
--libdir=$libDir \
|
|
--libexecdir=$libDir \
|
|
--localedir=$dataDir/locale \
|
|
--mandir=$manDir
|
|
|
|
ninja -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
ninja -C build install
|
|
|
|
rm -rf $libDir/gio $libDir/systemd
|
|
mv $libDir/dconf-service $binDir
|
|
|
|
prepareInstalledDevelLib libdconf
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
Test()
|
|
{
|
|
ninja test -C build
|
|
}
|