yelp-xsl, new recipe, dependency for yelp (#13914)

This commit is contained in:
Schrijvers Luc
2026-04-06 15:30:14 +02:00
committed by GitHub
parent e409935ea7
commit 8a026cddc8

View File

@@ -0,0 +1,59 @@
SUMMARY="XSL stylesheets for yelp"
DESCRIPTION="Document transformations from Yelp."
HOMEPAGE="https://gitlab.gnome.org/GNOME/yelp-xsl"
COPYRIGHT="2004 Shaun McCance"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://gitlab.gnome.org/GNOME/yelp-xsl/-/archive/$portVersion/yelp-xsl-$portVersion.tar.bz2"
CHECKSUM_SHA256="741e5839ecbf5121045a0c58f92fc1326ee12d25aac6c91643f58dbb508ad83a"
SOURCE_DIR="yelp-xsl-$portVersion"
#PATCHES="projectx-$portVersion.patchset"
#ADDITIONAL_FILES="projectx.rdef"
ARCHITECTURES="?all ?x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
libVersion="$portVersion"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
yelp_xsl$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libintl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:itstool
cmd:meson
cmd:msgfmt$secondaryArchSuffix
cmd:msgmerge$secondaryArchSuffix
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
cmd:xsltproc
"
BUILD()
{
meson --buildtype=release \
--prefix=$prefix \
--bindir=$commandBinDir \
build
ninja -C build $jobArgs
}
INSTALL()
{
ninja -C build install
}
TEST()
{
make check
}