Difference between revisions of "Software projects/OS/Slackware/Advanced usage/Non-Free codecs"
From Pandora Wiki
Linux-SWAT (talk | contribs) m (→Recompiling MPlayer2) |
Linux-SWAT (talk | contribs) m (→Creating the build list) |
||
Line 15: | Line 15: | ||
ffmpeg | ffmpeg | ||
− | * Launch sbopkg, load the queue and proceed. | + | * Edit /var/lib/sbopkg/SBo/14.0/multimedia/ffmpeg/ffmpeg.SlackBuild.sbopkg, and add the -fPIC flag after the two -mfloat-abi=softfp |
+ | * Launch sbopkg, load the queue and proceed with local SlackBuilds. | ||
* Please note that ffmpeg is free software, but it has to be recompiled in order to use this crappy non-Free stuff. | * Please note that ffmpeg is free software, but it has to be recompiled in order to use this crappy non-Free stuff. | ||
Latest revision as of 11:23, 6 December 2012
Warning
- I hate to write things like this following tutorial, but sometimes it's necessary to use non-Free stuff, e.g. for work.
Setting up sbopkg
- Use this procedure.
Creating the build list
- As root, create /var/lib/sbopkg/queues/nonfree.sqf
- Fill it with this:
amrnb amrwb faac lame libdvdcss ffmpeg
- Edit /var/lib/sbopkg/SBo/14.0/multimedia/ffmpeg/ffmpeg.SlackBuild.sbopkg, and add the -fPIC flag after the two -mfloat-abi=softfp
- Launch sbopkg, load the queue and proceed with local SlackBuilds.
- Please note that ffmpeg is free software, but it has to be recompiled in order to use this crappy non-Free stuff.
Recompiling MPlayer2
- Install python3 .
export CFLAGS="-DPANDORA -O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" export CXXFLAGS="-DPANDORA -O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" git clone git://github.com/pder/mplayer2-build.git cd mplayer2-build git submodule init git submodule update cd mplayer2-build/mplayer rm -rf /tmp/build/* ./configure --disable-libdvdcss-internal \ --prefix=/usr \ --mandir=/usr/man \ --confdir=/etc/mplayer \ --codecsdir=/usr/lib/codecs \ --language=all make make install DESTDIR=/tmp/build cd /tmp/build removepkg /var/log/packages/MPlayer* makepkg -c y /tmp/MPlayer2-201212-arm-1.tgz installpkg /tmp/MPlayer2-201212-arm-1.tgz
- Please note that MPlayer2 is free software, but it has to be recompiled in order to use this crappy non-Free stuff.