|
Lines 68-76
Header files for wxGTK, the GTK+ port of the wxWidgets library.
Link Here
|
| 68 |
%setup |
68 |
%setup |
| 69 |
%patch1 -p1 |
69 |
%patch1 -p1 |
| 70 |
%__subst "s,bakefile/presets,bakefile/presets-\$(WX_RELEASE),g" Makefile.in |
70 |
%__subst "s,bakefile/presets,bakefile/presets-\$(WX_RELEASE),g" Makefile.in |
| 71 |
sed 's/WX_RELEASE=.*/WX_RELEASE=%wxrelease/' -i configure |
|
|
| 72 |
sed 's/WX_VERSION=.*/WX_VERSION=%wxversion/' -i configure |
| 73 |
sed "s/WX_VERSION_TAG=.*/WX_VERSION_TAG=`echo WX\${lib_unicode_suffix}\${WX_LIB_FLAVOUR}_%(echo %wxrelease |sed 's/-.*//') | tr '[[a-z]]' '[[A-Z]]'`/" -i configure |
| 74 |
|
71 |
|
| 75 |
rm -fR src/{expat,jpeg,tiff,zlib,png} |
72 |
rm -fR src/{expat,jpeg,tiff,zlib,png} |
| 76 |
|
73 |
|
|
Lines 78-83
rm -fR src/{expat,jpeg,tiff,zlib,png}
Link Here
|
| 78 |
CONF_FLAG="--enable-shared --without-debug_flag --without-debug_info" |
75 |
CONF_FLAG="--enable-shared --without-debug_flag --without-debug_info" |
| 79 |
|
76 |
|
| 80 |
./autogen.sh |
77 |
./autogen.sh |
|
|
78 |
sed 's/WX_RELEASE=.*/WX_RELEASE=%wxrelease/' -i configure |
| 79 |
sed 's/WX_VERSION=.*/WX_VERSION=%wxversion/' -i configure |
| 80 |
sed "s/WX_VERSION_TAG=.*/WX_VERSION_TAG=`echo WX\${lib_unicode_suffix}\${WX_LIB_FLAVOUR}_%(echo %wxrelease |sed 's/-.*//') | tr '[[a-z]]' '[[A-Z]]'`/" -i configure |
| 81 |
GST_CFLAGS="$(pkg-config --cflags gstreamer-0.10)" |
81 |
GST_CFLAGS="$(pkg-config --cflags gstreamer-0.10)" |
| 82 |
export LIBS="-lX11" |
82 |
export LIBS="-lX11" |
| 83 |
DEFS="-DUNICODE=1 -DwxUSE_UNICODE=1 -DwxDEBUG_LEVEL=0" |
83 |
DEFS="-DUNICODE=1 -DwxUSE_UNICODE=1 -DwxDEBUG_LEVEL=0" |
|
Lines 327-348
ln -sf ../..%_libdir/wx/config/$wx_config_filename %buildroot%_bindir/wx-config
Link Here
|
| 327 |
cp -fR include/wx/private %buildroot%_includedir/wx-%wxrelease/wx/ |
327 |
cp -fR include/wx/private %buildroot%_includedir/wx-%wxrelease/wx/ |
| 328 |
cp -fR include/wx/unix/private %buildroot%_includedir/wx-%wxrelease/wx/unix/ |
328 |
cp -fR include/wx/unix/private %buildroot%_includedir/wx-%wxrelease/wx/unix/ |
| 329 |
|
329 |
|
| 330 |
mv %buildroot%_includedir/wx-%wxrelease %buildroot%_includedir/wx-%wxbranch |
|
|
| 331 |
|
| 332 |
%files -n lib%name |
330 |
%files -n lib%name |
| 333 |
%_libdir/*.so.* |
331 |
%_libdir/*.so.* |
| 334 |
|
332 |
|
| 335 |
%files -n lib%name-devel |
333 |
%files -n lib%name-devel |
| 336 |
%_libdir/wx/config/gtk2-unicode-%wxbranch |
334 |
%_libdir/wx/config/gtk2-unicode-%wxrelease |
| 337 |
%dir %_libdir/wx/include/gtk2-unicode-%wxbranch |
335 |
%dir %_libdir/wx/include/gtk2-unicode-%wxrelease |
| 338 |
%_libdir/wx/include/gtk2-unicode-%wxbranch/wx |
336 |
%_libdir/wx/include/gtk2-unicode-%wxrelease/wx |
| 339 |
%doc docs/* |
337 |
%doc docs/* |
| 340 |
%dir %_datadir/bakefile |
338 |
%dir %_datadir/bakefile |
| 341 |
%_datadir/bakefile/* |
339 |
%_datadir/bakefile/* |
| 342 |
%_bindir/* |
340 |
%_bindir/* |
| 343 |
%_libdir/wx/%wxversion/*.so |
341 |
%_libdir/wx/%wxversion/*.so |
| 344 |
%_datadir/aclocal/*.m4 |
342 |
%_datadir/aclocal/*.m4 |
| 345 |
%_includedir/wx-%wxbranch |
343 |
%_includedir/wx-%wxrelease |
| 346 |
%_libdir/*.so |
344 |
%_libdir/*.so |
| 347 |
|
345 |
|
| 348 |
%changelog |
346 |
%changelog |