libbluray is an open-source library designed for Blu-Ray Discs playback
for media players, like VLC or MPlayer. This research project is developed by an international team of developers from Doom9. Reviewed and a few fixes by Brad OK sthen@
This commit is contained in:
parent
906abaa014
commit
8388b447a1
42
multimedia/libbluray/Makefile
Normal file
42
multimedia/libbluray/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/30 13:16:33 phessler Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
COMMENT = library supporting Blu-ray playback
|
||||
|
||||
V = 0.2.2
|
||||
DISTNAME = libbluray-${V}
|
||||
CATEGORIES = multimedia
|
||||
|
||||
HOMEPAGE = http://www.videolan.org/developers/libbluray.html
|
||||
|
||||
MAINTAINER = Peter Hessler <phessler@openbsd.org>
|
||||
|
||||
MASTER_SITES = http://download.videolan.org/pub/videolan/libbluray/${V}/ \
|
||||
ftp://ftp.videolan.org/pub/videolan/libbluray/${V}/
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
# LGPL v2.1
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
SHARED_LIBS += bluray 0.0 # 0.0
|
||||
WANTLIB += m pthread xml2 z
|
||||
|
||||
MODULES = converters/libiconv
|
||||
|
||||
LIB_DEPENDS = textproc/libxml
|
||||
BUILD_DEPENDS = devel/bison \
|
||||
devel/flex
|
||||
|
||||
MAKE_FLAGS = CFLAGS="${CFLAGS}"
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
USE_LIBTOOL = yes
|
||||
YACC = ${LOCALBASE}/bin/bison -y
|
||||
CONFIGURE_ENV = ac_cv_prog_LEX="${LOCALBASE}/bin/gflex"
|
||||
CONFIGURE_ARGS += --disable-doxygen-doc
|
||||
|
||||
.include <bsd.port.mk>
|
5
multimedia/libbluray/distinfo
Normal file
5
multimedia/libbluray/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libbluray-0.2.2.tar.bz2) = yzJU3kMnaGHqawfGA/RlHA==
|
||||
RMD160 (libbluray-0.2.2.tar.bz2) = DgFvzxcd/AEK9oxlCt/BMc7UwqI=
|
||||
SHA1 (libbluray-0.2.2.tar.bz2) = sM4hBzbQEuSl8VXsTq0/xYq+FDo=
|
||||
SHA256 (libbluray-0.2.2.tar.bz2) = Rvpv+LGLZstHiggZgaYSMP05CeGoZ+r4EyVWkiTacXM=
|
||||
SIZE (libbluray-0.2.2.tar.bz2) = 456025
|
38
multimedia/libbluray/patches/patch-configure
Normal file
38
multimedia/libbluray/patches/patch-configure
Normal file
@ -0,0 +1,38 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2012/03/30 13:16:33 phessler Exp $
|
||||
--- configure.orig Mon Mar 26 19:45:55 2012
|
||||
+++ configure Mon Mar 26 19:46:28 2012
|
||||
@@ -12165,13 +12165,13 @@ fi
|
||||
# required libraries
|
||||
# pthreads (not on win32)
|
||||
if test "${SYS}" != "mingw32" ; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
|
||||
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -pthread" >&5
|
||||
+$as_echo_n "checking for pthread_create in -pthread... " >&6; }
|
||||
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lpthread $LIBS"
|
||||
+LIBS="-pthread $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -12202,7 +12202,7 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
|
||||
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
|
||||
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
|
||||
- LIBS="$LIBS -lpthread"
|
||||
+ LIBS="$LIBS -pthread"
|
||||
fi
|
||||
|
||||
fi
|
||||
@@ -12559,8 +12559,6 @@ fi
|
||||
|
||||
# use optimizations
|
||||
if [ $use_optimizations = "yes" ]; then
|
||||
- check_cc_options -O3 && \
|
||||
- SET_OPTIMIZATIONS="$SET_OPTIMIZATIONS -O3"
|
||||
check_cc_options -fomit-frame-pointer && \
|
||||
SET_OPTIMIZATIONS="$SET_OPTIMIZATIONS -fomit-frame-pointer"
|
||||
fi
|
10
multimedia/libbluray/patches/patch-src_libbluray_pc_in
Normal file
10
multimedia/libbluray/patches/patch-src_libbluray_pc_in
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-src_libbluray_pc_in,v 1.1.1.1 2012/03/30 13:16:33 phessler Exp $
|
||||
--- src/libbluray.pc.in.orig Mon Mar 26 19:47:07 2012
|
||||
+++ src/libbluray.pc.in Mon Mar 26 19:47:30 2012
|
||||
@@ -6,5 +6,5 @@ includedir=@includedir@
|
||||
Name: libbluray
|
||||
Description: library supporting Blu-ray playback
|
||||
Version: @PACKAGE_VERSION@
|
||||
-Libs: -L${libdir} -lbluray
|
||||
+Libs: -L${libdir} -lbluray -pthread
|
||||
Cflags: -I${includedir}
|
5
multimedia/libbluray/pkg/DESCR
Normal file
5
multimedia/libbluray/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
libbluray is an open-source library designed for Blu-Ray Discs playback
|
||||
for media players, like VLC or MPlayer.
|
||||
|
||||
This research project is developed by an international team of
|
||||
developers from Doom9.
|
15
multimedia/libbluray/pkg/PLIST
Normal file
15
multimedia/libbluray/pkg/PLIST
Normal file
@ -0,0 +1,15 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/30 13:16:33 phessler Exp $
|
||||
include/libbluray/
|
||||
include/libbluray/bluray-version.h
|
||||
include/libbluray/bluray.h
|
||||
include/libbluray/clpi_data.h
|
||||
include/libbluray/filesystem.h
|
||||
include/libbluray/keys.h
|
||||
include/libbluray/log_control.h
|
||||
include/libbluray/meta_data.h
|
||||
include/libbluray/overlay.h
|
||||
lib/libbluray.a
|
||||
lib/libbluray.la
|
||||
@lib lib/libbluray.so.${LIBbluray_VERSION}
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/libbluray.pc
|
Loading…
x
Reference in New Issue
Block a user