Import of smpeg-xmms-0.3.4:

The smpeg xmms plugin allows playing mpeg videos in xmms and VCD movies,
thanks to the smpeg library.

WWW: http://www.xmms.org/files/plugins/smpeg-xmms/

MAINTAINER=	Wilbern Cobb <cobb@vedge.com.ar>

removed dummy versioning from plugins
This commit is contained in:
pvalchev 2001-07-29 21:49:00 +00:00
parent 4b8bf1fbaa
commit 5da2425ee7
11 changed files with 616 additions and 0 deletions

View File

@ -0,0 +1,49 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
COMMENT= "MPEG and VCD video playback in XMMS"
VERSION= 0.3.4
DISTNAME= smpeg-xmms-${VERSION}
CATEGORIES= graphics
NEED_VERSION= 1.427
HOMEPAGE= http://www.xmms.org/files/plugins/smpeg-xmms/
MAINTAINER= Wilbern Cobb <cobb@vedge.com.ar>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE} \
http://ftp.linja.net/pub/mirrors/xmms/plugins/smpeg-xmms/
LIB_DEPENDS= glib.1.2:glib-*:devel/glib \
gtk.1.2:gtk+-*:x11/gtk+ \
SDL.0.3:sdl-*-!no_x11:devel/sdl \
smpeg.1.3:smpeg-*:devel/smpeg \
xmms.2.0:xmms-*:audio/xmms
USE_X11= Yes
USE_GMAKE= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-glib-prefix=${LOCALBASE} \
--with-gtk-prefix=${LOCALBASE} \
--with-sdl-prefix=${LOCALBASE} \
--with-xmms-prefix=${LOCALBASE}
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
post-patch:
@touch ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure \
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/smpeg-xmms
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/smpeg-xmms
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (smpeg-xmms-0.3.4.tar.gz) = d42622e606ac66346b376bc225f90dec
RMD160 (smpeg-xmms-0.3.4.tar.gz) = d7d4c71d5817ec06a5743b64e998aa9a1dff0019
SHA1 (smpeg-xmms-0.3.4.tar.gz) = e8c0e022615114c9843d95fa425b543f5a099094

View File

