1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake xdg-utils
8 DESCRIPTION="An open-source full-featured 2D animation creation software"
9 HOMEPAGE="https://github.com/opentoonz/opentoonz"
10 SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 dev-qt/linguist-tools:5
22 >=dev-libs/boost-1.55.0:=
26 >=dev-qt/qtmultimedia-5.9:5[widgets]
27 >=dev-qt/qtnetwork-5.9:5
28 >=dev-qt/qtopengl-5.9:5
29 >=dev-qt/qtprintsupport-5.9:5
30 >=dev-qt/qtscript-5.9:5
32 >=dev-qt/qtwidgets-5.9:5
37 media-libs/libjpeg-turbo
38 >=media-libs/libmypaint-1.3.0:=
40 >=sci-libs/superlu-4.1:=
50 CMAKE_USE_DIR="${S}"/toonz/sources
51 CMAKE_MAKEFILE_GENERATOR=emake
55 -DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
56 -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
57 -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
61 # The upstream uses their own modified libtiff
62 # See: https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
63 cd thirdparty/tiff-4.0.3 || die
74 cd "${S}"/thirdparty/tiff-4.0.3 || die