96 lines
2.2 KiB
Bash
96 lines
2.2 KiB
Bash
SUMMARY="X Font rasterisation library"
|
|
DESCRIPTION="libxfont provides an X Window System client interface to \
|
|
the RandR extension to the X protocol. \
|
|
The RandR extension allows for run-time configuration of display attributes \
|
|
such as resolution, rotation, and reflection."
|
|
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
|
COPYRIGHT="2000, Compaq Computer Corporation.
|
|
2002 Hewlett-Packard Company, Inc.
|
|
2006 Intel Corporation
|
|
2008 Red Hat, Inc.
|
|
2011 Dave Airlie
|
|
2006 Keith Packard"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="3"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXfont-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242"
|
|
SOURCE_DIR="libXfont-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="1.4.1"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libxfont$secondaryArchSuffix = $portVersion
|
|
lib:libXfont$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfontenc$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxfont${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libXfont$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libxfont$secondaryArchSuffix == $portVersion base
|
|
devel:fontsproto
|
|
devel:libfontenc$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:xproto
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
docbook_xml_dtd
|
|
docbook_xsl_stylesheets
|
|
devel:fontsproto
|
|
devel:libfontenc$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:util_macros
|
|
devel:xorg_sgml_doctools
|
|
devel:xproto
|
|
devel:xtrans
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xmlto
|
|
"
|
|
|
|
defineDebugInfoPackage libxfont$secondaryArchSuffix \
|
|
$libDir/libXfont.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
export LDFLAGS="-lnetwork"
|
|
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libXfont
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|