I'd like to request an ebuild for a nice graphical frontent to FFmpeg: traGtor. Find it at http://mein-neues-blog.de/tragtor-gui-for-ffmpeg/#install There is an archive which contains some python code which simply needs to be unpacked. Reproducible: Always
Created attachment 206494 [details] tragtor-0.8.6.ebuild I've written a simple ebuild. Some important points: * No license is specified, because the author does not mention any license (neither in the site, nor in the tarball). * The tarball itself is already an image of what files should be installed in what places. Actually, you can run tragtor from any directory and it will work. The application is self-contained in just one directory. * There are 3 *.py files. One is the main program, and the other two are language files. I'm not sure if they should be pre-compiled as .pyc (I guess they shouldn't). This ebuild works for me on amd64, and should also work on any other arch. Tested with Python-2.6. The .deb file requires at least Python-2.5. Not tested with Python-2.4, maybe it works, maybe it doesn't.
(In reply to comment #1) > Created an attachment (id=206494) [details] > tragtor-0.8.6.ebuild Thanks a lot, works perfectly on x86 with Python 2.6.2
Created attachment 272945 [details] ebuild tragator-0.8.34 Version changed to 0.8.34. Download source changed.
Created attachment 273645 [details] Better Ebuild for tragtor-0.8.34 I modified the ebuild a bit, here is a diff: @@ -1,29 +1,28 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI="2" + 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://repository.mein-neues-blog.de:9000/latest/tragtor.tar.gz" +SRC_URI="http://repository.mein-neues-blog.de:9000/archive/${P}_all.tar.gz" LICENSE="" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" RDEPEND="dev-python/pygtk - media-video/ffmpeg + virtual/ffmpeg media-sound/id3v2" +DEPEND="${RDEPEND}" -src_unpack() { - mkdir ${P} - cd ${P} - unpack ${A} - +src_prepare() { # Set English as the default language + # Maybe we could better handle this with LINGUAS? sed -i 's/\(_DEFAULT_SETTINGS = {"language":"\)de\("}\)/\1en\2/' usr/share/tragtor/tragtor.py # Deleting shipped *.pyc files
Created attachment 349596 [details] tragtor-0.8.67 ebuild Since trying to run tragtor on a system with python3 eselected as the main interpreter, fails with a "ImportError: No module named gobject" error I added a sed edit line from the Archlinux PKGBUILD, to this ebuild to edit the /usr/bin/tragtor shell script from the tarball, from doing an exec python, to doing an exec python2. Now emerging tragtor using this ebuild allows the program to run correctly, on my system with python3 selected as the system interpreter. I also renamed it to the current version of 0.8.67