[Slackbuilds-users] About ffmpeg version 2.3
Ryan P.C. McQuen
ryanpcmcquen at gmail.com
Mon Aug 18 21:29:39 UTC 2014
thank you! i'd love to see the slackbuild updated. :-)
---
<ryanpcmcquen.com>
> On Aug 17, 2014, at 3:45 AM, Luiz Ramos <luizzramos at yahoo.com.br> wrote:
>
> Hello,
>
> my name is Luiz Ramos. This is my first post at this mailing list. I really don't know if this is a proper subject for this mailing list, but please forgive me if I'm wrong.
>
> I am a user of Slackware and SlackBuilds, and sometimes I'd find something to change in some package.
>
> This was the case of ffmpeg. I use to track upstream for the latest version (today's is 2.3.2), and usually download it and use the current slackbuild script (today it's for version 2.1.1) to build a package, using something like 'su -c "VERSION=v.v.v sh package.SlackBuild". Usually it works. But ffmpeg upstream developers made slight changes starting in version 2.3, and those changes is the subject I'd like to talk about.
>
> In sum, they modified the names of some files (e.g, "INSTALL.md" for the older "INSTALL"), and changed the location of one file, "RELEASE_NOTES". Some slight changes in some copy commands were sufficient to make the script work again. Also, this new script was made compatible with versions prior to 2.3.
>
> What I did was something like this:
>
> @@ -187,8 +189,10 @@ find $PKG -print0 | xargs -0 file | grep
> find $PKG/usr/man -type f -exec gzip -9 {} \;
>
> mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/txt
> -cp -a Changelog COPYING* CREDITS INSTALL LICENSE MAINTAINERS README RELEASE \
> - VERSION doc/RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
> +cp -a Changelog COPYING* CREDITS INSTALL* LICENSE* MAINTAINERS README* RELEASE \
> + VERSION $PKG/usr/doc/$PRGNAM-$VERSION
> +_f=doc/RELEASE_NOTES [ -f "$_f" ] && cp -a "$_f" $PKG/usr/doc/$PRGNAM-$VERSION
> +_f=RELEASE_NOTES [ -f "$_f" ] && cp -a "$_f" $PKG/usr/doc/$PRGNAM-$VERSION
> cp -a doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION/txt/
> cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
>
>
> I hope this can be of help for the Slackware community.
>
> Thanks,
>
> Luiz Ramos
> São Paulo - Brazil
> lramos dot prof at yahoo dot com dot br
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
More information about the SlackBuilds-users
mailing list