summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2016-06-04 22:35:00 -0400
committerGöktürk Yüksek <gokturk@gentoo.org>2016-06-05 23:02:54 -0400
commita8aecf4ec24c1004ab860a07cd9eb2e7d99b0192 (patch)
tree7fef21ca6ffee171bc4015b4ecc8d163f6ed8359 /media-video
parentapp-emulation/wine: check if CC supports builtin_ms_va_list when attempting 6... (diff)
downloadgentoo-a8aecf4ec24c1004ab860a07cd9eb2e7d99b0192.tar.gz
gentoo-a8aecf4ec24c1004ab860a07cd9eb2e7d99b0192.tar.bz2
gentoo-a8aecf4ec24c1004ab860a07cd9eb2e7d99b0192.zip
media-video/photofilmstrip: fix license, combine sed, add missing die
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-video')
-rw-r--r--media-video/photofilmstrip/photofilmstrip-2.1.0.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/media-video/photofilmstrip/photofilmstrip-2.1.0.ebuild b/media-video/photofilmstrip/photofilmstrip-2.1.0.ebuild
index 44b1cebab8e0..622804ae79ac 100644
--- a/media-video/photofilmstrip/photofilmstrip-2.1.0.ebuild
+++ b/media-video/photofilmstrip/photofilmstrip-2.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -12,7 +12,7 @@ inherit distutils-r1
DESCRIPTION="Movie slideshow creator using Ken Burns effect"
HOMEPAGE="http://www.photofilmstrip.org"
SRC_URI="mirror://sourceforge/photostoryx/${PN}/${PV}/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -34,22 +34,20 @@ DOCS=( CHANGES COPYING README )
src_prepare() {
# Remove unneeded icon resources update needing running X
- sed -i \
- -e '/self\._make_resources\(\)/d' \
- setup.py
-
# Fix app doc/help files paths
sed -i \
- -e "s:\(os\.path\.join(\"share\", \"doc\", \"\)photofilmstrip:\1${PF}:" \
- setup.py
+ -e '/self\._make_resources\(\)/d' \
+ -e "s:\(os\.path\.join(\"share\", \"doc\", \"\)photofilmstrip:\1${PF}:" \
+ setup.py || die
+
sed -i \
- -e "s:\"photofilmstrip\":\"${PF}\":" \
- photofilmstrip/gui/HelpViewer.py
+ -e "s:\"photofilmstrip\":\"${PF}\":" \
+ photofilmstrip/gui/HelpViewer.py || die
# Fix desktop file entry
sed -i \
- -e '/^Version.*/d' \
- data/photofilmstrip.desktop
+ -e '/^Version.*/d' \
+ data/photofilmstrip.desktop || die
distutils-r1_src_prepare
}