1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
3dfa5f381a
media-gfx/opentoonz: fix build, add 1.7.1 2023-07-06 17:41:38 -07:00
13fcaaa9d2
media-gfx/opentoonz: drop 1.5.0, 1.6.0
These versions are now in ::gentoo.
2023-07-06 16:46:12 -07:00
4 changed files with 5 additions and 85 deletions

View File

@ -1,2 +1 @@
DIST opentoonz-1.5.0.tar.gz 54677708 BLAKE2B 9d12f879e0bcc56219659452af4115b6329a7d9eaf72a9be482fd3153a2ce13a5932741c2917ff4f3108f57cb4bc43d89dec1d3dd80c4d2186c011e5c258f172 SHA512 25566bf2d222290eefd1bdde21cfd970d3a2f775279ceaf2618ef73d470e8a6ff943a347a35b998789ac018262d12e4d0d08133316954e64f4a3593d3dd463b6 DIST opentoonz-1.7.1.tar.gz 52852616 BLAKE2B 6a9dc8ca4e13384c550386348a06ac2741a26b1467d9cea22defb3be4bb47ac72727e2ab870027c05f4fc269753c7ce77932e813f535e48d2199f33d2fdba97f SHA512 e33df315b945510c2dbc5aef34b86fa20db571a3196888a1940f3dbb4c5340b8b57cd659abee456e49fc8f4f3d10b6ecfeccc7770ec3193ee3f5e60dad6fe5cf
DIST opentoonz-1.6.0.tar.gz 55011226 BLAKE2B e7e27d530ee8356071d38bb3d58de89edcdc6e7e0b28cdb9ba8f7681eda929e13211664a5502499aa3eccfcf090ad81970e9caef365e762b53b7a57f19310afe SHA512 5ee7b724d51f058867d2c7e9c540e68ee3cb6d1350e32c5fd817b10b92ad79cc2a106d36dccc9234503e62788903e6058841dcd8dc39450c889393d0300636e9

View File

@ -1,81 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/opentoonz/opentoonz.git"
fi
DESCRIPTION="An open-source full-featured 2D animation creation software"
HOMEPAGE="https://opentoonz.github.io/"
LICENSE="BSD libtiff"
SLOT="0"
DEPEND="
app-arch/lz4:=
>=dev-libs/boost-1.55.0:=
dev-libs/lzo:2
>=dev-qt/qtcore-5.9:5
>=dev-qt/qtgui-5.9:5
>=dev-qt/qtmultimedia-5.9:5[widgets]
>=dev-qt/qtnetwork-5.9:5
>=dev-qt/qtopengl-5.9:5
>=dev-qt/qtprintsupport-5.9:5
>=dev-qt/qtscript-5.9:5
>=dev-qt/qtserialport-5.9:5
>=dev-qt/qtsvg-5.9:5
>=dev-qt/qtwidgets-5.9:5
>=dev-qt/qtxml-5.9:5
media-libs/freeglut
media-libs/freetype:2
media-libs/glew:=
media-libs/libjpeg-turbo
>=media-libs/libmypaint-1.3.0:=
media-libs/libpng:=
media-libs/opencv
>=sci-libs/superlu-4.1:=
sys-libs/zlib
virtual/cblas
virtual/libusb:1
virtual/opengl
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-qt/linguist-tools:5
virtual/pkgconfig
"
CMAKE_USE_DIR="${S}/toonz/sources"
src_configure() {
local mycmakeargs=(
-DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
-DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON
)
# The upstream uses their own modified libtiff
# See: https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
cd "thirdparty/tiff-4.0.3" || die
econf \
--with-pic \
--disable-jbig \
--enable-static \
--disable-shared
cmake_src_configure
}
src_compile() {
cd "${S}/thirdparty/tiff-4.0.3" || die
emake
cmake_src_compile
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -60,6 +60,7 @@ src_configure() {
-DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu" -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo" -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON -DCMAKE_SKIP_RPATH=ON
-DWITH_TRANSLATION=OFF # Workaround issue #4840
) )
# The upstream uses their own modified libtiff # The upstream uses their own modified libtiff

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -60,6 +60,7 @@ src_configure() {
-DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu" -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
-DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo" -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
-DCMAKE_SKIP_RPATH=ON -DCMAKE_SKIP_RPATH=ON
-DWITH_TRANSLATION=OFF # Workaround issue #4840
) )
# The upstream uses their own modified libtiff # The upstream uses their own modified libtiff