Added openshot ebuild

git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@12909 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
Torsten Kurbad 2010-03-18 13:05:18 +00:00
parent cb1a889ef3
commit c69a6b6af7
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST openshot-1.1.0.tar.gz 16656855 RMD160 edbe81813412a44cab577f7900dfc198539a128e SHA1 319c30b3f89ac0961a572a0c60126a2830c4b371 SHA256 e95f3fd1e6b93d3b4b6dcdad917c56fc12a306519fdeb562a8b6c47e1b5f06d1
EBUILD openshot-1.1.0-r1.ebuild 1626 RMD160 c2256d9bcb6346b116845fa925c11599b212263c SHA1 3f6715a4dd3fe6439f2433da8d816c530f18aabf SHA256 0c03fd1483ab7f44bc2bba31bedd1a0c42705bd6a6360995b348934c50ff6753

View File

@ -0,0 +1,62 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
PYTHON_DEPEND=2
PYTHON_USE_WITH=xml
inherit distutils fdo-mime python
DESCRIPTION="OpenShot Video Editor is a non-linear video editor"
HOMEPAGE="http://www.openshotvideo.com"
SRC_URI="http://launchpad.net/openshot/1.1/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="faac faad ieee1394 jack mp3 quicktime theora vorbis x264"
DEPEND=""
RDEPEND="
dev-python/pygtk
dev-python/pygoocanvas
dev-python/pyxdg
gnome-base/librsvg
>=media-libs/mlt-0.4.6-r1[dv,ffmpeg,frei0r,melt,python,quicktime?,sdl,xml]
media-sound/sox[encode,ffmpeg]
media-video/ffmpeg[encode,ieee1394?,jack?,x264?,vorbis?,theora?,faac?,faad?,mp3?]"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
distutils_src_prepare
# Avoid stuff covered by fdo-mime.eclass
# (update-mime-database update-desktop-database update-mime)
# export "FAKEROOTKEY=gentoo" does not work as this variable is filtered
# by portage
sed -i -e '/FAILED = /q' setup.py
}
# TODO: check stuff installed to /usr/lib/python2.6/site-packages as there are
# some parts installed which shouldn't (locale, themes, profiles effects,
# etc...) Afaik only python stuff should go there and the rest probably to
# /usr/share/openshot
# The same goes for /usr/lib/mime/packages
pkg_postinst() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
distutils_pkg_postinst
}
pkg_postrm() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
distutils_pkg_postrm
}