blob: c09c160a36380b60c66ac0d733714bde8a7cd459 (
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
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools desktop xdg-utils
DESCRIPTION="Simple DVD slideshow maker"
HOMEPAGE="https://imagination.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
dev-libs/glib:2
media-sound/sox:=
x11-libs/cairo:=
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/pango"
RDEPEND="${DEPEND}
media-video/ffmpeg"
BDEPEND="dev-util/intltool"
# restricting tests as they're no practical tests
# to run ayway, see bug #935691
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${P}-cflags.patch
"${FILESDIR}"/${PN}-3.0-fix-htmldir.patch
)
src_prepare() {
default
eautoreconf
}
src_install() {
default
doicon icons/48x48/${PN}.png
# only plugins
find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}
|