Files
haikuports/gnome-extra/gucharmap/gucharmap-17.0.0.recipe

97 lines
2.6 KiB
Bash

SUMMARY="Unicode character picker and font browser"
DESCRIPTION="This program allows you to browse through all the available Unicode characters and \
categories for the installed fonts, and to examine their detailed properties.
It is an easy way to find the character you might only know by its Unicode name or code point."
HOMEPAGE="https://gitlab.gnome.org/GNOME/gucharmap/"
COPYRIGHT="2004 Noah Levitt
1991-2022 Unicode, Inc.
2007-2022 Christian Persch
2016, 2020 DaeHyun Sung"
LICENSE="GNU GPL v3
GNU FDL v3.1
Unicode"
REVISION="1"
SOURCE_URI="https://gitlab.gnome.org/GNOME/gucharmap/-/archive/$portVersion/gucharmap-$portVersion.tar.bz2"
CHECKSUM_SHA256="09988f67ae82d057a993ab21df2ac94503a8a836da5f8e36e5e8864d8d45a295"
PATCHES="gucharmap-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gucharmap$secondaryArchSuffix = $portVersion
cmd:gucharmap = $portVersion
lib:libgucharmap_2_90$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
unicode_character_database
lib:libatk_1.0$secondaryArchSuffix
lib:libcairo$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libgio_2.0$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgtk_3$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libpango_1.0$secondaryArchSuffix
lib:libpcre2_8$secondaryArchSuffix
"
PROVIDES_devel="
gucharmap${secondaryArchSuffix}_devel = $portVersion
devel:libgucharmap_2_90$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
gucharmap$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libatk_1.0$secondaryArchSuffix
devel:libcairo$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libgio_2.0$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libgtk_3$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libpango_1.0$secondaryArchSuffix
devel:libpcre2_8$secondaryArchSuffix
"
BUILD_PREREQUIRES="
unicode_character_database
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:itstool
cmd:make
cmd:meson
cmd:msgfmt$secondaryArchSuffix
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
meson Build --buildtype=release \
--prefix=/$prefix \
--libdir=$libDir \
--datadir=$dataDir \
--includedir=$includeDir \
--localedir=$dataDir/locale \
-Ducd_path=$portPackageLinksDir/unicode_character_database/data/unicode/ucd \
-Ddocs=false \
-Dgir=false \
-Dvapi=false
make -C Build
}
INSTALL()
{
make -C Build install
prepareInstalledDevelLib libgucharmap_2_90
fixPkgconfig
packageEntries devel \
$developDir
}