diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-17 09:02:06 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-17 09:02:06 +0800 |
commit | c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d (patch) | |
tree | 7dc3c07cb1063a8970e4bc4f6c543fab1dbc7ab1 /multimedia/ogmrip | |
parent | 9e116e0ffca1d8da9db7437be522def153f5de8d (diff) | |
download | marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.tar marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.tar.gz marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.tar.bz2 marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.tar.lz marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.tar.xz marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.tar.zst marcuscom-ports-c3efacbc36937ffc2848cc1ebdc6e34d2df7b81d.zip |
-Add gnomehack and gnomeprefix, fix the plist.
-USE_X_PREFIX -> USE_XLIB.
-Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7064 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/ogmrip')
-rw-r--r-- | multimedia/ogmrip/Makefile | 79 | ||||
-rw-r--r-- | multimedia/ogmrip/distinfo | 3 | ||||
-rw-r--r-- | multimedia/ogmrip/files/patch-configure | 23 | ||||
-rw-r--r-- | multimedia/ogmrip/pkg-descr | 8 | ||||
-rw-r--r-- | multimedia/ogmrip/pkg-message | 18 | ||||
-rw-r--r-- | multimedia/ogmrip/pkg-plist | 63 |
6 files changed, 194 insertions, 0 deletions
diff --git a/multimedia/ogmrip/Makefile b/multimedia/ogmrip/Makefile new file mode 100644 index 000000000..94c29c9c7 --- /dev/null +++ b/multimedia/ogmrip/Makefile @@ -0,0 +1,79 @@ +# New ports collection makefile for: ogmrip +# Date created: 2004-11-19 +# Whom: Herve Quiroz <hq@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ogmrip +PORTVERSION= 0.9.0 +PORTREVISION= 4 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= hq@FreeBSD.org +COMMENT= Application and libraries for encoding DVDs into DivX/OGM files + +BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \ + oggenc:${PORTSDIR}/audio/vorbis-tools \ + ogmmerge:${PORTSDIR}/multimedia/ogmtools \ + lame:${PORTSDIR}/audio/lame \ + gocr:${PORTSDIR}/graphics/gocr +RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \ + oggenc:${PORTSDIR}/audio/vorbis-tools \ + ogmmerge:${PORTSDIR}/multimedia/ogmtools \ + lame:${PORTSDIR}/audio/lame \ + gocr:${PORTSDIR}/graphics/gocr +LIB_DEPENDS= xvidcore:${PORTSDIR}/multimedia/xvid \ + dvdread:${PORTSDIR}/multimedia/libdvdread \ + enchant:${PORTSDIR}/textproc/enchant + +USE_GNOME= gnomehack gnomeprefix gtk20 glib20 gconf2 libglade2 +GNU_CONFIGURE= yes +USE_XLIB= yes +USE_GMAKE= yes +INSTALLS_SHLIB= yes +GCONF_SCHEMAS= ogmrip.schemas + +CONFIGURE_ARGS= --sharedstatedir=${PREFIX}/libdata + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-maintainer-mode --enable-devel-mode +.endif + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/mkvmerge) +BUILD_DEPENDS+= mkvmerge:${PORTSDIR}/multimedia/mkvtoolnix +RUN_DEPENDS+= mkvmerge:${PORTSDIR}/multimedia/mkvtoolnix +PLIST_SUB+= MKV_SUPPORT="" +.else +PLIST_SUB+= MKV_SUPPORT="@comment " +.endif + +X264_SUPPORT!= ${LOCALBASE}/bin/mencoder -ovc help 2> /dev/null | ${GREP} -q '^ *x264 *- .*$$' \ + && ${ECHO_CMD} "" || ${ECHO_CMD} "@comment " +PLIST_SUB+= X264_SUPPORT="${X264_SUPPORT}" + +.if !defined(WITH_DEBUG) +pre-extract: + @${ECHO_MSG} "" + @${ECHO_MSG} " *** Define WITH_DEBUG to enable debug symbols ***" + @${ECHO_MSG} "" +.endif + +pre-configure: + @if ${LOCALBASE}/mencoder -ovc help 2> /dev/null | ${GREP} -q "^ *xvid *- .*" ; then \ + ${ECHO_MSG} "" ; \ + ${ECHO_MSG} "This port requires a version of MEncoder compiled with XviD support." ; \ + ${ECHO_MSG} "" ; \ + ${FALSE} ; \ + fi + +post-install: + @${ECHO_CMD} "" + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} "" + +.include <bsd.port.post.mk> diff --git a/multimedia/ogmrip/distinfo b/multimedia/ogmrip/distinfo new file mode 100644 index 000000000..406b2833a --- /dev/null +++ b/multimedia/ogmrip/distinfo @@ -0,0 +1,3 @@ +MD5 (ogmrip-0.9.0.tar.gz) = 4884da2f0011c9da86306b19b2d7d310 +SHA256 (ogmrip-0.9.0.tar.gz) = 2c6a39c4a54cf8c3cdb8b31df8efa002b2e955efb1890608d25b980af86d378a +SIZE (ogmrip-0.9.0.tar.gz) = 565778 diff --git a/multimedia/ogmrip/files/patch-configure b/multimedia/ogmrip/files/patch-configure new file mode 100644 index 000000000..ed0e32311 --- /dev/null +++ b/multimedia/ogmrip/files/patch-configure @@ -0,0 +1,23 @@ +--- configure.orig Tue Jun 28 08:16:09 2005 ++++ configure Sun May 21 14:20:18 2006 +@@ -20713,11 +20713,6 @@ + fi + + fi +-if ! "$SED_PROG" --version 2> /dev/null | head -n 1 | grep -q "GNU sed"; then +- { { echo "$as_me:$LINENO: error: Unable to GNU sed in the PATH. You need GNU sed to configure OGMRip. Find it on ftp://ftp.gnu.org/gnu/sed" >&5 +-echo "$as_me: error: Unable to GNU sed in the PATH. You need GNU sed to configure OGMRip. Find it on ftp://ftp.gnu.org/gnu/sed" >&2;} +- { (exit 1); exit 1; }; } +-fi + + + GTK_REQUIRED=2.6.0 +@@ -21304,7 +21299,7 @@ + + + if $MPLAYER_PROG | grep -q "MPlayer [0-1]\.[0-9]\+pre[0-9]\+.*"; then +- MPLAYER_PRE=`$MPLAYER_PROG | head -n 1 | $SED_PROG -e 's%MPlayer [0-1]\.[0-9]\+pre\([0-9]\+\).*%\1%'` ++ MPLAYER_PRE=`$MPLAYER_PROG | head -n 1 | $SED_PROG -e 's%MPlayer [0-1]\.[0-9]pre\([0-9]\).*%\1%'` + + cat >>confdefs.h <<_ACEOF + #define MPLAYER_PRE $MPLAYER_PRE diff --git a/multimedia/ogmrip/pkg-descr b/multimedia/ogmrip/pkg-descr new file mode 100644 index 000000000..89129f467 --- /dev/null +++ b/multimedia/ogmrip/pkg-descr @@ -0,0 +1,8 @@ +OGMRip is an application and a set of libraries for ripping and encoding DVD +into DivX/OGM files using a wide variety of codecs. It relies on mplayer, +mencoder, ogmtools, oggenc and lame to perform its tasks. + +The GUI features a clean HIG-compliant GNOME 2 interface and tries to minimize +as much as possible esoteric settings. + +WWW: http://ogmrip.sourceforge.net/ diff --git a/multimedia/ogmrip/pkg-message b/multimedia/ogmrip/pkg-message new file mode 100644 index 000000000..0c305046e --- /dev/null +++ b/multimedia/ogmrip/pkg-message @@ -0,0 +1,18 @@ +WARNING: libbacon relies on the Common Access Method user library. If you have +an ATAPI drive, you've got to install the CAM XPT module (atapicam) otherwise +your drive will never be detected. + +------------------------------------------------------------------------------- + +Addtionally, to use OGMRip as a user, you should grant such user specific +permissions on some devices. You may for example add the following lines into +/etc/devfs.conf: + +perm cd0 0660 +perm pass0 0660 +perm xpt0 0660 + +(device numbers may vary depending on your configuration) + +Any user from the "operator" group should then be able to access those devices +and use OGMRip. diff --git a/multimedia/ogmrip/pkg-plist b/multimedia/ogmrip/pkg-plist new file mode 100644 index 000000000..766c14514 --- /dev/null +++ b/multimedia/ogmrip/pkg-plist @@ -0,0 +1,63 @@ +@comment $FreeBSD$ +bin/dvdcpy +bin/ogmrip +bin/srttool +bin/subp2pgm +include/ogmdvd.h +include/ogmrip/ogmrip-acopy.h +include/ogmrip/ogmrip-audio.h +include/ogmrip/ogmrip-avi.h +include/ogmrip/ogmrip-codec.h +include/ogmrip/ogmrip-container.h +include/ogmrip/ogmrip-dvdcpy.h +include/ogmrip/ogmrip-lavc.h +%%MKV_SUPPORT%%include/ogmrip/ogmrip-mkv.h +include/ogmrip/ogmrip-mp3.h +include/ogmrip/ogmrip-ogg.h +include/ogmrip/ogmrip-srt.h +include/ogmrip/ogmrip-subp.h +include/ogmrip/ogmrip-tools.h +include/ogmrip/ogmrip-video.h +include/ogmrip/ogmrip-vobsub.h +include/ogmrip/ogmrip-vorbis.h +include/ogmrip/ogmrip-wav.h +%%X264_SUPPORT%%include/ogmrip/ogmrip-x264.h +include/ogmrip/ogmrip-xvid.h +include/ogmrip/ogmrip.h +include/ogmspawn/ogmsp-bin.h +include/ogmspawn/ogmsp-container.h +include/ogmspawn/ogmsp-enums.h +include/ogmspawn/ogmsp-exec.h +include/ogmspawn/ogmsp-list.h +include/ogmspawn/ogmsp-marshal.h +include/ogmspawn/ogmsp-pipeline.h +include/ogmspawn/ogmsp-queue.h +include/ogmspawn/ogmsp-spawn.h +include/ogmspawn/ogmspawn.h +lib/libogmdvd.a +lib/libogmdvd.la +lib/libogmdvd.so +lib/libogmdvd.so.0 +lib/libogmrip.a +lib/libogmrip.la +lib/libogmrip.so +lib/libogmrip.so.0 +lib/libogmspawn.a +lib/libogmspawn.la +lib/libogmspawn.so +lib/libogmspawn.so.0 +libdata/pkgconfig/ogmdvd.pc +libdata/pkgconfig/ogmrip.pc +libdata/pkgconfig/ogmspawn.pc +share/gnome/applications/ogmrip.desktop +share/gnome/ogmrip/ogmrip-crop.glade +share/gnome/ogmrip/ogmrip-main.glade +share/gnome/ogmrip/ogmrip-options.glade +share/gnome/ogmrip/ogmrip-pref.glade +share/gnome/ogmrip/ogmrip-progress.glade +share/gnome/ogmrip/ogmrip-spell.glade +share/gnome/ogmrip/ogmrip-ui.xml +share/gnome/pixmaps/ogmrip.png +@dirrm share/gnome/ogmrip +@dirrm include/ogmspawn +@dirrm include/ogmrip |