@ -0,0 +1,361 @@
$OpenBSD: patch-configure,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
--- configure.orig Tue Feb 13 17:01:10 2001
+++ configure Sun Jul 29 15:31:33 2001
@@ -2580,57 +2580,8 @@ fi
-echo $ac_n "checking for SMPEG_new_data in -lsmpeg""... $ac_c" 1>&6
-echo "configure:2585: checking for SMPEG_new_data in -lsmpeg" >&5
-ac_lib_var=`echo smpeg'_'SMPEG_new_data | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lsmpeg -lpthread $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 2593 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char SMPEG_new_data();
-
-int main() {
-SMPEG_new_data()
-; return 0; }
-EOF
-if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_lib=HAVE_LIB`echo smpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lsmpeg $LIBS"
-
-else
- echo "$ac_t""no" 1>&6
-{ echo "configure: error: *** SMPEG 0.4.1 not installed! Get it at http://www.lokigames.com/development/smpeg.php3 ***" 1>&2; exit 1; }
-fi
-
-
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
-echo "configure:2634: checking for pthread_attr_init in -lpthread" >&5
+echo "configure:2585: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2638,7 +2589,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2642 "configure"
+#line 2593 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2649,7 +2600,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
-if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2668,7 +2619,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_attr_init in -lpthreads""... $ac_c" 1>&6
-echo "configure:2672: checking for pthread_attr_init in -lpthreads" >&5
+echo "configure:2623: checking for pthread_attr_init in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2676,7 +2627,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthreads $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2680 "configure"
+#line 2631 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2687,7 +2638,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
-if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2706,7 +2657,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6
-echo "configure:2710: checking for pthread_attr_init in -lc_r" >&5
+echo "configure:2661: checking for pthread_attr_init in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2714,7 +2665,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lc_r $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2718 "configure"
+#line 2669 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2725,7 +2676,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
-if { (eval echo configure:2729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2740,7 +2691,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- PTHREAD_LIBS="-lc_r"
+ PTHREAD_LIBS="-pthread"
else
echo "$ac_t""no" 1>&6
{ echo "configure: error: *** POSIX thread support not found - please install first ***" 1>&2; exit 1; }
@@ -2755,7 +2706,7 @@ fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:2759: checking how to run the C preprocessor" >&5
+echo "configure:2710: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@@ -2770,13 +2721,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 2774 "configure"
+#line 2725 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -2787,13 +2738,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 2791 "configure"
+#line 2742 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -2804,13 +2755,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
-#line 2808 "configure"
+#line 2759 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -2836,17 +2787,17 @@ echo "$ac_t""$CPP" 1>&6
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
-echo "configure:2840: checking for pthread.h" >&5
+echo "configure:2791: checking for pthread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2845 "configure"
+#line 2796 "configure"
#include "confdefs.h"
#include <pthread.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2870,21 +2821,21 @@ fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
-echo "configure:2874: checking for inline" >&5
+echo "configure:2825: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
-#line 2881 "configure"
+#line 2832 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
-if { (eval echo configure:2888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
@@ -2911,12 +2862,12 @@ esac
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:2915: checking for ANSI C header files" >&5
+echo "configure:2866: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2920 "configure"
+#line 2871 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -2924,7 +2875,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2941,7 +2892,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 2945 "configure"
+#line 2896 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@@ -2959,7 +2910,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 2963 "configure"
+#line 2914 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@@ -2980,7 +2931,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
-#line 2984 "configure"
+#line 2935 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2991,7 +2942,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
exit (0); }
EOF
-if { (eval echo configure:2995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@@ -3016,15 +2967,15 @@ fi
echo $ac_n "checking for XvGetVideo in -lSDL""... $ac_c" 1>&6
-echo "configure:3020: checking for XvGetVideo in -lSDL" >&5
+echo "configure:2971: checking for XvGetVideo in -lSDL" >&5
ac_lib_var=`echo SDL'_'XvGetVideo | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lSDL -lpthread $LIBS"
+LIBS="-lSDL -pthread $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3028 "configure"
+#line 2979 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -3035,7 +2986,7 @@ int main() {
XvGetVideo()
; return 0; }
EOF
-if { (eval echo configure:3039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3058,7 +3009,7 @@ fi
echo $ac_n "checking for r00taxx in -lr00t""... $ac_c" 1>&6
-echo "configure:3062: checking for r00taxx in -lr00t" >&5
+echo "configure:3013: checking for r00taxx in -lr00t" >&5
ac_lib_var=`echo r00t'_'r00taxx | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -3066,7 +3017,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lr00t LIBBRAIN="-lhaxxor" $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3070 "configure"
+#line 3021 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -3077,7 +3028,7 @@ int main() {
r00taxx()
; return 0; }
EOF
-if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else

View File

@ -0,0 +1,26 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
--- configure.in.orig Tue Feb 13 16:59:20 2001
+++ configure.in Sun Jul 29 15:31:25 2001
@@ -23,12 +23,10 @@ fi
AC_SUBST(SMPEG_CFLAGS)
AC_SUBST(SMPEG_LIBS)
-AC_CHECK_LIB(smpeg, SMPEG_new_data,, AC_MSG_ERROR([*** SMPEG 0.4.1 not installed! Get it at http://www.lokigames.com/development/smpeg.php3 ***]), -lpthread)
-
dnl Check for pthread
AC_CHECK_LIB(pthread, pthread_attr_init, PTHREAD_LIBS="-lpthread",
AC_CHECK_LIB(pthreads, pthread_attr_init, PTHREAD_LIBS="-lpthreads",
- AC_CHECK_LIB(c_r, pthread_attr_init, PTHREAD_LIBS="-lc_r",
+ AC_CHECK_LIB(c_r, pthread_attr_init, PTHREAD_LIBS="-pthread",
AC_MSG_ERROR([*** POSIX thread support not found - please install first ***])
)))
AC_SUBST(PTHREAD_LIBS)
@@ -43,7 +41,7 @@ AC_C_INLINE
dnl Checks for library functions.
AC_HEADER_STDC
-AC_CHECK_LIB(SDL, XvGetVideo, video_x11_xv=yes , video_x11_xv=no, -lpthread)
+AC_CHECK_LIB(SDL, XvGetVideo, video_x11_xv=yes , video_x11_xv=no, -pthread)
AC_CHECK_LIB(r00t, r00taxx, r00t=yess, r00t=noo, [LIBBRAIN="-lhaxxor"])

View File

@ -0,0 +1,54 @@
$OpenBSD: patch-ltconfig,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
--- ltconfig.orig Tue Aug 15 00:50:45 2000
+++ ltconfig Sun Jul 29 15:19:12 2001
@@ -1105,6 +1105,9 @@ cygwin* | mingw*)
with_gnu_ld=no
fi
;;
+openbsd*)
+ with_gnu_ld=no
+ ;;
esac
@@ -1402,10 +1405,21 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
+ export_dynamic_flag_spec='${wl}-E'
+ fi
+ ;;
+ esac
;;
os2*)
@@ -2021,13 +2035,12 @@ netbsd*)
openbsd*)
version_type=sunos
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- need_version=no
- fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
+ deplibs_check_method='pass_all'
+ need_version=no
+ need_lib_prefix=no
;;
os2*)

View File

@ -0,0 +1,84 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
--- ltmain.sh.orig Tue Aug 15 00:50:45 2000
+++ ltmain.sh Sun Jul 29 14:59:17 2001
@@ -1079,7 +1079,18 @@ compiler."
# These systems don't actually have c library (as such)
continue
;;
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ continue
+ ;;
esac
+ elif test "$arg" = "-lc_r"; then
+ case "$host" in
+ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
elif test "$arg" = "-lm"; then
case "$host" in
*-*-cygwin* | *-*-beos*)
@@ -1091,6 +1102,10 @@ compiler."
deplibs="$deplibs $arg"
;;
+ -?thread)
+ deplibs="$deplibs $arg"
+ ;;
+
-module)
module=yes
continue
@@ -1799,6 +1814,9 @@ compiler."
# rhapsody is a little odd...
deplibs="$deplibs -framework System"
;;
+ *-*-openbsd*)
+ # do not include libc due to us having libc/libc_r.
+ ;;
*)
# Add libc to deplibs on all other systems.
deplibs="$deplibs -lc"
@@ -3567,40 +3585,6 @@ libdir='$install_libdir'\
# Exit here if they wanted silent mode.
test "$show" = : && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_smpeg_xmms_c,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
fix a race condition when switching to doublescreen mode.
--- src/smpeg-xmms.c.orig Tue Feb 13 16:54:51 2001
+++ src/smpeg-xmms.c Sun Jul 29 14:59:17 2001
@@ -425,10 +425,10 @@ static void smpeg_set_doublesize(gboolea
SMPEG_Info info;
gboolean unpause = FALSE;
+ smpeg_set_fullscreen(FALSE);
+
SDL_mutexP(mpeg_mutex);
SMPEG_getinfo(mpeg, &info);
-
- smpeg_set_fullscreen(FALSE);
if (SMPEG_status(mpeg) == SMPEG_PLAYING)
{

View File

@ -0,0 +1,4 @@
The smpeg xmms plugin allows playing mpeg videos in xmms and VCD movies,
thanks to the smpeg library.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,6 @@
To use the smpeg-xmms plugin, add mpeg files to the xmms playlist. To
play VCD movies, open a location of vcd:device[:track], where device is
something resembling /dev/cd0c, and track is an optional track number
specification. Refer to the smpeg-xmms README file.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
lib/xmms/Input/libsmpeg_xmms.la
lib/xmms/Input/libsmpeg_xmms.so

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/29 21:49:00 pvalchev Exp $
%%SHARED%%
share/doc/smpeg-xmms/AUTHORS
share/doc/smpeg-xmms/COPYING
share/doc/smpeg-xmms/ChangeLog
share/doc/smpeg-xmms/NEWS
share/doc/smpeg-xmms/README
share/doc/smpeg-xmms/TODO
@dirrm share/doc/smpeg-xmms