LibFAME: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
Weibullguy (talk | contribs) No edit summary |
||
| (11 intermediate revisions by 6 users not shown) | |||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://prdownloads.sourceforge.net/fame/libfame- | | http://prdownloads.sourceforge.net/fame/libfame-{{LibFAME-Version}}.tar.gz | ||
|- | |- | ||
!Download Patch: | !Download Patch: | ||
| http:// | | http://svn.cross-lfs.org/svn/repos/patches/libfame/libfame-{{LibFAME-Version}}-gcc34-1.patch | ||
|- | |||
!Download patch: | |||
| http://svn.cross-lfs.org/svn/repos/patches/libfame/libfame-{{LibFAME-Version}}-config_update-1.patch | |||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|LibFAME is a fast (real-time) MPEG-1 as well as MPEG-4 rectangular and arbitrary shaped video encoding library.|http://fame.sourceforge.net/}} | |||
== Non-Multilib == | == Non-Multilib == | ||
| Line 16: | Line 19: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../libfame- | patch -Np1 -i ../libfame-{{LibFAME-Version}}-gcc34-1.patch && | ||
patch -Np1 -i ../libfame-{{LibFAME-Version}}-config_update-1.patch && | |||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
| Line 31: | Line 35: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../libfame- | patch -Np1 -i ../libfame-{{LibFAME-Version}}-gcc34-1.patch && | ||
patch -Np1 -i ../libfame-{{LibFAME-Version}}-config_update-1.patch && | |||
sed -i "s/\$CC -shared/& ${BUILD32}/" ltconfig && | |||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr && | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
| Line 38: | Line 44: | ||
Install the package | Install the package | ||
make install | make install && | ||
mv -v /usr/bin/libfame-config{,-32} | |||
=== N32 === | === N32 === | ||
| Line 44: | Line 51: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../libfame- | patch -Np1 -i ../libfame-{{LibFAME-Version}}-gcc34-1.patch && | ||
patch -Np1 -i ../libfame-{{LibFAME-Version}}-config_update-1.patch && | |||
sed -i "s/\$CC -shared/& ${BUILDN32}/" ltconfig && | |||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
| Line 51: | Line 60: | ||
Install the package | Install the package | ||
make install | make install && | ||
mv -v /usr/bin/libfame-config{,-n32} | |||
=== 64Bit === | === 64Bit === | ||
| Line 57: | Line 67: | ||
Compile the package: | Compile the package: | ||
patch -Np1 -i ../libfame- | patch -Np1 -i ../libfame-{{LibFAME-Version}}-gcc34-1.patch && | ||
patch -Np1 -i ../libfame-{{LibFAME-Version}}-config_update-1.patch && | |||
sed -i "s/\$CC -shared/& ${BUILD64}/" ltconfig && | |||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
| Line 64: | Line 76: | ||
Install the package | Install the package | ||
make install | make install && | ||
mv -v /usr/bin/libfame-config{,-64} && | |||
ln -sfv multiarch_wrapper /usr/bin/libfame-config | |||
== | == Contents == | ||
{|style="text-align: left" | |||
|-valign="top" | |||
!Installed Directories: | |||
Installed Programs: libfame-config | |None | ||
|-valign="top" | |||
Installed Libraries: libfame. | !Installed Programs: | ||
|libfame-config | |||
|-valign="top" | |||
!Installed Libraries: | |||
|libfame.so, libfame.la, libfame.a | |||
|-valign="top" | |||
!Symlinks: | |||
|/usr/lib/libfame-0.9.so.1 --> /usr/lib/libfame-0.9.so.1.0.0, /usr/lib/libfame.so --> /usr/lib/libfame-0.9.so.1.0.0 | |||
|} | |||
=== Short Descriptions === | === Short Descriptions === | ||
| Line 81: | Line 101: | ||
libfame.{so,a}: provides functions for the video encoding programs. | libfame.{so,a}: provides functions for the video encoding programs. | ||
[[Category:Media Libraries]] | |||
Latest revision as of 17:35, 2 November 2010
Introduction to LibFAME
LibFAME is a fast (real-time) MPEG-1 as well as MPEG-4 rectangular and arbitrary shaped video encoding library.
Project Homepage: http://fame.sourceforge.net/
Non-Multilib
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && sed -i 's/$CC --version/$CC -dumpversion/' configure && ./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch &&
patch -Np1 -i ../libfame-0.9.1-config_update-1.patch &&
sed -i "s/\$CC -shared/& ${BUILD32}/" ltconfig &&
sed -i 's/$CC --version/$CC -dumpversion/' configure &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make
Install the package
make install &&
mv -v /usr/bin/libfame-config{,-32}
N32
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch &&
patch -Np1 -i ../libfame-0.9.1-config_update-1.patch &&
sed -i "s/\$CC -shared/& ${BUILDN32}/" ltconfig &&
sed -i 's/$CC --version/$CC -dumpversion/' configure &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package
make install &&
mv -v /usr/bin/libfame-config{,-n32}
64Bit
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch &&
patch -Np1 -i ../libfame-0.9.1-config_update-1.patch &&
sed -i "s/\$CC -shared/& ${BUILD64}/" ltconfig &&
sed -i 's/$CC --version/$CC -dumpversion/' configure &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Install the package
make install &&
mv -v /usr/bin/libfame-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/libfame-config
Contents
| Installed Directories: | None |
|---|---|
| Installed Programs: | libfame-config |
| Installed Libraries: | libfame.so, libfame.la, libfame.a |
| Symlinks: | /usr/lib/libfame-0.9.so.1 --> /usr/lib/libfame-0.9.so.1.0.0, /usr/lib/libfame.so --> /usr/lib/libfame-0.9.so.1.0.0 |
Short Descriptions
libfame-config: provides configuration information for libfame.
libfame.{so,a}: provides functions for the video encoding programs.