mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
opentoonz: update to 1.7.1.
This commit is contained in:
parent
f22716f0d5
commit
fad3925860
2 changed files with 22 additions and 5 deletions
10
srcpkgs/opentoonz/patches/musl.patch
Normal file
10
srcpkgs/opentoonz/patches/musl.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- a/toonz/sources/common/tiio/tiio_jpg_exif.cpp
|
||||||
|
+++ b/toonz/sources/common/tiio/tiio_jpg_exif.cpp
|
||||||
|
@@ -8,6 +8,7 @@
|
||||||
|
#include "tiio_jpg_exif.h"
|
||||||
|
#include <iostream>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
|
||||||
|
// for debug
|
||||||
|
#define ShowTags 0
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'opentoonz'
|
# Template file for 'opentoonz'
|
||||||
pkgname=opentoonz
|
pkgname=opentoonz
|
||||||
version=1.6.0
|
version=1.7.1
|
||||||
revision=2
|
revision=1
|
||||||
build_wrksrc="toonz/sources"
|
build_wrksrc="toonz/sources"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
make_cmd=make
|
make_cmd=make
|
||||||
|
@ -15,15 +15,22 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://opentoonz.github.io/e/"
|
homepage="https://opentoonz.github.io/e/"
|
||||||
distfiles="https://github.com/opentoonz/opentoonz/archive/v${version}.tar.gz"
|
distfiles="https://github.com/opentoonz/opentoonz/archive/v${version}.tar.gz"
|
||||||
checksum=9a6c28cb3933756dbebb45e849bdafc9e6d93d0328c4fd4d7bc8ec3ae481f684
|
checksum=d0daf60d06510efe15d0db3f9eed0162499ed58061504dca27892c2b9ea5f22d
|
||||||
|
|
||||||
export CMAKE_GENERATOR="Unix Makefiles"
|
export CMAKE_GENERATOR="Unix Makefiles"
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
makedepends+=" libexecinfo-devel"
|
||||||
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Upstream uses their own modified version of tiff
|
# Upstream uses their own modified version of tiff
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args="-DTIFF_LIBRARY=${wrksrc}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a
|
configure_args+="
|
||||||
-DTIFF_INCLUDE_DIR=${wrksrc}/thirdparty/tiff-4.0.3/libtiff"
|
-DTIFF_LIBRARY=${wrksrc}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a
|
||||||
|
-DTIFF_INCLUDE_DIR=${wrksrc}/thirdparty/tiff-4.0.3/libtiff
|
||||||
|
"
|
||||||
_args="--host=${XBPS_TRIPLET}"
|
_args="--host=${XBPS_TRIPLET}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue