diff options
Diffstat (limited to 'sysutils/xvidcap')
-rw-r--r-- | sysutils/xvidcap/Makefile | 68 | ||||
-rw-r--r-- | sysutils/xvidcap/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xvidcap/files/patch-configure | 29 | ||||
-rw-r--r-- | sysutils/xvidcap/files/patch-ffmpeg_configure | 21 | ||||
-rw-r--r-- | sysutils/xvidcap/pkg-descr | 7 | ||||
-rw-r--r-- | sysutils/xvidcap/pkg-plist | 155 |
6 files changed, 283 insertions, 0 deletions
diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile new file mode 100644 index 000000000..75c1af26f --- /dev/null +++ b/sysutils/xvidcap/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: xvidcap +# Date created: Sat 24 April 2004 +# Whom: thierry@pompo.net +# +# $FreeBSD$ +# + +PORTNAME= xvidcap +DISTVERSION= 1.1.4p1 +PORTREVISION= 1 +PORTEPOCH= 1 +CATEGORIES= sysutils multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Capture your X display to individual frames or MPEG video + +BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian \ + xml2po:${PORTSDIR}/textproc/gnome-doc-utils \ + texi2html:${PORTSDIR}/textproc/texi2html +# To be reactivated when ffmpeg-devel will install libswscale. +#LIB_DEPENDS= avutil.1:${PORTSDIR}/multimedia/ffmpeg-devel +LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame +RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +# Remove MAKE="${GMAKE}" after ffmpeg-devel's upgrade +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + MAKE="${GMAKE}" +CONFIGURE_ARGS= --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib \ + -with-forced-embedded-ffmpeg # To be removed after ffmpeg-devel's upgrade +USE_GETOPT_LONG= yes + +USE_GMAKE= yes # To be removed after ffmpeg-devel's upgrade +USE_GNOME= glib20 libglade2 +USE_GETTEXT= yes +INSTALLS_OMF= yes + +.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == "" +CFLAGS+= -O2 -fno-strict-aliasing +.endif + +PORTDOCS= AUTHORS ChangeLog README +NULLDOCS= COPYING + +MAN1= xvidcap.1 + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libavutil.so) +# To be removed after ffmep-devel'upgrade +BROKEN= Cannot compile when ffmpeg-devel is installed +.endif + +.if ${OSVERSION} < 500000 +BROKEN= Compilation error with gcc-2.95. +.endif + +pre-configure: + ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + +post-install: + @${RM} ${NULLDOCS:S|^|${DOCSDIR}/|} + +.include <bsd.port.post.mk> diff --git a/sysutils/xvidcap/distinfo b/sysutils/xvidcap/distinfo new file mode 100644 index 000000000..8b17e4d05 --- /dev/null +++ b/sysutils/xvidcap/distinfo @@ -0,0 +1,3 @@ +MD5 (xvidcap-1.1.4p1.tar.gz) = 35a038dba807f6e09f1d9dd2bc0c5719 +SHA256 (xvidcap-1.1.4p1.tar.gz) = 861fdb75e5f78de9f160f6c475a32389d825227292b33a976cbc12e0446324bf +SIZE (xvidcap-1.1.4p1.tar.gz) = 4006788 diff --git a/sysutils/xvidcap/files/patch-configure b/sysutils/xvidcap/files/patch-configure new file mode 100644 index 000000000..46f5ffaa8 --- /dev/null +++ b/sysutils/xvidcap/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Mon Oct 30 09:11:11 2006 ++++ configure Tue Oct 31 19:26:30 2006 +@@ -9078,7 +9078,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lXmu $LIBS" ++LIBS="-L$x_libraries -lXmu $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -9140,7 +9140,7 @@ + #define HAVE_LIBXMU 1 + _ACEOF + +- LIBS="-lXmu $LIBS" ++ LIBS="-L$x_libraries -lXmu $LIBS" + + else + unset ac_cv_lib_Xmu_XmuClientWindow; echo "Couldn't find libXmu in LD_LIBRARY_PATH, checking X11 paths"; echo "$as_me:$LINENO: checking for XmuClientWindow in -lXmu" >&5 +@@ -9513,7 +9513,7 @@ + # if cache empty (not tested or failed) and want static avcodec (then it failed) ... + if ( `test \( \( x${ac_cv_lib_avutil_av_rescale+set} = x \) -a \( x$static_avutil = xyes \) \)` ) ; then + # build embedded ffmpeg +- echo "${MAKE-make}-ing prerequisite ffmpeg libraries" && ( cd ./ffmpeg/ && ./configure --cc=${CC} --enable-gpl ${ac_my_ffmpeg_cfg_lame_switch} --enable-pthreads --enable-swscaler --disable-ffserver --disable-ffplay && ln -s libavcodec/avcodec.h && ln -s libavformat/avformat.h && ln -s libavformat/avio.h && ln -s libavformat/rt*.h ./ && ln -s libavutil/common.h ./ && ln -s libavutil/avutil.h ./ && ln -s libavutil/mathematics.h ./ && ln -s libavutil/int*.h ./ && ln -s libavutil/rational.h ./ && ln -s libswscale/swscale.h ./ && ln -s libswscale/rgb2rgb.h . && ${MAKE-make} ) ++ echo "${MAKE-make}-ing prerequisite ffmpeg libraries" && ( cd ./ffmpeg/ && ./configure --cc=${CC} --extra-libs=-lm --disable-opts --enable-gpl ${ac_my_ffmpeg_cfg_lame_switch} --enable-pthreads --enable-swscaler --disable-ffserver --disable-ffplay && ln -s libavcodec/avcodec.h && ln -s libavformat/avformat.h && ln -s libavformat/avio.h && ln -s libavformat/rt*.h ./ && ln -s libavutil/common.h ./ && ln -s libavutil/avutil.h ./ && ln -s libavutil/mathematics.h ./ && ln -s libavutil/int*.h ./ && ln -s libavutil/rational.h ./ && ln -s libswscale/swscale.h ./ && ln -s libswscale/rgb2rgb.h . && ${MAKE-make} ) + #echo "${MAKE-make}-ing prerequisite ffmpeg libraries" && ( cd ./ffmpeg/ && ./configure --cc=${CC} ${ac_my_ffmpeg_cfg_lame_switch} --enable-pthreads --disable-ffserver --disable-ffplay && ln -s libavcodec/avcodec.h && ln -s libavformat/avformat.h && ln -s libavformat/avio.h && ln -s libavformat/rt*.h ./ && ln -s libavutil/common.h ./ && ln -s libavutil/avutil.h ./ && ln -s libavutil/mathematics.h ./ && ln -s libavutil/int*.h ./ && ln -s libavutil/rational.h ./ && ${MAKE-make} ) + # try to link it statically, or reset cache, set static_avcodec=no + top_srcdir=`pwd` diff --git a/sysutils/xvidcap/files/patch-ffmpeg_configure b/sysutils/xvidcap/files/patch-ffmpeg_configure new file mode 100644 index 000000000..f156b07c7 --- /dev/null +++ b/sysutils/xvidcap/files/patch-ffmpeg_configure @@ -0,0 +1,21 @@ +--- ffmpeg/configure.orig Wed Oct 25 21:31:11 2006 ++++ ffmpeg/configure Mon Oct 30 23:32:55 2006 +@@ -556,7 +556,7 @@ + audio_oss="yes" + dv1394="no" + make="gmake" +-add_cflags "-pthread" ++add_cflags "-fomit-frame-pointer" + ;; + GNU/kFreeBSD) + v4l="no" +@@ -1514,9 +1514,6 @@ + check_cflags -Wall + check_cflags -Wno-switch + check_cflags -Wdisabled-optimization +-check_cflags -Wpointer-arith +-check_cflags -Wredundant-decls +-check_cflags -Winline + + # add some linker flags + check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavformat' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' diff --git a/sysutils/xvidcap/pkg-descr b/sysutils/xvidcap/pkg-descr new file mode 100644 index 000000000..067fe5eda --- /dev/null +++ b/sysutils/xvidcap/pkg-descr @@ -0,0 +1,7 @@ +xvidcap is a screen capture enabling you to capture videos off your +X-Window desktop for illustration or documentation purposes. + +It is intended to be a standards-based alternative to tools like Lotus +ScreenCam. + +WWW: http://xvidcap.sourceforge.net/ diff --git a/sysutils/xvidcap/pkg-plist b/sysutils/xvidcap/pkg-plist new file mode 100644 index 000000000..e7d22a00c --- /dev/null +++ b/sysutils/xvidcap/pkg-plist @@ -0,0 +1,155 @@ +bin/xvidcap +share/applications/xvidcap.desktop +share/gnome/help/xvidcap/C/figures/back-button.png +share/gnome/help/xvidcap/C/figures/edit-button.png +share/gnome/help/xvidcap/C/figures/filename-button.png +share/gnome/help/xvidcap/C/figures/frame-drop-meter.png +share/gnome/help/xvidcap/C/figures/fwd-button.png +share/gnome/help/xvidcap/C/figures/lock-toggle.png +share/gnome/help/xvidcap/C/figures/menu-about.png +share/gnome/help/xvidcap/C/figures/menu-animate.png +share/gnome/help/xvidcap/C/figures/menu-cont.png +share/gnome/help/xvidcap/C/figures/menu-help.png +share/gnome/help/xvidcap/C/figures/menu-make-video.png +share/gnome/help/xvidcap/C/figures/menu-mf.png +share/gnome/help/xvidcap/C/figures/menu-prefs.png +share/gnome/help/xvidcap/C/figures/menu-quit.png +share/gnome/help/xvidcap/C/figures/menu-save-prefs.png +share/gnome/help/xvidcap/C/figures/menu-sf.png +share/gnome/help/xvidcap/C/figures/menu.png +share/gnome/help/xvidcap/C/figures/pause-toggle.png +share/gnome/help/xvidcap/C/figures/prefs-commands.png +share/gnome/help/xvidcap/C/figures/prefs-general.png +share/gnome/help/xvidcap/C/figures/prefs-mf.png +share/gnome/help/xvidcap/C/figures/prefs-sf.png +share/gnome/help/xvidcap/C/figures/record-toggle.png +share/gnome/help/xvidcap/C/figures/results-dialog-ask.png +share/gnome/help/xvidcap/C/figures/results-dialog.png +share/gnome/help/xvidcap/C/figures/selector-button.png +share/gnome/help/xvidcap/C/figures/step-button.png +share/gnome/help/xvidcap/C/figures/stop-toggle.png +share/gnome/help/xvidcap/C/figures/xvidcap-main-ctrl.png +share/gnome/help/xvidcap/C/figures/xvidcap-warning.png +share/gnome/help/xvidcap/C/xvidcap.xml +share/gnome/help/xvidcap/de/figures/back-button.png +share/gnome/help/xvidcap/de/figures/edit-button.png +share/gnome/help/xvidcap/de/figures/filename-button.png +share/gnome/help/xvidcap/de/figures/frame-drop-meter.png +share/gnome/help/xvidcap/de/figures/fwd-button.png +share/gnome/help/xvidcap/de/figures/lock-toggle.png +share/gnome/help/xvidcap/de/figures/menu-about.png +share/gnome/help/xvidcap/de/figures/menu-animate.png +share/gnome/help/xvidcap/de/figures/menu-cont.png +share/gnome/help/xvidcap/de/figures/menu-help.png +share/gnome/help/xvidcap/de/figures/menu-make-video.png +share/gnome/help/xvidcap/de/figures/menu-mf.png +share/gnome/help/xvidcap/de/figures/menu-prefs.png +share/gnome/help/xvidcap/de/figures/menu-quit.png +share/gnome/help/xvidcap/de/figures/menu-save-prefs.png +share/gnome/help/xvidcap/de/figures/menu-sf.png +share/gnome/help/xvidcap/de/figures/menu.png +share/gnome/help/xvidcap/de/figures/pause-toggle.png +share/gnome/help/xvidcap/de/figures/prefs-commands.png +share/gnome/help/xvidcap/de/figures/prefs-general.png +share/gnome/help/xvidcap/de/figures/prefs-mf.png +share/gnome/help/xvidcap/de/figures/prefs-sf.png +share/gnome/help/xvidcap/de/figures/record-toggle.png +share/gnome/help/xvidcap/de/figures/results-dialog-ask.png +share/gnome/help/xvidcap/de/figures/results-dialog.png +share/gnome/help/xvidcap/de/figures/selector-button.png +share/gnome/help/xvidcap/de/figures/step-button.png +share/gnome/help/xvidcap/de/figures/stop-toggle.png +share/gnome/help/xvidcap/de/figures/xvidcap-main-ctrl.png +share/gnome/help/xvidcap/de/figures/xvidcap-warning.png +share/gnome/help/xvidcap/de/xvidcap.xml +share/gnome/help/xvidcap/es/figures/back-button.png +share/gnome/help/xvidcap/es/figures/edit-button.png +share/gnome/help/xvidcap/es/figures/filename-button.png +share/gnome/help/xvidcap/es/figures/frame-drop-meter.png +share/gnome/help/xvidcap/es/figures/fwd-button.png +share/gnome/help/xvidcap/es/figures/lock-toggle.png +share/gnome/help/xvidcap/es/figures/menu-about.png +share/gnome/help/xvidcap/es/figures/menu-animate.png +share/gnome/help/xvidcap/es/figures/menu-cont.png +share/gnome/help/xvidcap/es/figures/menu-help.png +share/gnome/help/xvidcap/es/figures/menu-make-video.png +share/gnome/help/xvidcap/es/figures/menu-mf.png +share/gnome/help/xvidcap/es/figures/menu-prefs.png +share/gnome/help/xvidcap/es/figures/menu-quit.png +share/gnome/help/xvidcap/es/figures/menu-save-prefs.png +share/gnome/help/xvidcap/es/figures/menu-sf.png +share/gnome/help/xvidcap/es/figures/menu.png +share/gnome/help/xvidcap/es/figures/pause-toggle.png +share/gnome/help/xvidcap/es/figures/prefs-commands.png +share/gnome/help/xvidcap/es/figures/prefs-general.png +share/gnome/help/xvidcap/es/figures/prefs-mf.png +share/gnome/help/xvidcap/es/figures/prefs-sf.png +share/gnome/help/xvidcap/es/figures/record-toggle.png +share/gnome/help/xvidcap/es/figures/results-dialog-ask.png +share/gnome/help/xvidcap/es/figures/results-dialog.png +share/gnome/help/xvidcap/es/figures/selector-button.png +share/gnome/help/xvidcap/es/figures/step-button.png +share/gnome/help/xvidcap/es/figures/stop-toggle.png +share/gnome/help/xvidcap/es/figures/xvidcap-main-ctrl.png +share/gnome/help/xvidcap/es/figures/xvidcap-warning.png +share/gnome/help/xvidcap/es/xvidcap.xml +share/gnome/help/xvidcap/it/figures/back-button.png +share/gnome/help/xvidcap/it/figures/edit-button.png +share/gnome/help/xvidcap/it/figures/filename-button.png +share/gnome/help/xvidcap/it/figures/frame-drop-meter.png +share/gnome/help/xvidcap/it/figures/fwd-button.png +share/gnome/help/xvidcap/it/figures/lock-toggle.png +share/gnome/help/xvidcap/it/figures/menu-about.png +share/gnome/help/xvidcap/it/figures/menu-animate.png +share/gnome/help/xvidcap/it/figures/menu-cont.png +share/gnome/help/xvidcap/it/figures/menu-help.png +share/gnome/help/xvidcap/it/figures/menu-make-video.png +share/gnome/help/xvidcap/it/figures/menu-mf.png +share/gnome/help/xvidcap/it/figures/menu-prefs.png +share/gnome/help/xvidcap/it/figures/menu-quit.png +share/gnome/help/xvidcap/it/figures/menu-save-prefs.png +share/gnome/help/xvidcap/it/figures/menu-sf.png +share/gnome/help/xvidcap/it/figures/menu.png +share/gnome/help/xvidcap/it/figures/pause-toggle.png +share/gnome/help/xvidcap/it/figures/prefs-commands.png +share/gnome/help/xvidcap/it/figures/prefs-general.png +share/gnome/help/xvidcap/it/figures/prefs-mf.png +share/gnome/help/xvidcap/it/figures/prefs-sf.png +share/gnome/help/xvidcap/it/figures/record-toggle.png +share/gnome/help/xvidcap/it/figures/results-dialog-ask.png +share/gnome/help/xvidcap/it/figures/results-dialog.png +share/gnome/help/xvidcap/it/figures/selector-button.png +share/gnome/help/xvidcap/it/figures/step-button.png +share/gnome/help/xvidcap/it/figures/stop-toggle.png +share/gnome/help/xvidcap/it/figures/xvidcap-ctrl.png +share/gnome/help/xvidcap/it/figures/xvidcap-main-ctrl.png +share/gnome/help/xvidcap/it/figures/xvidcap-warning.png +share/gnome/help/xvidcap/it/xvidcap.xml +share/locale/de/LC_MESSAGES/xvidcap.mo +share/locale/en/LC_MESSAGES/xvidcap.mo +share/locale/es/LC_MESSAGES/xvidcap.mo +share/locale/it/LC_MESSAGES/xvidcap.mo +share/omf/xvidcap/xvidcap-C.omf +share/omf/xvidcap/xvidcap-de.omf +share/omf/xvidcap/xvidcap-es.omf +share/omf/xvidcap/xvidcap-it.omf +share/pixmaps/xvidcap.png +%%DATADIR%%/glade/gnome-xvidcap.glade +%%DATADIR%%/glade/xvidcap_logo.png +%%DATADIR%%/ppm2mpeg.sh +%%DATADIR%%/xvidcap.desktop +%%DATADIR%%/xvidcap.png +@dirrm %%DATADIR%%/glade +@dirrm %%DATADIR%% +@dirrm share/omf/xvidcap +@dirrm share/omf +@dirrm share/gnome/help/xvidcap/it/figures +@dirrm share/gnome/help/xvidcap/it +@dirrm share/gnome/help/xvidcap/es/figures +@dirrm share/gnome/help/xvidcap/es +@dirrm share/gnome/help/xvidcap/de/figures +@dirrm share/gnome/help/xvidcap/de +@dirrm share/gnome/help/xvidcap/C/figures +@dirrm share/gnome/help/xvidcap/C +@dirrm share/gnome/help/xvidcap +@dirrmtry share/applications |