libxpm, bump to 3.5.17 (#13564)

This commit is contained in:
Schrijvers Luc
2026-01-02 08:52:30 +01:00
committed by GitHub
parent bbf37ee0e1
commit 78574333f5

View File

@@ -6,14 +6,15 @@ community. \
The X.Org Foundation is the educational non-profit corporation whose \
Board serves this effort, and whose Members lead this work."
HOMEPAGE="https://www.x.org/"
COPYRIGHT="1989-95 GROUPE BULL
COPYRIGHT="2023 Oracle and/or its affiliates.
1989-95 GROUPE BULL
1998 Arnaud LE HORS
1996 Lorens Younes"
# TODO: check all the licenses in the COPYING file in the next century.
LICENSE="MIT"
REVISION="5"
SOURCE_URI="https://www.x.org/releases/individual/lib/libXpm-$portVersion.tar.bz2"
CHECKSUM_SHA256="fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec"
REVISION="1"
SOURCE_URI="https://www.x.org/releases/individual/lib/libXpm-$portVersion.tar.xz"
CHECKSUM_SHA256="64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43"
SOURCE_DIR="libXpm-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -31,8 +32,6 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libxpm$secondaryArchSuffix = $portVersion
cmd:cxpm$commandSuffix
cmd:sxpm$commandSuffix
lib:libXpm$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
@@ -52,6 +51,21 @@ REQUIRES_devel="
devel:libX11$secondaryArchSuffix
"
PROVIDES_tools="
libxpm${secondaryArchSuffix}_tools = $portVersion
cmd:cxpm$commandSuffix
cmd:sxpm$commandSuffix
"
REQUIRES_tools="
libxpm$secondaryArchSuffix == $portVersion base
$REQUIRES
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
libxpm_doc
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libintl$secondaryArchSuffix
@@ -67,6 +81,7 @@ BUILD_PREREQUIRES="
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:xgettext$secondaryArchSuffix
"
defineDebugInfoPackage libxpm$secondaryArchSuffix \
@@ -84,18 +99,26 @@ INSTALL()
{
make install
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README
install -m 0755 -d "$documentationDir/packages/libxpm"
install -m 0644 -t "$documentationDir/packages/libxpm" doc/README.html
# remove libtool library file
rm $libDir/libXpm.la
prepareInstalledDevelLib libXpm
prepareInstalledDevelLib \
libXpm
fixPkgconfig
packageEntries devel \
$developDir
$developDir \
$manDir/man3
packageEntries tools \
$commandBinDir \
$manDir
packageEntries doc \
$documentationDir
}
TEST()