blob: 6036d2f02b85ae81915e5d15d6cf30e7bc24fc2c (
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
|
# 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
}
|