diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2002-03-02 02:25:45 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2002-03-02 02:25:45 +0800 |
commit | 8b8116c944c68d5975be5d526df7fc88e5b7075a (patch) | |
tree | 865004f6ecfbb96179822e849ea9c82dc2d31685 /graphics | |
parent | 84636c5af8414e947f0d71baaf2a9c04c729875a (diff) | |
download | freebsd-ports-gnome-8b8116c944c68d5975be5d526df7fc88e5b7075a.tar.gz freebsd-ports-gnome-8b8116c944c68d5975be5d526df7fc88e5b7075a.tar.zst freebsd-ports-gnome-8b8116c944c68d5975be5d526df7fc88e5b7075a.zip |
Add xine_d5d_plugin, a dvd input plugin for xine with menu support.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/Makefile | 46 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/distinfo | 1 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/files/patch-ltmain.sh | 49 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/files/patch-src:Makefile.am | 11 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/files/patch-src:dvdread:Makefile.am | 17 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/pkg-message | 11 | ||||
-rw-r--r-- | graphics/xine_d5d_plugin/pkg-plist | 2 |
10 files changed, 142 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 9f131dabe2bb..9eaa21b069df 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -341,6 +341,7 @@ SUBDIR += xgrasp SUBDIR += xine SUBDIR += xine_d4d_plugin + SUBDIR += xine_d5d_plugin SUBDIR += xine_mms_plugin SUBDIR += xli SUBDIR += xmagv diff --git a/graphics/xine_d5d_plugin/Makefile b/graphics/xine_d5d_plugin/Makefile new file mode 100644 index 000000000000..fbe4e56c55be --- /dev/null +++ b/graphics/xine_d5d_plugin/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: xine_d5d_plugin +# Date created: 24 Jan 2002 +# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com> +# +# $FreeBSD$ +# + +PORTNAME= xine_d5d_plugin +PORTVERSION= 0.1.1 +CATEGORIES= graphics +MASTER_SITES= http://worldzone.net/technology/captaincss/ \ + http://debianlinux.net/ +DISTNAME= d5d011 +EXTRACT_SUFX= .txt + +MAINTAINER= nobutaka@FreeBSD.org + +LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine \ + dvdread.2:${PORTSDIR}/graphics/libdvdread + +USE_AUTOMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + THREAD_LIBS="${PTHREAD_LIBS}" +USE_X_PREFIX= yes +INSTALLS_SHLIB= yes + +WRKSRC= ${WRKDIR}/xine-d5d-${PORTVERSION} + +do-extract: + (${MKDIR} ${WRKDIR}; \ + cd ${WRKDIR}; \ + ${SH} ${DISTDIR}/${DISTFILES}; \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} xine-d5d-${PORTVERSION}.tar.gz ${EXTRACT_AFTER_ARGS}) + +post-patch: + @${PERL} -pi -e \ + 's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \ + s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \ + s|-L/usr/local/lib||g ; \ + s|-I/usr/local/include||g' ${WRKSRC}/configure + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/graphics/xine_d5d_plugin/distinfo b/graphics/xine_d5d_plugin/distinfo new file mode 100644 index 000000000000..2853838452ea --- /dev/null +++ b/graphics/xine_d5d_plugin/distinfo @@ -0,0 +1 @@ +MD5 (d5d011.txt) = f0a4eed4ef42aa036aac0b0d50b4e998 diff --git a/graphics/xine_d5d_plugin/files/patch-ltmain.sh b/graphics/xine_d5d_plugin/files/patch-ltmain.sh new file mode 100644 index 000000000000..adca0cd09275 --- /dev/null +++ b/graphics/xine_d5d_plugin/files/patch-ltmain.sh @@ -0,0 +1,49 @@ +--- ltmain.sh.orig Fri Nov 30 09:22:10 2001 ++++ ltmain.sh Tue Jan 29 10:40:02 2002 +@@ -958,6 +958,7 @@ + ;; + + -avoid-version) ++ build_old_libs=no + avoid_version=yes + continue + ;; +@@ -1045,14 +1046,14 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2459,7 +2460,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; + *) +@@ -4247,10 +4248,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/graphics/xine_d5d_plugin/files/patch-src:Makefile.am b/graphics/xine_d5d_plugin/files/patch-src:Makefile.am new file mode 100644 index 000000000000..365d19c98722 --- /dev/null +++ b/graphics/xine_d5d_plugin/files/patch-src:Makefile.am @@ -0,0 +1,11 @@ +--- src/Makefile.am.orig Thu Jan 24 15:24:42 2002 ++++ src/Makefile.am Thu Jan 24 15:25:09 2002 +@@ -15,7 +15,7 @@ + + xineplug_inp_d5d_la_SOURCES = input_dvd.c + xineplug_inp_d5d_la_LDFLAGS = -avoid-version -module +-xineplug_inp_d5d_la_LIBADD = dvdread/libdvdread.la libogle/libogle.la libdvdnav/libdvdnav.la ++xineplug_inp_d5d_la_LIBADD = -ldvdread libogle/libogle.la libdvdnav/libdvdnav.la + + + diff --git a/graphics/xine_d5d_plugin/files/patch-src:dvdread:Makefile.am b/graphics/xine_d5d_plugin/files/patch-src:dvdread:Makefile.am new file mode 100644 index 000000000000..78b8af257e4a --- /dev/null +++ b/graphics/xine_d5d_plugin/files/patch-src:dvdread:Makefile.am @@ -0,0 +1,17 @@ +--- src/dvdread/Makefile.am.orig Thu Jan 24 15:27:55 2002 ++++ src/dvdread/Makefile.am Thu Jan 24 15:29:03 2002 +@@ -1,14 +1,3 @@ + + CFLAGS = @CFLAGS@ -I.. -O3 -g -D_FILE_OFFSET_BITS=64 -Wall + +-noinst_LTLIBRARIES = libdvdread.la +- +-libdvdread_la_SOURCES = dvd_reader.c dvd_udf.c ifo_read.c ifo_print.c \ +- nav_read.c nav_print.c bswap.h dvd_udf.h \ +- css_auth.c css.c css_dvd.c css_descramble.c +- +-noinst_HEADERS = dvd_reader.h ifo_types.h ifo_read.h \ +- css.h css_auth.h css_keys.h \ +- css_tbl.h css_dvd.h bswap.h \ +- ifo_print.h nav_types.h nav_read.h nav_print.h +- diff --git a/graphics/xine_d5d_plugin/pkg-comment b/graphics/xine_d5d_plugin/pkg-comment new file mode 100644 index 000000000000..ed3ea4d7cd19 --- /dev/null +++ b/graphics/xine_d5d_plugin/pkg-comment @@ -0,0 +1 @@ +A dvd input plugin for xine with menu support diff --git a/graphics/xine_d5d_plugin/pkg-descr b/graphics/xine_d5d_plugin/pkg-descr new file mode 100644 index 000000000000..475ad23fd0cc --- /dev/null +++ b/graphics/xine_d5d_plugin/pkg-descr @@ -0,0 +1,3 @@ +A dvd input plugin for xine with menu support. + +WWW: http://captaincss.0catch.com/ diff --git a/graphics/xine_d5d_plugin/pkg-message b/graphics/xine_d5d_plugin/pkg-message new file mode 100644 index 000000000000..50fce67e8b50 --- /dev/null +++ b/graphics/xine_d5d_plugin/pkg-message @@ -0,0 +1,11 @@ +********************************************************** +* Before using xine_d4d_plugin, you must create symbolic * +* links to specify the device nodes of your DVD drive. * +* * +* example: * +* ln -s /dev/acd0c /dev/dvd * +* ln -s /dev/racd0c /dev/rdvd (on -stable) * +* * +* ln -s /dev/acd0c /dev/dvd * +* ln -s /dev/acd0c /dev/rdvd (on -current) * +********************************************************** diff --git a/graphics/xine_d5d_plugin/pkg-plist b/graphics/xine_d5d_plugin/pkg-plist new file mode 100644 index 000000000000..97effd9ed649 --- /dev/null +++ b/graphics/xine_d5d_plugin/pkg-plist @@ -0,0 +1,2 @@ +lib/xine/plugins/xineplug_inp_d5d.so +@unexec rmdir %D/lib/xine/plugins 2>/dev/null || true |