mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
77 lines
2.1 KiB
Bash
77 lines
2.1 KiB
Bash
SUMMARY="Collection of GSettings schemas for GNOME desktop"
|
|
DESCRIPTION="gsettings-desktop-schemas contains a collection of GSettings \
|
|
schemas for settings shared by various components of a desktop."
|
|
HOMEPAGE="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
|
|
COPYRIGHT="Vincent Untz
|
|
Ryan Lortie"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/archive/$portVersion/gsettings-desktop-schemas-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c6baabe8c2c8b56825d0cfcc2ef859e5878a9de100be2894342640c094334517"
|
|
SOURCE_DIR="gsettings-desktop-schemas-$portVersion"
|
|
ADDITIONAL_FILES="00_org.gnome.desktop.interface.gschema.override
|
|
compile-schemas.sh"
|
|
|
|
ARCHITECTURES="ALL !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
POST_INSTALL_SCRIPTS="
|
|
$relativePostInstallDir/compile-schemas.sh
|
|
"
|
|
|
|
PROVIDES="
|
|
gsettings_desktop_schemas$secondaryArchSuffix = $portVersion compat >= 49
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libgirepository_1.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgio_2.0$secondaryArchSuffix
|
|
devel:libgirepository_1.0$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgobject_2.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:meson
|
|
cmd:msgfmt$secondaryArchSuffix
|
|
cmd:msgmerge$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
meson build \
|
|
--buildtype=release \
|
|
--prefix="$prefix" \
|
|
--libdir="$libDir" \
|
|
--includedir="$includeDir" \
|
|
--bindir="$binDir" \
|
|
--libexecdir="$binDir" \
|
|
--datadir="$dataDir" \
|
|
--localedir="$dataDir/locale"
|
|
|
|
ninja -C build
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
ninja install -C build
|
|
|
|
rm -rf $dataDir/glib-2.0/schemas/gschemas.compiled
|
|
cp -f $portDir/additional-files/*.override $dataDir/glib-2.0/schemas
|
|
|
|
mkdir -p $postInstallDir
|
|
cp -f $portDir/additional-files/compile-schemas.sh $postInstallDir
|
|
chmod -v a+rx $postInstallDir/compile-schemas.sh
|
|
}
|