libart_lgpl, disable static library, fix build (#8332)

This commit is contained in:
Schrijvers Luc
2023-04-11 12:34:12 +02:00
committed by GitHub
parent bd20bdeed3
commit af2b899554

View File

@@ -1,6 +1,5 @@
SUMMARY="A library for high-performance 2D graphics"
DESCRIPTION="
Libart is free software (all components are either GPL or LGPL). Libart is \
DESCRIPTION="Libart is free software (all components are either GPL or LGPL). Libart is \
also available for commercial licensing.
Libart supports a very powerful imaging model, basically the same as SVG and \
the Java 2D API. It includes all PostScript imaging operations, and adds \
@@ -8,14 +7,13 @@ antialiasing and alpha-transparency.
Libart is also highly tuned for incremental rendering. It contains data \
structures and algorithms suited to rapid, precise computation of Region of \
Interest, as well as a two-phase rendering pipeline optimized for interactive \
display.
"
display."
HOMEPAGE="https://www.levien.com/libart/"
COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien"
LICENSE="GNU LGPL v2.1"
REVISION="2"
SOURCE_URI="ftp://ftp.gnome.org/pub/gnome/sources/libart_lgpl/${portVersion%.*}/libart_lgpl-$portVersion.tar.gz"
CHECKSUM_SHA256="2a10b1c884bb37c7bd5c5eba59dbd0d28bf68e64a42d7f2083c836f60f8e98fa"
REVISION="3"
SOURCE_URI="https://download.gnome.org/sources/libart_lgpl/${portVersion%.*}/libart_lgpl-$portVersion.tar.bz2"
CHECKSUM_SHA256="fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -29,12 +27,12 @@ REQUIRES="
"
PROVIDES_devel="
libart_lgpl_2$secondaryArchSuffix = $portVersion
libart_lgpl${secondaryArchSuffix}_devel = $portVersion
cmd:libart2_config$secondaryArchSuffix = $portVersion compat >= 2
devel:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
"
REQUIRES_devel="
libart_lgpl_2$secondaryArchSuffix == $portVersion base
libart_lgpl$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
@@ -53,7 +51,7 @@ BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -62,7 +60,7 @@ INSTALL()
make install
# prepare devel/lib
prepareInstalledDevelLibs libart_lgpl_2
prepareInstalledDevelLib libart_lgpl_2
# devel package
packageEntries devel \