Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 472774 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-video/photofilmstrip/photofilmstrip-1.9.91.ebuild (-16 / +14 lines)
Lines 1-13 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-video/photofilmstrip/photofilmstrip-1.9.91.ebuild,v 1.1 2013/01/26 18:00:25 hwoarang Exp $
3
# $Header: $
4
4
5
EAPI="5"
5
EAPI="5"
6
PYTHON_DEPEND="2"
6
PYTHON_COMPAT=( python2_{6,7} )
7
RESTRICT_PYTHON_ABIS="3.*"
7
PYTHON_REQ_USE="sqlite"
8
PYTHON_USE_WITH="sqlite"
9
8
10
inherit python distutils
9
inherit distutils-r1
11
10
12
DESCRIPTION="Movie slideshow creator using Ken Burns effect"
11
DESCRIPTION="Movie slideshow creator using Ken Burns effect"
13
HOMEPAGE="http://www.photofilmstrip.org"
12
HOMEPAGE="http://www.photofilmstrip.org"
Lines 18-36 Link Here
18
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86"
19
IUSE="cairo sdl"
18
IUSE="cairo sdl"
20
19
21
RDEPEND="dev-python/wxpython:2.8[cairo?]
20
RDEPEND="dev-python/wxpython:2.8[cairo?,${PYTHON_USEDEP}]
22
	dev-python/imaging
21
	virtual/python-imaging[${PYTHON_USEDEP}]
23
	media-video/mplayer[encode]
22
	media-video/mplayer[encode]
24
	sdl? ( dev-python/pygame )"
23
	sdl? ( dev-python/pygame[${PYTHON_USEDEP}] )"
25
24
26
DEPEND="${RDEPEND}"
25
DEPEND="${RDEPEND}"
27
26
28
DOCS="CHANGES COPYING README"
27
# Fix bug #472774 (https://bugs.gentoo.org/show_bug.cgi?id=472774)
28
PATCHES=(
29
	"${FILESDIR}/${P}-PIL_modules_imports_fix.patch"
30
)
29
31
30
pkg_setup() {
32
DOCS=( CHANGES COPYING README )
31
	python_set_active_version 2
32
	python_pkg_setup
33
}
34
33
35
src_prepare() {
34
src_prepare() {
36
	# Remove unneeded icon resources update needing running X
35
	# Remove unneeded icon resources update needing running X
Lines 43-55 Link Here
43
        -e '/^Version.*/d' \
42
        -e '/^Version.*/d' \
44
        data/photofilmstrip.desktop
43
        data/photofilmstrip.desktop
45
44
46
	python_clean_py-compile_files
45
	distutils-r1_src_prepare
47
	distutils_src_prepare
48
}
46
}
49
47
50
src_install() {
48
src_install() {
51
	# Do not compress the apps help files
49
	# Do not compress the apps help files
52
	docompress -x  /usr/share/doc/${PN}
50
	docompress -x  /usr/share/doc/${PN}
53
51
54
	distutils_src_install
52
	distutils-r1_src_install
55
}
53
}

Return to bug 472774