media-gfx/synfig: v1.4.1

Package-Manager: Portage-3.0.18, Repoman-3.0.2
This commit is contained in:
2021-06-01 09:52:47 +03:00
parent c4bdd7475a
commit 2c9048f676
3 changed files with 79 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST synfig-1.4.0.tar.gz 5077795 BLAKE2B b11db67ecad81a6355fcc1f60ada4588071668b05f72f211043a5dc20519cd6bd8186ae0808036582f09aa4041267ce86c65d3c66ee40a9bf4d7903bf762e67a SHA512 8956b9e1fae37eefdf0a6cf3ba2b37088f4e22bddc5cefbddb2f656e117b616c8e8d7277cb074840811d54b8df31284fe21efc389e894bf3d58dec929090169a
DIST synfig-1.4.1.tar.gz 5061453 BLAKE2B dfc32351c9c18d700863b4cf598649fe3c7fe121988ab71f3da92fcfab6b2b200f935e7bcd64b44ff3c20437e12d8b21dcb5a5e357895f07cb0f4e787ef4db6a SHA512 2bd301861d7540e59d9f625cc35a75a5b456009b7eeea4bbe0ae5ac0d51247f001fe248f181eab8a9c5d522e9830700c4d54fccf821a9311d1bc51d4015effde

View File

@@ -1,3 +1,6 @@
Keep sed from mangling our CFLAGS
especially -frecord-gcc-flags, which was half removed because it contains -g
--- a/m4/subs.m4 2020-11-13 12:21:45.000000000 +0200
+++ b/m4/subs.m4 2021-03-13 19:19:48.626353955 +0200
@@ -77,16 +77,16 @@

View File

@@ -0,0 +1,75 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#Ebuild based on the booboo overlay version
EAPI=7
inherit autotools eutils multilib flag-o-matic
# Original TODO from bgo-overlay
# Todo: enable OpenGL (currently not compiling)
# enable OpenCl, needs check whether OpenCL is actually usable
DESCRIPTION="Film-Quality Vector Animation (core engine)"
HOMEPAGE="http://www.synfig.org/"
SRC_URI="https://github.com/synfig/synfig/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="imagemagick ffmpeg dv openexr truetype jpeg fontconfig opencl"
DEPEND="
~dev-cpp/ETL-${PV}
>=dev-cpp/glibmm-2.4:2
dev-cpp/libxmlpp:2.6
dev-libs/boost:=
dev-libs/libsigc++:2
media-libs/libpng:=
media-libs/mlt:=
sci-libs/fftw:3.0
sys-libs/zlib:=
x11-libs/cairo:=
x11-libs/pango:=
ffmpeg? ( media-video/ffmpeg:= )
fontconfig? ( media-libs/fontconfig )
jpeg? ( virtual/jpeg )
opencl? ( dev-libs/ocl-icd )
openexr? ( media-libs/openexr:= )
truetype? ( media-libs/freetype:= )
"
RDEPEND="${DEPEND}
dv? ( media-libs/libdv:= )
imagemagick? ( media-gfx/imagemagick:= )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.0-fix-cflags.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_with ffmpeg) \
$(use_with fontconfig) \
$(use_with imagemagick) \
$(use_with dv libdv) \
$(use_with openexr ) \
$(use_with truetype freetype) \
$(use_with jpeg) \
$(use_with opencl)
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README TODO
echo "LDPATH=\"/usr/lib64/synfig/modules\"" > "${T}/99synfig"
doenvd "${T}/99synfig"
}