media-gfx/synfigstudio: v1.4.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST synfigstudio-1.4.0.tar.gz 6423859 BLAKE2B 14577d14a33d3343e2ba014e39129a251cb6a9b5f72907509c4119a489e72fe7b8de9750dc5b7f203925e13788c82851dc1a205bf99c3ced70a084746284ff7d SHA512 31e51d16021bc72fbb3716ac344c2617d3902dbf3528673a0ce33d0b365fc0dff1aba186068805d50473f536e64d76f17bca60bb3a6a1d2323d754f6addc8986
|
||||
DIST synfigstudio-1.4.1.tar.gz 6472875 BLAKE2B 41bbb91f81ee35c6493a34d4ff74eba39d0551c4244630805850bcb79c710c1e12abc62879a6ee0b91b51d71f84ee1169afdc21db8f7b205becfb72640178617 SHA512 7d92cab8eed67a40d6aaf29216b9adf0caef8b5d2724533fec32dbf06d3ef510a588a3acf3eeda941598321b7d88ddb58d87855e19d18f0c058080b4c44686be
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
Keep sed from mangling our CFLAGS
|
||||
especially -frecord-gcc-flags, which was half removed because it contains -g
|
||||
|
||||
--- a/m4/subs.m4
|
||||
+++ b/m4/subs.m4
|
||||
@@ -78,13 +78,13 @@
|
||||
case "$debug" in
|
||||
yes)
|
||||
debug_flags="-D_DEBUG -g -O0"
|
||||
- CXXFLAGS="`echo $CXXFLAGS | sed s:-O.::` $debug_flags -fno-inline"
|
||||
- CFLAGS="`echo $CFLAGS | sed s:-O.::` $debug_flags"
|
||||
+ CXXFLAGS="${CXXFLAGS} ${debug_flags}"
|
||||
+ CFLAGS="${CFLAGS} ${debug_flags}"
|
||||
;;
|
||||
no|*)
|
||||
debug_flags="-DNDEBUG"
|
||||
- CXXFLAGS="`echo $CXXFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags"
|
||||
- CFLAGS="`echo $CFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags"
|
||||
+ CXXFLAGS="${CXXFLAGS} ${debug_flags}"
|
||||
+ CFLAGS="${CFLAGS} ${debug_flags}"
|
||||
;;
|
||||
esac
|
||||
|
||||
66
media-gfx/synfigstudio/synfigstudio-1.4.1.ebuild
Normal file
66
media-gfx/synfigstudio/synfigstudio-1.4.1.ebuild
Normal file
@@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2021 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 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
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-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' -type f -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
|
||||
}
|
||||
Reference in New Issue
Block a user