Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL12
>
MPlayer
> MPlayer-x264_pkgconfig.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File MPlayer-x264_pkgconfig.patch of Package MPlayer
--- configure.orig 2011-10-23 14:25:09.217000421 +0200 +++ configure 2011-10-23 14:36:14.046000420 +0200 @@ -6913,7 +6913,8 @@ int main(void) { x264_encoder_open((void*)0); return 0; } EOF _x264=no - for ld_x264 in "-lx264 $ld_pthread" "-lx264 $ld_pthread" ; do + extra_cflags="`pkg-config --cflags x264` $extra_cflags" + for ld_x264 in "`pkg-config --variable=libdir --static x264`/libx264.a" "`pkg-config --libs x264`" "-lx264 $ld_pthread" "-lx264 $ld_pthread" ; do cc_check $ld_x264 && libs_mencoder="$libs_mencoder $ld_x264" && _x264=yes && break done fi