These tools will allow you to play, encode and manage Ogg Vorbis

files.
This commit is contained in:
todd 2001-03-14 01:58:25 +00:00
parent 890a28017c
commit 344abbd7a3
10 changed files with 222 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
DISTNAME= vorbis-tools-1.0beta4
CATEGORIES= audio
NEED_VERSION= 1.359
HOMEPAGE= http://www.vorbis.com
MAINTAINER= Todd Fries <todd@fries.net>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/beta4/unix/
LIB_DEPENDS= ao.1::audio/libao \
ogg.1::audio/libogg \
vorbis.0::audio/libvorbis
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} \
--with-vorbis-prefix=${LOCALBASE} \
--with-vorbis-dir=${LOCALBASE}/lib \
--with-ao-prefix=${LOCALBASE}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vorbis-tools
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
${PREFIX}/share/examples/vorbis-tools/dot.ogg123rc
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (vorbis-tools-1.0beta4.tar.gz) = 5222a18972276f0bf42256c221453d0e
RMD160 (vorbis-tools-1.0beta4.tar.gz) = f4ee89352f3dfb06258e75ea9fb7f59634c912db
SHA1 (vorbis-tools-1.0beta4.tar.gz) = 58fd74ed0c8c814052e5c713736fb2df99bb89e6

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-aclocal_m4,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
--- aclocal.m4.orig Wed Feb 28 19:33:40 2001
+++ aclocal.m4 Wed Feb 28 19:33:47 2001
@@ -222,7 +222,7 @@ AC_ARG_ENABLE(aotest, [ --disable-aotes
AO_LIBS="-L$ao_prefix/lib"
fi
- AO_LIBS="$AO_LIBS -lao -ldl"
+ AO_LIBS="$AO_LIBS -lao"
AC_MSG_CHECKING(for ao)
no_ao=""

View File

@ -0,0 +1,52 @@
$OpenBSD: patch-ltconfig,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
--- ltconfig.orig Thu Jul 13 23:54:59 2000
+++ ltconfig Tue Mar 13 17:39:44 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,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*)

View File

@ -0,0 +1,84 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
--- ltmain.sh.orig Thu Jul 13 23:54:59 2000
+++ ltmain.sh Tue Mar 13 17:39:47 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"
@@ -3571,40 +3589,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,12 @@
$OpenBSD: patch-ogg123_Makefile_in,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
--- ogg123/Makefile.in.orig Tue Mar 13 17:48:16 2001
+++ ogg123/Makefile.in Tue Mar 13 17:49:35 2001
@@ -85,7 +85,7 @@ AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = ogg123
docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
doc_DATA = ogg123rc-example
-mandir = $(datadir)/man
+mandir = $(prefix)/man
man_MANS = ogg123.1
INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AO_CFLAGS@

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-ogg123_buffer_c,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
--- ogg123/buffer.c.orig Tue Mar 13 17:35:55 2001
+++ ogg123/buffer.c Tue Mar 13 17:36:36 2001
@@ -13,10 +13,6 @@
#include <unistd.h> /* for fork and pipe*/
#include <fcntl.h>
-#ifndef DARWIN
-#include <malloc.h>
-#endif
-
#include "ogg123.h"
#include "buffer.h"

View File

@ -0,0 +1 @@
play, encode, and manage Ogg Vorbis files

View File

@ -0,0 +1,4 @@
These tools will allow you to play, encode and manage Ogg Vorbis
files.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/14 01:58:25 todd Exp $
bin/ogg123
bin/oggenc
bin/vorbiscomment
man/man1/ogg123.1
man/man1/oggenc.1
share/examples/vorbis-tools/dot.ogg123rc
@dirrm share/examples/vorbis-tools