diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/ogle/Makefile | 60 | ||||
-rw-r--r-- | graphics/ogle/distinfo | 1 | ||||
-rw-r--r-- | graphics/ogle/files/patch-ogle.in | 11 | ||||
-rw-r--r-- | graphics/ogle/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/ogle/pkg-descr | 19 | ||||
-rw-r--r-- | graphics/ogle/pkg-message | 9 | ||||
-rw-r--r-- | graphics/ogle/pkg-plist | 27 |
8 files changed, 129 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 175f7143ba73..d6833b4c0d90 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -178,6 +178,7 @@ SUBDIR += netpbm SUBDIR += netshow SUBDIR += nurbs++ + SUBDIR += ogle SUBDIR += opendis SUBDIR += opendx SUBDIR += opendx-samples diff --git a/graphics/ogle/Makefile b/graphics/ogle/Makefile new file mode 100644 index 000000000000..93e0c72cca4a --- /dev/null +++ b/graphics/ogle/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: ogle +# Date created: Tue Oct 16 18:35:39 BRST 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ogle +PORTVERSION= 0.8.1 +CATEGORIES= graphics +MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/ + +MAINTAINER= lioux@FreeBSD.org + +LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \ + dvdcss.0:${PORTSDIR}/graphics/libdvdcss \ + dvdread.2:${PORTSDIR}/graphics/libdvdread \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + xml2.5:${PORTSDIR}/textproc/libxml2 + +USE_XLIB= yes +USE_AUTOCONF= yes +USE_AUTOMAKE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" +CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE} \ + --with-dvdread=${LOCALBASE} \ + --with-liba52=${LOCALBASE} +MAKE_ENV= SDL_CONFIG=${SDL_CONFIG} +INSTALLS_SHLIB= yes + +MAN1= ogle.1 +MAN5= oglerc.5 + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +pre-everything:: +.ifndef(WITH_DVD_DEVICE) + @${ECHO_MSG} '===> The default DVD device is /dev/acd0c' + @${ECHO_MSG} "===> You can choose any DVD device at Ogle's command line" + @${ECHO_MSG} '===> Define WITH_DVD_DEVICE if you want to change the default' + @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" +.endif + +post-patch: +.ifdef(WITH_DVD_DEVICE) + @${PERL} -pi.orig -e \ + "s|(DEFAULT_DVD_DEVICE=\")/dev/acd0c(\")|\1${WITH_DVD_DEVICE}\2|" \ + ${WRKSRC}/configure.in +.endif + @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|" ${WRKSRC}/scripts/ogle.in + +post-configure: + @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/graphics/ogle/distinfo b/graphics/ogle/distinfo new file mode 100644 index 000000000000..d9f34fb59c56 --- /dev/null +++ b/graphics/ogle/distinfo @@ -0,0 +1 @@ +MD5 (ogle-0.8.1.tar.gz) = 0152baeeba763908044fc942117e5dcd diff --git a/graphics/ogle/files/patch-ogle.in b/graphics/ogle/files/patch-ogle.in new file mode 100644 index 000000000000..03e3b84f5e15 --- /dev/null +++ b/graphics/ogle/files/patch-ogle.in @@ -0,0 +1,11 @@ +--- scripts/ogle.in.orig Mon Oct 22 17:37:48 2001 ++++ scripts/ogle.in Mon Oct 22 17:39:18 2001 +@@ -27,7 +27,7 @@ + if [ -x $DVDP_ROOT/ogle_gui ]; then + DVDP_UI=$DVDP_ROOT/ogle_gui + else +-DVDP_UI=$exec_prefix/bin/ogle_gui ++DVDP_UI=%%X11BASE%%/bin/ogle_gui + fi + export DVDP_UI + #DVDP_AC3=$DVDP_ROOT/ogle_ac3_p diff --git a/graphics/ogle/pkg-comment b/graphics/ogle/pkg-comment new file mode 100644 index 000000000000..2a2233d5b0b2 --- /dev/null +++ b/graphics/ogle/pkg-comment @@ -0,0 +1 @@ +Open DVD player that supports DVD menus diff --git a/graphics/ogle/pkg-descr b/graphics/ogle/pkg-descr new file mode 100644 index 000000000000..f45a803e7eae --- /dev/null +++ b/graphics/ogle/pkg-descr @@ -0,0 +1,19 @@ +[ from developer's site ] + +Ogle is an open DVD player which: + +o Supports DVD menus and navigation +o Reads from mounted, unmounted DVDs and hard drive +o Reads encrypted and unencrypted DVDs using libdvdread/libdvdcss +o A new MPEG2 decoder with mmx/altivec/medialib acceleration +o Normal X11 and XFree86 Xvideo display support with subpicture + overlay +o Accelerated display on Sun FFB2+ cards +o Angle, audio and subpicture selection +o Handles advanced subpicture commands such as fade/scroll and wipe +o Detects and uses correct aspect for movie and menus +o Possible to play AC3 via S/PDIF with an external command +o Fullscreen mode +o Screenshots with and without subpicture overlay + +WWW: http://www.dtek.chalmers.se/~dvd/ diff --git a/graphics/ogle/pkg-message b/graphics/ogle/pkg-message new file mode 100644 index 000000000000..d5341b26b59b --- /dev/null +++ b/graphics/ogle/pkg-message @@ -0,0 +1,9 @@ + +================ +IMPORTANT NOTICE +================ + +Ogle requires that when playing DVDs, +the sound be set to AC3. Otherwise, +no sound will be heard. + diff --git a/graphics/ogle/pkg-plist b/graphics/ogle/pkg-plist new file mode 100644 index 000000000000..b971f923ebd0 --- /dev/null +++ b/graphics/ogle/pkg-plist @@ -0,0 +1,27 @@ +bin/ifo_dump +bin/ogle +include/ogle/dvd.h +include/ogle/dvdcontrol.h +include/ogle/dvdevents.h +include/ogle/msgevents.h +lib/ogle/libdvdcontrol.a +lib/ogle/libdvdcontrol.la +lib/ogle/libdvdcontrol.so +lib/ogle/libdvdcontrol.so.4 +lib/ogle/libmsgevents.a +lib/ogle/libmsgevents.la +lib/ogle/libmsgevents.so +lib/ogle/libmsgevents.so.3 +lib/ogle/ogle_a52 +lib/ogle/ogle_ac3_p +lib/ogle/ogle_cli +lib/ogle/ogle_ctrl +lib/ogle/ogle_mpeg_ps +lib/ogle/ogle_mpeg_vs +lib/ogle/ogle_nav +lib/ogle/ogle_vout +share/ogle/ogle_conf.dtd +share/ogle/oglerc +@dirrm share/ogle +@dirrm lib/ogle +@dirrm include/ogle |