Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/opentoonz/
Date: Sat, 08 Feb 2020 07:58:14
Message-Id: 1581148677.187db72c0fb22b29e4bc5ea2536081049d2124bc.juippis@gentoo
1 commit: 187db72c0fb22b29e4bc5ea2536081049d2124bc
2 Author: Tact Yoshida <otakuto.gentoo <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 1 16:44:41 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 8 07:57:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187db72c
7
8 media-gfx/opentoonz: version bump to 1.4.0
9
10 Signed-off-by: Tact Yoshida <otakuto.gentoo <AT> gmail.com>
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Closes: https://github.com/gentoo/gentoo/pull/14523
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 media-gfx/opentoonz/Manifest | 1 +
16 media-gfx/opentoonz/opentoonz-1.4.0.ebuild | 86 ++++++++++++++++++++++++++++++
17 2 files changed, 87 insertions(+)
18
19 diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest
20 index b73d0599390..fdd5434d27f 100644
21 --- a/media-gfx/opentoonz/Manifest
22 +++ b/media-gfx/opentoonz/Manifest
23 @@ -1,3 +1,4 @@
24 DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08 SHA512 800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e
25 DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b SHA512 3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44
26 DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08 SHA512 5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71
27 +DIST opentoonz-1.4.0.tar.gz 53531141 BLAKE2B adb7a85fb0581d92119b5f6b75dc320428ea0763955f8c883072cba78045acdeea75a5cea82065a29d2c59f53b4843d8ff92690c9a47c01605b4702fd36d6c13 SHA512 777f5d59ec8076e1e53a81347e15bef198bea77449073f1e9d5fdd371a61e20fd6dc8b26c6656c783959782bd71008fbb63c05742aaa50c92bd317aded7d0649
28
29 diff --git a/media-gfx/opentoonz/opentoonz-1.4.0.ebuild b/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
30 new file mode 100644
31 index 00000000000..16a8634aa4c
32 --- /dev/null
33 +++ b/media-gfx/opentoonz/opentoonz-1.4.0.ebuild
34 @@ -0,0 +1,86 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit cmake-utils xdg-utils
41 +
42 +DESCRIPTION="An open-source full-featured 2D animation creation software"
43 +HOMEPAGE="https://github.com/opentoonz/opentoonz"
44 +SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="BSD libtiff"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +BDEPEND="
51 + dev-qt/linguist-tools:5
52 + virtual/pkgconfig
53 +"
54 +RDEPEND="
55 + app-arch/lz4:=
56 + >=dev-libs/boost-1.55.0:=
57 + dev-libs/lzo:2
58 + >=dev-qt/qtcore-5.9:5
59 + >=dev-qt/qtgui-5.9:5
60 + >=dev-qt/qtmultimedia-5.9:5[widgets]
61 + >=dev-qt/qtnetwork-5.9:5
62 + >=dev-qt/qtopengl-5.9:5
63 + >=dev-qt/qtprintsupport-5.9:5
64 + >=dev-qt/qtscript-5.9:5
65 + >=dev-qt/qtsvg-5.9:5
66 + >=dev-qt/qtwidgets-5.9:5
67 + >=dev-qt/qtxml-5.9:5
68 + media-libs/freeglut
69 + media-libs/freetype:2
70 + media-libs/glew:=
71 + media-libs/libjpeg-turbo
72 + >=media-libs/libmypaint-1.3.0:=
73 + media-libs/libpng:=
74 + >=sci-libs/superlu-4.1:=
75 + sys-libs/zlib
76 + virtual/cblas
77 + virtual/libusb:1
78 + virtual/opengl
79 +"
80 +DEPEND="
81 + ${RDEPEND}
82 +"
83 +
84 +CMAKE_USE_DIR="${S}"/toonz/sources
85 +CMAKE_MAKEFILE_GENERATOR=emake
86 +
87 +src_configure() {
88 + local mycmakeargs=(
89 + -DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a"
90 + -DSUPERLU_INCLUDE_DIR="${EPREFIX}/usr/include/superlu"
91 + -DLZO_INCLUDE_DIR="${EPREFIX}/usr/include/lzo"
92 + -DCMAKE_SKIP_RPATH=ON
93 + )
94 +
95 + # The upstream uses their own modified libtiff
96 + # See: https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff
97 + cd thirdparty/tiff-4.0.3 || die
98 + econf \
99 + --with-pic \
100 + --disable-jbig \
101 + --enable-static \
102 + --disable-shared
103 +
104 + cmake-utils_src_configure
105 +}
106 +
107 +src_compile() {
108 + cd "${S}"/thirdparty/tiff-4.0.3 || die
109 + emake
110 +
111 + cmake-utils_src_compile
112 +}
113 +
114 +pkg_postinst() {
115 + xdg_icon_cache_update
116 +}
117 +
118 +pkg_postrm() {
119 + xdg_icon_cache_update
120 +}