mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libresprite, revbump, drop gtest, fix build for cmake >= 4 (#12837)
This commit is contained in:
@@ -4,7 +4,7 @@ HOMEPAGE="https://libresprite.github.io"
|
||||
COPYRIGHT="2001-2016 David Capello and Aseprite contributors
|
||||
2016-2024 LibreSprite contributors"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="5"
|
||||
REVISION="6"
|
||||
srcGitRev="c99d3666b17ff731824e3eccc79cf3ec48564ad5"
|
||||
SOURCE_URI="https://github.com/LibreSprite/LibreSprite/archive/$srcGitRev.zip"
|
||||
CHECKSUM_SHA256="29c4e8013b2f25ce47b01a6b3890e1b7cd575a6b7c475f055b716de0e9a66c90"
|
||||
@@ -55,7 +55,6 @@ REQUIRES="
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libgif$secondaryArchSuffix
|
||||
lib:libgtest$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libpixman_1$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
@@ -74,7 +73,6 @@ BUILD_REQUIRES="
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libgif$secondaryArchSuffix
|
||||
devel:libgtest$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpixman_1$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
@@ -102,16 +100,18 @@ BUILD()
|
||||
ln -sfr ../../sources-6/observable-$srcGitRev_6/ ./src/observable
|
||||
ln -sfr ../../sources-7/undo-$srcGitRev_7/ ./src/undo
|
||||
|
||||
cmake -Bbuild -S. -G Ninja \
|
||||
cmake -B build -S . -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DCMAKE_EXE_LINKER_FLAGS=-lnetwork
|
||||
ninja -Cbuild libresprite
|
||||
|
||||
ninja -C build libresprite
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ninja -Cbuild install libresprite
|
||||
ninja -C build install libresprite
|
||||
|
||||
addAppDeskbarSymlink $prefix/bin/libresprite LibreSprite
|
||||
|
||||
|
||||
Reference in New Issue
Block a user