Add synfigstudio 1.4.0

Original ebuilds are from bgo-overlay and eroen
Upstream appeares to have switched to autoconf
This commit is contained in:
2020-11-24 20:22:25 +02:00
parent 367c9b2b59
commit cddb7808c6
9 changed files with 155 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST synfig-1.4.0.tar.gz 5077795 BLAKE2B b11db67ecad81a6355fcc1f60ada4588071668b05f72f211043a5dc20519cd6bd8186ae0808036582f09aa4041267ce86c65d3c66ee40a9bf4d7903bf762e67a SHA512 8956b9e1fae37eefdf0a6cf3ba2b37088f4e22bddc5cefbddb2f656e117b616c8e8d7277cb074840811d54b8df31284fe21efc389e894bf3d58dec929090169a

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac.paragon@gmail.com</email>
<description>Primary maintainer</description>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,69 @@
# Copyright 1999-2020 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"
DEPEND="
~dev-cpp/ETL-${PV}
>=dev-cpp/glibmm-2.4:2
dev-libs/boost
sys-libs/zlib
dev-libs/libsigc++:2
dev-cpp/libxmlpp:2.6
media-libs/libpng
media-libs/mlt
x11-libs/pango
x11-libs/cairo
sci-libs/fftw:3.0
ffmpeg? ( media-video/ffmpeg )
openexr? ( media-libs/openexr )
truetype? ( media-libs/freetype )
fontconfig? ( media-libs/fontconfig )
jpeg? ( virtual/jpeg )
"
RDEPEND="${DEPEND}
dv? ( media-libs/libdv )
imagemagick? ( media-gfx/imagemagick )
"
src_prepare() {
eapply_user
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)
}
src_install() {
emake DESTDIR="${D}" install
echo "LDPATH=\"/usr/lib64/synfig/modules\"" > "${T}/99synfig"
doenvd "${T}/99synfig"
}

View File

@@ -0,0 +1 @@
DIST synfigstudio-1.4.0.tar.gz 6423859 BLAKE2B 14577d14a33d3343e2ba014e39129a251cb6a9b5f72907509c4119a489e72fe7b8de9750dc5b7f203925e13788c82851dc1a205bf99c3ced70a084746284ff7d SHA512 31e51d16021bc72fbb3716ac344c2617d3902dbf3528673a0ce33d0b365fc0dff1aba186068805d50473f536e64d76f17bca60bb3a6a1d2323d754f6addc8986

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac.paragon@gmail.com</email>
<description>Primary maintainer</description>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Original ebuild By eroen <eroen-overlay@occam.eroen.eu>, 2018
# Modified by <ceamac.paragon@gmail.com>, 2020
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
EAPI=7
inherit autotools eutils multilib flag-o-matic
DESCRIPTION="Vector animation studio"
HOMEPAGE="https://www.synfig.org"
SRC_URI="https://github.com/synfig/synfig/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2+ CC-BY-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
media-gfx/synfig
dev-libs/libsigc++:2
dev-cpp/gtkmm:3.0
dev-cpp/libxmlpp:2.6
sys-devel/gettext
"
DEPEND="${RDEPEND}
dev-cpp/ETL
virtual/pkgconfig
"
src_prepare() {
eapply_user
default
eautoreconf
}