blob: 7737de35014662ec1b5d5aa86561de1b1e4b77d8 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils fdo-mime gnome2-utils qt4-r2
DESCRIPTION="Movie creator from photos and video clips"
HOMEPAGE="http://ffdiaporama.tuxfamily.org"
SRC_URI="http://download.tuxfamily.org/${PN}/Archives/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="media-gfx/exiv2
media-libs/libsdl[sound]
media-libs/qimageblitz
media-libs/taglib
virtual/ffmpeg[encode]
>=dev-qt/qtcore-4.8:4
>=dev-qt/qtgui-4.8:4"
DEPEND="${RDEPEND}"
DOCS=( authors.txt )
src_unpack() {
# S=${WORKDIR} would result in unremoved files in
# ${WORKDIR}/../build
mkdir ${P} || die
cd ${P} || die
unpack ${A}
}
src_install() {
qt4-r2_src_install
doicon -s 32 ffdiaporama.png
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}
|