diff options
author | 2018-11-01 23:39:47 +0100 | |
---|---|---|
committer | 2019-08-28 19:26:46 +0200 | |
commit | 8d7ddc0489c6ae2b5198fb026e5e3ca0eb05f1cf (patch) | |
tree | 594c5714128ed6c3150a57bd5bc6e8d1bb3d7d7f | |
parent | synfig-1.3.10 (diff) | |
download | eroen-8d7ddc0489c6ae2b5198fb026e5e3ca0eb05f1cf.tar.gz eroen-8d7ddc0489c6ae2b5198fb026e5e3ca0eb05f1cf.tar.bz2 eroen-8d7ddc0489c6ae2b5198fb026e5e3ca0eb05f1cf.zip |
synfigstudio-1.3.10
Signed-off-by: Erik Moen <eroen-overlay@occam.eroen.eu>
-rw-r--r-- | media-gfx/synfigstudio/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/synfigstudio/files/synfigstudio-1.3.10-install-libraries-to-lib64.patch | 21 | ||||
-rw-r--r-- | media-gfx/synfigstudio/metadata.xml | 13 | ||||
-rw-r--r-- | media-gfx/synfigstudio/synfigstudio-1.2.1.ebuild | 63 | ||||
-rw-r--r-- | media-gfx/synfigstudio/synfigstudio-1.3.10.ebuild | 45 |
5 files changed, 144 insertions, 0 deletions
diff --git a/media-gfx/synfigstudio/Manifest b/media-gfx/synfigstudio/Manifest new file mode 100644 index 0000000..f8b4e34 --- /dev/null +++ b/media-gfx/synfigstudio/Manifest @@ -0,0 +1,2 @@ +DIST synfig-1.3.10.tar.gz 11112050 BLAKE2B 9904441655f09dd1c4e8d80e43e8257bff8db89401d74e5a65303fa526fc44e6cde809c6138db3e321129a891174afb7ad3a050f646f0bb213bf4b2dd2b19c10 SHA512 cb9564534906f92a1e1f01aaa496b1b1f7b370c44f88acdea455913dd1d95fa3833372a9318160f21636be561436f2b243ac1c26ee7a82cf548ec434512266be +DIST synfigstudio-1.2.1.tar.gz 5687045 BLAKE2B 2f232d99fc33e04abe282a9f193a013f939dec0b8300bfb7bcf0884888045e495d07780b44b4ea4ec5068a42e9c2e83002beaa4277f1cab20b1727972b2cc625 SHA512 934d771b65f5471ae29e2961d5b52cceae47588088c18daff57e22f0dcf3a01b85818aa164e1231104fb7cbf0a1ec5331d1e57366c557e58534234babf6c28b3 diff --git a/media-gfx/synfigstudio/files/synfigstudio-1.3.10-install-libraries-to-lib64.patch b/media-gfx/synfigstudio/files/synfigstudio-1.3.10-install-libraries-to-lib64.patch new file mode 100644 index 0000000..12d0051 --- /dev/null +++ b/media-gfx/synfigstudio/files/synfigstudio-1.3.10-install-libraries-to-lib64.patch @@ -0,0 +1,21 @@ +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-studio/src/synfigapp/CMakeLists.txt b/synfig-studio/src/synfigapp/CMakeLists.txt +index 5d26ffcd4..e1a4f4011 100644 +--- a/src/synfigapp/CMakeLists.txt ++++ b/src/synfigapp/CMakeLists.txt +@@ -25,5 +25,5 @@ include(actions/CMakeLists.txt) + + install( + TARGETS synfigapp +- DESTINATION lib ++ DESTINATION ${CMAKE_INSTALL_LIBDIR} + ) diff --git a/media-gfx/synfigstudio/metadata.xml b/media-gfx/synfigstudio/metadata.xml new file mode 100644 index 0000000..45bfd1a --- /dev/null +++ b/media-gfx/synfigstudio/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>eroen-overlay@occam.eroen.eu</email> + <name>eroen</name> + </maintainer> + <longdescription lang="en"> + </longdescription> + <upstream> + <remote-id type="github">synfig/synfig</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-gfx/synfigstudio/synfigstudio-1.2.1.ebuild b/media-gfx/synfigstudio/synfigstudio-1.2.1.ebuild new file mode 100644 index 0000000..6036d2f --- /dev/null +++ b/media-gfx/synfigstudio/synfigstudio-1.2.1.ebuild @@ -0,0 +1,63 @@ +# 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 gnome2-utils xdg-utils autotools + +DESCRIPTION="Vector animation studio" +HOMEPAGE="https://www.synfig.org" +SRC_URI="mirror://sourceforge/synfig/$P.tar.gz" +LICENSE="GPL-2+ CC-BY-3.0" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + >=dev-util/intltool-0.35.0 + >=sys-devel/gettext-0.15 + dev-cpp/gtkmm:3.0 + >=media-gfx/synfig-1.2.1 + >=dev-cpp/ETL-1.2.1 + dev-libs/libsigc++:2 + " +DEPEND="${DEPEND}" + +src_prepare() { + default + + # build system strips away -g* and -O* flags + sed -e '/CXXFLAGS=.*debug_flags/s@`.*`@$CXXFLAGS@' \ + -e '/CFLAGS=.*debug_flags/s@`.*`@$CFLAGS@' \ + -e '/CXXFLAGS=.*optimization_flags/d' \ + -e '/CFLAGS=.*optimization_flags/d' \ + -i m4/subs.m4 || die + + eautoreconf +} + +src_configure() { + econf \ + --disable-update-mimedb \ + --enable-jack=no \ + --with-libfmod=no +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/media-gfx/synfigstudio/synfigstudio-1.3.10.ebuild b/media-gfx/synfigstudio/synfigstudio-1.3.10.ebuild new file mode 100644 index 0000000..abcf1e6 --- /dev/null +++ b/media-gfx/synfigstudio/synfigstudio-1.3.10.ebuild @@ -0,0 +1,45 @@ +# 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 animation studio" +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-studio + +LICENSE="GPL-2+ CC-BY-3.0" + +SLOT="0" +KEYWORDS="~amd64" +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 + " + +PATCHES=( + "$FILESDIR"/synfigstudio-1.3.10-install-libraries-to-lib64.patch + ) + +src_configure() { + CPPFLAGS+=' -DIMAGE_DIR=\"\\\"/usr/share/pixmaps\\\"\"' + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile all + cmake-utils_src_compile build_images +} |