iwm-overlay/media-video/tragtor/tragtor-0.8.6.ebuild
Torsten Kurbad 5514506408 ebuild for tragTor
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@11227 cbe59ace-07ea-0310-918e-868702b5370d
2009-10-14 15:39:12 +00:00

41 lines
903 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils python
DESCRIPTION="traGtor is a graphical user interface (GUI) for ffmpeg"
HOMEPAGE="http://mein-neues-blog.de/tragtor-gui-for-ffmpeg/"
SRC_URI="http://mein-neues-blog.de/files/traGtor/${P}_all.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-python/pygtk
media-video/ffmpeg
media-sound/id3v2"
src_unpack() {
mkdir ${P}
cd ${P}
unpack ${A}
# Set English as the default language
sed -i 's/\(_DEFAULT_SETTINGS = {"language":"\)de\("}\)/\1en\2/' usr/share/tragtor/tragtor.py
# Deleting shipped *.pyc files
rm -f usr/share/tragtor/*.pyc
}
src_install() {
dobin usr/bin/tragtor
doicon usr/share/pixmaps/tragtor.svg
domenu usr/share/applications/tragtor.desktop
insinto /usr/share/tragtor
doins usr/share/tragtor/*
}