blob: 988639192b77546d2cc70df4b8f52a788090e35d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# By eroen <eroen-overlay@occam.eroen.eu>, 2018
# 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=6
inherit cmake-utils
DESCRIPTION="Vector based 2D animation package"
HOMEPAGE="https://www.synfig.org"
SRC_URI="https://github.com/synfig/synfig/archive/v$PV.tar.gz -> synfig-$PV.tar.gz"
S=${WORKDIR}/synfig-$PV/synfig-core
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
#IUSE="imagemagick"
RDEPEND="
dev-libs/boost
sys-libs/zlib
dev-libs/libsigc++:2
dev-cpp/glibmm:2
x11-libs/cairo
dev-cpp/libxmlpp:2.6
media-libs/mlt
sci-libs/fftw:3.0
x11-libs/pango
media-gfx/imagemagick[cxx]
"
DEPEND="${RDEPEND}
dev-cpp/ETL
virtual/pkgconfig
"
PATCHES=(
"$FILESDIR"/synfig-1.3.10-install-libraries-to-lib64.patch
)
src_configure() {
local mycmakeargs=(
-DWITH_MAGICPP=ON
)
cmake-utils_src_configure
}
## Always-enabled modules:
# lyr_freetype
# pango/pangocairo.h
# fontconfig.h
# ft2build.h
# lyr_std
# mod_bmp
# mod_dv
# mod_example
# mod_ffmpeg
# mod_filter
# mod_geometry
# mod_gif
# mod_gradient
# mod_imagemagick
# mod_jpeg
# jpeglib.h
# mod_noise
# mod_particle
# mod_png
# cairo.h
# png.h
# mod_ppm
# mod_svg
# mod_yuv420p
## Optional modules:
# mod_magickpp: WITH_MAGICPP WITHOUT_MAGICPP
# Magick++.h
## Disabled modules:
# mod_libavcodec
# avformat.h
# swscale.h
# mod_mng
# libmng.h
# mod_openexr
# ImfArray.h
# ImfRgbaFile.h
# mptr_mplayer
|