logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 824b55a6914a73192e7ed1dd5252d900a9b7ab03
parent 3877a8ea9eb7bf06a9cdebfc1417cb2f0dbf1c1f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 21 May 2021 18:32:41 +0200

media-gfx/opentoonz: Superseeded-by gentoo

Diffstat:

Dmedia-gfx/opentoonz/Manifest1-
Dmedia-gfx/opentoonz/metadata.xml8--------
Dmedia-gfx/opentoonz/opentoonz-1.2.0.ebuild85-------------------------------------------------------------------------------
3 files changed, 0 insertions(+), 94 deletions(-)

diff --git a/media-gfx/opentoonz/Manifest b/media-gfx/opentoonz/Manifest @@ -1 +0,0 @@ -DIST opentoonz-1.2.0.tar.gz 39754153 SHA256 8aca2f257f07d4a5037ed9ccc2d007f941b7813a7ec6ca92c0e2ae21a43f8c96 SHA512 570bed74ba7ff5c3efdcd6f7bd6229d94c1bf8ffba3b6324229ed4c7c30438a628608b7aed898b7d987ee29589eb9bdd6f8667e4f26e6b44d6ca330832f038f9 WHIRLPOOL d0b7a861469587c6c3e9ffbcf88d5b12e40473b7fc738e661b9417f19b1e73994519079adab732d065ed9b3a28e63566d4cc5da27816e9ca36e1d6ace96e4020 diff --git a/media-gfx/opentoonz/metadata.xml b/media-gfx/opentoonz/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> -</pkgmetadata> diff --git a/media-gfx/opentoonz/opentoonz-1.2.0.ebuild b/media-gfx/opentoonz/opentoonz-1.2.0.ebuild @@ -1,85 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="An open-source full-featured 2D animation creation software" -HOMEPAGE="https://opentoonz.github.io/" -SRC_URI="https://github.com/opentoonz/opentoonz/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD CC0-1.0 libtiff" -SLOT="0" -KEYWORDS="~amd64 ~x86" -#IUSE="system-lzo system-superlu" -IUSE="" - -RDEPEND=" - >=dev-libs/boost-1.55.0:= - app-arch/lz4:= - dev-libs/lzo:2= - dev-qt/linguist-tools:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5[widgets] - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtprintsupport:5 - dev-qt/qtscript:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - media-libs/freeglut:= - media-libs/freetype:2= - media-libs/glew:= - media-libs/libmypaint - media-libs/libpng:= - media-libs/libsdl2:= - sci-libs/superlu:= - virtual/libusb:1= -" -DEPEND="${RDEPEND}" - -CMAKE_USE_DIR="${S}"/toonz/sources - -src_configure() { - local mycmakeargs=( - -DTIFF_LIBRARY="${S}/thirdparty/tiff-4.0.3/libtiff/.libs/libtiff.a" - -DWITH_SYSTEM_LZO=ON - -DWITH_SYSTEM_SUPERLU=ON - -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 - -DCMAKE_SKIP_RPATH=ON - 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() { - elog "It is supposedly optional but some files are" - elog "actually required to run the executable properly." - elog - elog "The .config/OpenToonz/ directory in your home folder" - elog "will contain your settings, work and other files." - elog - elog "We need to create it from the command-line:" - elog - elog "$ mkdir -p \$HOME/.config/OpenToonz" - elog "$ cp -r /usr/share/opentoonz/stuff/ \$HOME/.config/OpenToonz/" -}