mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update libbluray and related libraries
Also clean up/modernise Makefiles. Reviewed by: cs Approved by: cs Differential Revision: https://reviews.freebsd.org/D5743
This commit is contained in:
parent
db0d1252b3
commit
969dda2c45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414031
8 changed files with 15 additions and 81 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libaacs
|
||||
PORTVERSION= 0.8.0
|
||||
PORTVERSION= 0.8.1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
|
||||
http://blu.opsec.eu/
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libaacs-0.8.0.tar.bz2) = 5e44545c7c4cb48bea49ff6b19d148416663593d6125ac8734776df21154ba94
|
||||
SIZE (libaacs-0.8.0.tar.bz2) = 311904
|
||||
SHA256 (libaacs-0.8.1.tar.bz2) = 95c344a02c47c9753c50a5386fdfb8313f9e4e95949a5c523a452f0bcb01bbe8
|
||||
SIZE (libaacs-0.8.1.tar.bz2) = 315231
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
--- src/file/mmc_device_linux.c.orig 2015-01-29 11:40:32.000000000 +0100
|
||||
+++ src/file/mmc_device_linux.c 2015-01-29 11:42:00.000000000 +0100
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "util/strutl.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
@@ -180,8 +181,8 @@
|
||||
} else {
|
||||
BD_DEBUG(DBG_MMC | DBG_CRIT, "Error opening /proc/mounts\n");
|
||||
}
|
||||
-#endif
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (fd >= 0) {
|
||||
dev = calloc(1, sizeof(MMCDEV));
|
|
@ -5,5 +5,5 @@ include/libaacs/filesystem.h
|
|||
lib/libaacs.a
|
||||
lib/libaacs.so
|
||||
lib/libaacs.so.0
|
||||
lib/libaacs.so.0.5.0
|
||||
lib/libaacs.so.0.5.1
|
||||
libdata/pkgconfig/libaacs.pc
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libbluray
|
||||
PORTVERSION= 0.7.0
|
||||
PORTVERSION= 0.9.2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
|
||||
|
@ -31,50 +31,11 @@ OPTIONS_DEFINE= JAVA
|
|||
OPTIONS_SUB= yes
|
||||
JAVA_DESC= Enable Blu-Ray Java support
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MJAVA}
|
||||
BUILD_DEPENDS+= ant:devel/apache-ant
|
||||
CATEGORIES+= java
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
JAVA_BUILD= yes
|
||||
JAVA_RUN= yes
|
||||
CONFIGURE_ARGS+= --enable-bdjava --with-bdj-type=j2se
|
||||
CONFIGURE_ENV+= JDK_HOME="${JAVA_HOME}"
|
||||
.endif
|
||||
|
||||
#
|
||||
# NOTE:
|
||||
# makeplist has no support for options, leave this in place
|
||||
#
|
||||
|
||||
# Create PLIST_SUB definitions for options
|
||||
.for _option in ${OPTIONS_DEFINE}
|
||||
.if ${PORT_OPTIONS:M${_option}}
|
||||
PLIST_SUB+= ${_option}=""
|
||||
.else
|
||||
PLIST_SUB+= ${_option}="@comment "
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
plist:
|
||||
@${ECHO} "===> Rebuilding PLIST."
|
||||
.for _option in "" ${OPTIONS_DEFINE}
|
||||
@${MAKE} clean stage OPTIONS_EXCLUDE="${OPTIONS_DEFINE:N${_option}}" \
|
||||
WITH=${_option}
|
||||
@${MTREE_CMD} -cp "${STAGEDIR}${PREFIX}/" > "${WRKDIR}/mtree.${_option}"
|
||||
@${MTREE_CMD} -Sf "${WRKDIR}/mtree.${_option}" -f "${MTREE_FILE}" \
|
||||
| ${SED} -e '/share\/licenses/d' -e '/ dir /d' -e 's/ .*//' \
|
||||
> "plist.${_option}"
|
||||
.endfor
|
||||
.for _option in ${OPTIONS_DEFINE}
|
||||
@${GREP} -vFx "$$(${CAT} "plist.")" "plist.${_option}" \
|
||||
| ${SED} 's/^/%%${_option}%%/' > "plist.add.${_option}"
|
||||
@${RM} "plist.${_option}"
|
||||
.endfor
|
||||
@${CAT} plist. ${OPTIONS_DEFINE:C/^/plist.add./} \
|
||||
| ${SED} "${PLIST_SUB_SED}" > ${PLIST}
|
||||
@${RM} plist. ${OPTIONS_DEFINE:C/^/plist.add./}
|
||||
JAVA_BUILD_DEPENDS= ant:devel/apache-ant
|
||||
JAVA_CATEGORIES= java
|
||||
JAVA_USE= JAVA=yes
|
||||
JAVA_VARS= JAVA_VERSION=1.6+ JAVA_BUILD=yes JAVA_RUN=yes
|
||||
JAVA_CONFIGURE_ENABLE= bdjava
|
||||
JAVA_CONFIGURE_ENV= JDK_HOME="${JAVA_HOME}"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libbluray-0.7.0.tar.bz2) = f79beb9fbb24117cbb1264c919e686ae9e6349c0ad08b48c4b6233b2887eb68d
|
||||
SIZE (libbluray-0.7.0.tar.bz2) = 597266
|
||||
SHA256 (libbluray-0.9.2.tar.bz2) = efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea
|
||||
SIZE (libbluray-0.9.2.tar.bz2) = 704357
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
--- src/Makefile.am.orig 2015-01-26 10:44:55.000000000 +0100
|
||||
+++ src/Makefile.am 2015-01-29 13:10:02.000000000 +0100
|
||||
@@ -1,4 +1,3 @@
|
||||
-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT
|
||||
SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray -Ilibbluray/bdnav $(BDJAVA_CFLAGS)
|
||||
|
||||
AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS)
|
|
@ -11,6 +11,6 @@ include/libbluray/player_settings.h
|
|||
lib/libbluray.a
|
||||
lib/libbluray.so
|
||||
lib/libbluray.so.1
|
||||
lib/libbluray.so.1.7.0
|
||||
lib/libbluray.so.1.9.2
|
||||
libdata/pkgconfig/libbluray.pc
|
||||
%%JAVA%%%%JAVASHAREDIR%%/libbluray-j2se-0.7.0.jar
|
||||
%%JAVA%%%%JAVASHAREDIR%%/libbluray-j2se-0.9.2.jar
|
||||
|
|
Loading…
Add table
Reference in a new issue