summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/synfig/Manifest1
-rw-r--r--media-gfx/synfig/files/synfig-1.3.10-giomm-cflags.patch21
-rw-r--r--media-gfx/synfig/files/synfig-1.3.10-install-libraries-to-lib64.patch23
-rw-r--r--media-gfx/synfig/synfig-1.3.10.ebuild90
4 files changed, 135 insertions, 0 deletions
diff --git a/media-gfx/synfig/Manifest b/media-gfx/synfig/Manifest
index 8e2ed81..3d3f308 100644
--- a/media-gfx/synfig/Manifest
+++ b/media-gfx/synfig/Manifest
@@ -1 +1,2 @@
DIST synfig-1.2.1.tar.gz 4913740 BLAKE2B 17d217ca5560132d08a468434b83c0334899350e876f647395fa7f0c01fb2b9d54dfc5d4e75e0926bf73e04afa5c9e197d7eb8f0c3b12ca8ac5ace8c4eac1d33 SHA512 90a022824027a7eefb87f64bbe8130882d0db73c41172b99e4de81ded1e0a804787ef99a40a8583c9e51125de0770024b87bb7b65cfff9bd812618deb389e095
+DIST synfig-1.3.10.tar.gz 11112050 BLAKE2B 9904441655f09dd1c4e8d80e43e8257bff8db89401d74e5a65303fa526fc44e6cde809c6138db3e321129a891174afb7ad3a050f646f0bb213bf4b2dd2b19c10 SHA512 cb9564534906f92a1e1f01aaa496b1b1f7b370c44f88acdea455913dd1d95fa3833372a9318160f21636be561436f2b243ac1c26ee7a82cf548ec434512266be
diff --git a/media-gfx/synfig/files/synfig-1.3.10-giomm-cflags.patch b/media-gfx/synfig/files/synfig-1.3.10-giomm-cflags.patch
new file mode 100644
index 0000000..1f4a1ea
--- /dev/null
+++ b/media-gfx/synfig/files/synfig-1.3.10-giomm-cflags.patch
@@ -0,0 +1,21 @@
+giomm cflags
+
+From: eroen <eroen@occam.eroen.eu>
+
+
+---
+ synfig-core/src/modules/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/synfig-core/src/modules/CMakeLists.txt b/synfig-core/src/modules/CMakeLists.txt
+index e2afa3f47..627ecc528 100644
+--- a/src/modules/CMakeLists.txt
++++ b/src/modules/CMakeLists.txt
+@@ -6,6 +6,7 @@ include_directories(
+ SYSTEM
+ ${SIGCPP_INCLUDE_DIRS}
+ ${CAIRO_INCLUDE_DIRS}
++ ${GIOMM_INCLUDE_DIRS}
+ )
+
+ ##
diff --git a/media-gfx/synfig/files/synfig-1.3.10-install-libraries-to-lib64.patch b/media-gfx/synfig/files/synfig-1.3.10-install-libraries-to-lib64.patch
new file mode 100644
index 0000000..45b1b0d
--- /dev/null
+++ b/media-gfx/synfig/files/synfig-1.3.10-install-libraries-to-lib64.patch
@@ -0,0 +1,23 @@
+install libraries to lib64
+
+From: eroen <eroen@occam.eroen.eu>
+
+
+---
+ synfig-core/src/synfig/CMakeLists.txt | 2 +-
+ synfig-studio/src/synfigapp/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/synfig-core/src/synfig/CMakeLists.txt b/synfig-core/src/synfig/CMakeLists.txt
+index 56932b6f4..b1f91d77b 100644
+--- a/src/synfig/CMakeLists.txt
++++ b/src/synfig/CMakeLists.txt
+@@ -141,7 +141,7 @@ install(
+ install(
+ TARGETS synfig
+ EXPORT synfig
+- LIBRARY DESTINATION lib
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+
+ export(
diff --git a/media-gfx/synfig/synfig-1.3.10.ebuild b/media-gfx/synfig/synfig-1.3.10.ebuild
new file mode 100644
index 0000000..677c1eb
--- /dev/null
+++ b/media-gfx/synfig/synfig-1.3.10.ebuild
@@ -0,0 +1,90 @@
+# 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-giomm-cflags.patch
+ "$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