1 |
commit: 4fa38b7027ee1cd1ecf08d7fc1a35e8aa019fa82 |
2 |
Author: Tact Yoshida <otakuto.gentoo <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Mar 1 19:15:40 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 07:35:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa38b70 |
7 |
|
8 |
media-gfx/opentoonz: version bump to 1.3.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/677030 |
11 |
Signed-off-by: Tact Yoshida <otakuto.gentoo <AT> gmail.com> |
12 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/10975 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
media-gfx/opentoonz/Manifest | 1 + |
17 |
media-gfx/opentoonz/opentoonz-1.3.0.ebuild | 87 ++++++++++++++++++++++++++++++ |
18 |
2 files changed, 88 insertions(+) |
19 |
|
20 |
diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest |
21 |
index 19f8c7123f0..b73d0599390 100644 |
22 |
--- a/media-gfx/opentoonz/Manifest |
23 |
+++ b/media-gfx/opentoonz/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08 SHA512 800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e |
26 |
DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b SHA512 3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44 |
27 |
+DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08 SHA512 5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71 |
28 |
|
29 |
diff --git a/media-gfx/opentoonz/opentoonz-1.3.0.ebuild b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..a73803cb0e0 |
32 |
--- /dev/null |
33 |
+++ b/media-gfx/opentoonz/opentoonz-1.3.0.ebuild |
34 |
@@ -0,0 +1,87 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit cmake-utils gnome2-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 |
+IUSE="" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ app-arch/lz4:= |
53 |
+ >=dev-libs/boost-1.55.0:= |
54 |
+ dev-libs/lzo:2 |
55 |
+ >=dev-qt/qtcore-5.9:5 |
56 |
+ >=dev-qt/qtgui-5.9:5 |
57 |
+ >=dev-qt/qtmultimedia-5.9:5[widgets] |
58 |
+ >=dev-qt/qtnetwork-5.9:5 |
59 |
+ >=dev-qt/qtopengl-5.9:5 |
60 |
+ >=dev-qt/qtprintsupport-5.9:5 |
61 |
+ >=dev-qt/qtscript-5.9:5 |
62 |
+ >=dev-qt/qtsvg-5.9:5 |
63 |
+ >=dev-qt/qtwidgets-5.9:5 |
64 |
+ >=dev-qt/qtxml-5.9:5 |
65 |
+ media-libs/freeglut |
66 |
+ media-libs/freetype:2 |
67 |
+ media-libs/glew:= |
68 |
+ media-libs/libjpeg-turbo |
69 |
+ >=media-libs/libmypaint-1.3.0:= |
70 |
+ media-libs/libpng:= |
71 |
+ media-libs/libsdl2 |
72 |
+ sci-libs/cblas-reference |
73 |
+ >=sci-libs/superlu-4.1:= |
74 |
+ sys-libs/zlib:= |
75 |
+ virtual/libusb:= |
76 |
+ virtual/opengl |
77 |
+" |
78 |
+DEPEND=" |
79 |
+ ${RDEPEND} |
80 |
+ dev-qt/linguist-tools:5 |
81 |
+ virtual/pkgconfig |
82 |
+" |
83 |
+ |
84 |
+CMAKE_USE_DIR="${S}"/toonz/sources |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local mycmakeargs=( |
88 |
+ -DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a" |
89 |
+ -DSUPERLU_INCLUDE_DIR="${EPREFIX%/}/usr/include/superlu" |
90 |
+ -DLZO_INCLUDE_DIR="${EPREFIX%/}/usr/include/lzo" |
91 |
+ -DCMAKE_SKIP_RPATH=ON |
92 |
+ ) |
93 |
+ |
94 |
+ # The upstream uses their own modified libtiff |
95 |
+ # See: https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md#building-libtiff |
96 |
+ cd thirdparty/tiff-4.0.3 || die |
97 |
+ econf \ |
98 |
+ --with-pic \ |
99 |
+ --disable-jbig \ |
100 |
+ --enable-static \ |
101 |
+ --disable-shared |
102 |
+ |
103 |
+ cmake-utils_src_configure |
104 |
+} |
105 |
+ |
106 |
+src_compile() { |
107 |
+ cd "${S}"/thirdparty/tiff-4.0.3 || die |
108 |
+ emake |
109 |
+ |
110 |
+ cmake-utils_src_compile |
111 |
+} |
112 |
+ |
113 |
+pkg_postinst() { |
114 |
+ xdg_desktop_database_update |
115 |
+ gnome2_icon_cache_update |
116 |
+} |
117 |
+ |
118 |
+pkg_postrm() { |
119 |
+ xdg_desktop_database_update |
120 |
+ gnome2_icon_cache_update |
121 |
+} |