xine-lib/xine-lib-1.1.5-multilib-devel.patch
Ville Skyttä 3d651b1200 * Wed Apr 11 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1.5-1
- 1.1.5.
- Include GSM 06.10 decoder (#228186).
- Re-enable CACA support.
2007-04-11 21:36:29 +00:00

41 lines
1.1 KiB
Diff

--- misc/xine-config.in~ 2007-04-05 01:18:00.000000000 +0300
+++ misc/xine-config.in 2007-04-11 01:32:44.000000000 +0300
@@ -2,8 +2,8 @@
#
#
-prefix=@XINE_CONFIG_PREFIX@
-exec_prefix=@exec_prefix@
+prefix=$(pkg-config libxine --variable=prefix)
+exec_prefix=$(pkg-config libxine --variable=exec_prefix)
exec_prefix_set=no
usage()
@@ -54,7 +54,7 @@
echo_exec_prefix=yes
;;
--version)
- echo @XINE_MAJOR@.@XINE_MINOR@.@XINE_SUB@
+ pkg-config libxine --modversion
;;
--acflags)
echo_acflags=yes
@@ -100,14 +100,14 @@
fi
if test "$echo_cflags" = "yes"; then
- echo -I@includedir@ @PTHREAD_CFLAGS@
+ pkg-config libxine --cflags
fi
if test "$echo_libs" = "yes"; then
- echo -L@libdir@ -lxine @ZLIB_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ @LIBICONV@ @RT_LIBS@
+ pkg-config libxine --libs
fi
if test "$echo_plugindir" = "yes"; then
- echo "@XINE_PLUGINPATH@"
+ echo "$(pkg-config libxine --variable=libdir)/xine/plugins/$(pkg-config libxine --modversion)"
fi
if test "$echo_datadir" = "yes"; then
echo "@XINE_DATADIR@"