smpeg-0.4.3 import
This commit is contained in:
parent
ca45f07cb9
commit
8b51bae2a4
37
devel/smpeg/Makefile
Normal file
37
devel/smpeg/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
|
||||
COMMENT= mpeg video player library with sound support
|
||||
|
||||
VER= 0.4.3
|
||||
DISTNAME= smpeg-${VER}
|
||||
CATEGORIES= devel graphics
|
||||
NEED_VERSION= 1.397
|
||||
|
||||
HOMEPAGE= http://www.lokigames.com/development/smpeg.php3
|
||||
|
||||
MAINTAINER= Peter Valchev <pvalchev@home.com>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.linuxgames.com/pub/${SMPEG_DIR} \
|
||||
ftp://sunsite.auc.dk/pub/os/linux/loki/${SMPEG_DIR} \
|
||||
ftp://boudicca.tux.org/misc/lokigames/${SMPEG_DIR} \
|
||||
ftp://snuffleupagus.animearchive.org/loki/${SMPEG_DIR} \
|
||||
http://ftp.gameaholic.com/mirrors/ftp.lokigames.com/${SMPEG_DIR}
|
||||
SMPEG_DIR= open-source/smpeg/
|
||||
|
||||
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
||||
SDL.:sdl-*-!no_x11:devel/sdl
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--disable-opengl-player
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/smpeg/files/md5
Normal file
3
devel/smpeg/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (smpeg-0.4.3.tar.gz) = c5dcbdf154a5e245a971dec507b34457
|
||||
RMD160 (smpeg-0.4.3.tar.gz) = 96132f9841f8cd6ee0af1935bb56894ca4e4dc06
|
||||
SHA1 (smpeg-0.4.3.tar.gz) = 30b76738ab3adb78799eadf9620499984ccc3774
|
11
devel/smpeg/patches/patch-Makefile_am
Normal file
11
devel/smpeg/patches/patch-Makefile_am
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-Makefile_am,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
--- Makefile.am.orig Sun Apr 1 00:23:30 2001
|
||||
+++ Makefile.am Sun Apr 1 00:23:51 2001
|
||||
@@ -33,7 +33,6 @@ libsmpeginclude_HEADERS = \
|
||||
smpeg.h
|
||||
|
||||
libsmpeg_la_LDFLAGS = \
|
||||
- -release $(LT_RELEASE) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
libsmpeg_la_LIBADD = \
|
12
devel/smpeg/patches/patch-Makefile_in
Normal file
12
devel/smpeg/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
--- Makefile.in.orig Sun Apr 1 00:23:34 2001
|
||||
+++ Makefile.in Sun Apr 1 00:24:14 2001
|
||||
@@ -105,7 +105,7 @@ libsmpegincludedir = $(includedir)/smpeg
|
||||
libsmpeginclude_HEADERS = MPEG.h MPEGaction.h MPEGaudio.h MPEGerror.h MPEGfilter.h MPEGring.h MPEGlist.h MPEGstream.h MPEGsystem.h MPEGvideo.h smpeg.h
|
||||
|
||||
|
||||
-libsmpeg_la_LDFLAGS = -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
+libsmpeg_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
|
||||
libsmpeg_la_LIBADD = audio/libaudio.la video/libvideo.la
|
52
devel/smpeg/patches/patch-ltconfig
Normal file
52
devel/smpeg/patches/patch-ltconfig
Normal file
@ -0,0 +1,52 @@
|
||||
$OpenBSD: patch-ltconfig,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
--- ltconfig.orig Wed Sep 27 11:43:01 2000
|
||||
+++ ltconfig Mon Mar 19 21:56:52 2001
|
||||
@@ -1105,6 +1105,9 @@ cygwin* | mingw*)
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
+openbsd*)
|
||||
+ with_gnu_ld=no
|
||||
+ ;;
|
||||
|
||||
esac
|
||||
|
||||
@@ -1403,10 +1406,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*)
|
||||
@@ -2029,13 +2043,10 @@ 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'
|
||||
;;
|
||||
|
||||
os2*)
|
84
devel/smpeg/patches/patch-ltmain_sh
Normal file
84
devel/smpeg/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,84 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
--- ltmain.sh.orig Thu Aug 10 00:02:06 2000
|
||||
+++ ltmain.sh Mon Mar 19 21:56:54 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
|
||||
;;
|
||||
|
15
devel/smpeg/pkg/DESCR
Normal file
15
devel/smpeg/pkg/DESCR
Normal file
@ -0,0 +1,15 @@
|
||||
SMPEG is a free mpeg1 video player library with sound
|
||||
support. Video playback is based on the ubiquitous Berkeley
|
||||
mpeg player, mpeg_play v2.2. SMPEG supports mpeg audio
|
||||
(mp3), based on mpg123's source, mpeg-1 video, and mpeg
|
||||
system streams.
|
||||
|
||||
plaympeg and gtv are simple video players provided to test
|
||||
the library.
|
||||
|
||||
This is a work in progress. Only 16 bit colour depth is
|
||||
supported. The player will dynamically conver to other
|
||||
colour depths, but playback will be much faster if your
|
||||
display is already set to 16 bit colour depth.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
devel/smpeg/pkg/PFRAG.shared
Normal file
3
devel/smpeg/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
lib/libsmpeg.so.1.2
|
||||
DYNLIBDIR(%B)
|
22
devel/smpeg/pkg/PLIST
Normal file
22
devel/smpeg/pkg/PLIST
Normal file
@ -0,0 +1,22 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/19 19:21:20 obecian Exp $
|
||||
bin/gtv
|
||||
bin/plaympeg
|
||||
bin/smpeg-config
|
||||
include/smpeg/MPEG.h
|
||||
include/smpeg/MPEGaction.h
|
||||
include/smpeg/MPEGaudio.h
|
||||
include/smpeg/MPEGerror.h
|
||||
include/smpeg/MPEGfilter.h
|
||||
include/smpeg/MPEGlist.h
|
||||
include/smpeg/MPEGring.h
|
||||
include/smpeg/MPEGstream.h
|
||||
include/smpeg/MPEGsystem.h
|
||||
include/smpeg/MPEGvideo.h
|
||||
include/smpeg/smpeg.h
|
||||
lib/libsmpeg.a
|
||||
lib/libsmpeg.la
|
||||
%%SHARED%%
|
||||
man/man1/gtv.1
|
||||
man/man1/plaympeg.1
|
||||
share/aclocal/smpeg.m4
|
||||
@dirrm include/smpeg
|
Loading…
Reference in New Issue
Block a user