forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-gfx/opentoonz: version bump to 1.3.0
Closes: https://bugs.gentoo.org/677030 Signed-off-by: Tact Yoshida <[email protected]> Package-Manager: Portage-2.3.52, Repoman-2.3.12 Closes: gentoo#10975 Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST opentoonz-1.1.2.tar.gz 36777909 BLAKE2B d822218c5ea1843a50da8d799bd9edf6998bd424ec2b65600371a0ae9f69aaea0d1c45aa53c3a0287c67459b8101a82bc0c339510859f4fbac3a116c9671df08 SHA512 800a741cb40e7dede79ef92705fc8fe3a23524c8a4397c30f80a81a7513c98606fb1bb5574188969ba08cfe8995d679f9fc5ecb696a6ac14c48aa2646a2c871e | ||
DIST opentoonz-1.2.1.tar.gz 39843446 BLAKE2B f9035bab5c6fa1d86459b401ca94acbffe8e38a2f5ec2bc97f303c7e829b9f6695480e7ab7a7560909f6ce45109ca1704d5020ff774964b5ed72b1b01588e93b SHA512 3eaf5983b5ec7424338e25975228b9bf6e9da61b2699c52377528966ecf07971868426bda0a64c780c2876cc1f0e4adb63c46767e8099fbfe32a8d1586c13f44 | ||
DIST opentoonz-1.3.0.tar.gz 39920932 BLAKE2B 292e01c078a4cf461fff0814a60e4ab6aea9a74a63f23e854815632432e07e65d5c01dce9d3aab36595f94ca06dd83b078e52858532d8dadb2e7518514c08b08 SHA512 5df272c943f2c222a457545c99388266579d88c702d6c7e71dfe0c924a0189e30323cf9e369c96755c507ee5347620da0140215b2647555f0b3bdae41c615c71 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit cmake-utils gnome2-utils xdg-utils | ||
|
||
DESCRIPTION="An open-source full-featured 2D animation creation software" | ||
HOMEPAGE="https://github.com/opentoonz/opentoonz" | ||
SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="BSD libtiff" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
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/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/libsdl2 | ||
sci-libs/cblas-reference | ||
>=sci-libs/superlu-4.1:= | ||
sys-libs/zlib:= | ||
virtual/libusb:= | ||
virtual/opengl | ||
" | ||
DEPEND=" | ||
${RDEPEND} | ||
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-utils_src_configure | ||
} | ||
|
||
src_compile() { | ||
cd "${S}"/thirdparty/tiff-4.0.3 || die | ||
emake | ||
|
||
cmake-utils_src_compile | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_desktop_database_update | ||
gnome2_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
xdg_desktop_database_update | ||
gnome2_icon_cache_update | ||
} |