diff --git a/media-gfx/synfigstudio/Manifest b/media-gfx/synfigstudio/Manifest index d4c26d3..2a0fac6 100644 --- a/media-gfx/synfigstudio/Manifest +++ b/media-gfx/synfigstudio/Manifest @@ -1 +1,2 @@ DIST synfigstudio-1.4.1.tar.gz 6472875 BLAKE2B 41bbb91f81ee35c6493a34d4ff74eba39d0551c4244630805850bcb79c710c1e12abc62879a6ee0b91b51d71f84ee1169afdc21db8f7b205becfb72640178617 SHA512 7d92cab8eed67a40d6aaf29216b9adf0caef8b5d2724533fec32dbf06d3ef510a588a3acf3eeda941598321b7d88ddb58d87855e19d18f0c058080b4c44686be +DIST synfigstudio-1.4.2.tar.gz 6742540 BLAKE2B 98bd4f97129a621748feb9b64068b95302a1ad6dd13e28eb2de8a6278d9b4ced7b1614f95d5840c3c5792456d5b9d823c4e0a135fe5298fe026ec2cda1632f7e SHA512 cfe17ad68f45305336030958c7facef63e856db81dbf5ca7f1151e8597288a43a137a66ecbbc181c2e087d9c386d01c887ba0fcd37827e72299f94956df5cf38 diff --git a/media-gfx/synfigstudio/synfigstudio-1.4.2.ebuild b/media-gfx/synfigstudio/synfigstudio-1.4.2.ebuild new file mode 100644 index 0000000..465d062 --- /dev/null +++ b/media-gfx/synfigstudio/synfigstudio-1.4.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Original ebuild By eroen , 2018 +# Modified by , 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 xdg-utils + +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-${PV} + virtual/pkgconfig + " + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.1-fix-cflags.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc NEWS README TODO AUTHORS ChangeLog + + mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + rm -r "${ED}"/usr/share/mime || die + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() +{ + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postrm() +{ + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +}