i would like to request a package.
"WinFF is a GUI for the command line video converter, FFMPEG. It will convert most any video file that FFmpeg will convert. WinFF does multiple files in multiple formats at one time. You can for example convert mpeg's, flv's, and mov's, all into avi's all at once. ...."
Since I'm a total noob when it comes to writing ebuilds, perhaps someone with more knowledge can wrap the below installation instruction into something useful.
This is how I compiled and installed WinFF on a 2 standard Gentoo machines.
-- snip --
echo dev-lang/lazarus >> /etc/portage/package.keywords
echo dev-lang/fpc source >> /etc/portage/package.use
echo media-video/ffmpeg mp3 encode faac x264 xvid >> /etc/portage/package.use
emerge -av lazarus
tar xfz winff-1.3.1-source.tar.gz
sed -i 's/\(-ab [0-9]*k\)b/\1/g' presets.xml
sed -i 's/\(-vcodec libx264\)/\1 -vpre medium/g' presets.xml
#Note, if you first ran winff, then ~/.winff/presets.xml is used
install -d /usr/share/winff
install -t /usr/share/winff presets.xml
install -s -t /usr/bin winff
install -t /usr/share/applications winff.desktop
for a in winff-icons/*x*/; do install -t /usr/share/icons/hicolor/$(basename $a)/apps $a/winff.png; done
-- snap --
To write an ebuild you should use http://devmanual.gentoo.org/ebuild-writing/functions/pkg_pretend/index.html
I can't say much more because I am not a developer yet, or know python, all I do know is that I think many of these ebuilds are written in python not bash.
If you think I am being rude I am sorry that was not my intent.
Created attachment 299599 [details]
theres an ebuild for an old 1.3.1 version in the sabayon overlay, tried to bump this but to no avail.
winff.lpr(52,1) Error: Can't open resource file "/var/tmp/portage/media-video/winff-1.4.1/work/winff/winff.res"
winff.lpr(52,1) Fatal: There were 1 errors compiling module, stopping
ERROR: failed compiling of project /var/tmp/portage/media-video/winff-1.4.1/work/winff/winff.lpi
compiler never creates winff.res and thus fails
ebuild from sabayon overlay attached, this does not compile though, even by hand.
Any help would be appreciated.
I tried renaming the 1.3.1 ebuild to 1.4.2 but it failed here too.
somebody reported it here: http://code.google.com/p/winff/issues/detail?id=159
Created attachment 403202 [details]