mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
libspiro, bump to 20240903 (#13267)
This commit is contained in:
@@ -11,14 +11,14 @@ HOMEPAGE="https://github.com/fontforge/libspiro"
|
||||
COPYRIGHT="2007 Raph Levien
|
||||
George Williams"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/fontforge/libspiro/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="22409086ac07b482267c5328acde1956ca84cee8b4fa6c386f89e7014ea331da"
|
||||
CHECKSUM_SHA256="cf0251eb5f3545cce365b727a4a56a2f1292f1ef29245c2045c83e28f8a1df42"
|
||||
|
||||
ARCHITECTURES="all ?x86"
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="1.0.2"
|
||||
libVersion="1.0.5"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -44,9 +44,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libspiro$secondaryArchSuffix \
|
||||
@@ -1,85 +0,0 @@
|
||||
SUMMARY="A library that simplifies the drawing of beautiful curves"
|
||||
DESCRIPTION="LibSpiro is a shared library designed to give programs the \
|
||||
ability to create smooth continuous curves based on a given set of codes and \
|
||||
X,Y constraints.
|
||||
|
||||
The main user(s) of Libspiro are Font editing programs such as FontForge, and \
|
||||
forked copies have been seen in more artistic programs such as InkScape, or \
|
||||
in libraries such as GEGL. There may be other possible uses in future, and \
|
||||
this library has strong potential in graphical and vector type programs."
|
||||
HOMEPAGE="https://github.com/fontforge/libspiro"
|
||||
COPYRIGHT="2007 Raph Levien
|
||||
George Williams"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="3"
|
||||
srcGitRev="8c7a31eda7dbd097fd0fae19ca7c7a67bc489d02"
|
||||
SOURCE_URI="https://github.com/fontforge/libspiro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="79afdbbc15a30a0acc822123476c7713c800776a6e91bd9042ddc19950172cf0"
|
||||
SOURCE_FILENAME="libspiro-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="libspiro-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.0.5"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libspiro0$secondaryArchSuffix = $portVersion
|
||||
lib:libspiro$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libspiro0${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libspiro$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libspiro0$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
libspiro${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libspiro0$secondaryArchSuffix \
|
||||
$libDir/libspiro.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool file
|
||||
rm $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib libspiro
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user