aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-01-26 15:56:13 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-01-26 15:56:13 +0000
commit731b0e3c8edb9ed66c2a2503d90a682c2e82c987 (patch)
tree4585b3b0994ee6961507988c69d42090a1bc8ac1 /multimedia
parentcda1b874d2cd1c2c961664298d896cea20d08e23 (diff)
downloadports-731b0e3c8edb9ed66c2a2503d90a682c2e82c987.tar.gz
ports-731b0e3c8edb9ed66c2a2503d90a682c2e82c987.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/lives/Makefile62
-rw-r--r--multimedia/lives/distinfo3
-rw-r--r--multimedia/lives/files/patch-src__main.c18
-rw-r--r--multimedia/lives/files/patch-src__main.h10
-rw-r--r--multimedia/lives/pkg-descr12
-rw-r--r--multimedia/lives/pkg-plist188
7 files changed, 294 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 405c79e2c544..ed7dcd7d5fa8 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -132,6 +132,7 @@
SUBDIR += linux-libtheora
SUBDIR += linux-realplayer
SUBDIR += linux-xmovie
+ SUBDIR += lives
SUBDIR += lsdvd
SUBDIR += lxdvdrip
SUBDIR += mjpegtools
diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile
new file mode 100644
index 000000000000..3ba3d76b41d7
--- /dev/null
+++ b/multimedia/lives/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: lives
+# Date created: 3 November 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lives
+DISTVERSION= 0.9.8.2
+CATEGORIES= multimedia
+MASTER_SITES= SF
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Video editing system
+
+LIB_DEPENDS= Magick.10:${PORTSDIR}/graphics/ImageMagick \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
+ jack.0:${PORTSDIR}/audio/jack \
+ visual-0.4.0:${PORTSDIR}/graphics/libvisual04 \
+ theora.2:${PORTSDIR}/multimedia/libtheora \
+ avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel \
+ dv.4:${PORTSDIR}/multimedia/libdv \
+ matroska.0:${PORTSDIR}/multimedia/libmatroska \
+ x264.50:${PORTSDIR}/multimedia/x264
+BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
+RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
+ sox:${PORTSDIR}/audio/sox \
+ transcode:${PORTSDIR}/multimedia/transcode \
+ mjpegtools>=1.8.0:${PORTSDIR}/multimedia/mjpegtools \
+ xmms:${PORTSDIR}/multimedia/xmms \
+ mpg123:${PORTSDIR}/audio/mpg123 \
+ ogg123:${PORTSDIR}/audio/vorbis-tools \
+ cdda2wav:${PORTSDIR}/sysutils/cdrtools \
+ gs:${PORTSDIR}/print/ghostscript-gnu \
+ sswf:${PORTSDIR}/graphics/sswf \
+ ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
+
+USE_BZIP2= yes
+USE_PYTHON= yes
+USE_PERL5= yes
+USE_GNOME= gtk20
+USE_GETTEXT= yes
+USE_SDL= yes
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -g -fPIC
+LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+LC_MESSAGES_NAMES= lives
+
+post-patch:
+ @${REINPLACE_CMD} -e '/test.*==/s|==|=|g' -e '/LIBS/s|-ldl ||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/LDFLAGS/s|-ldld||;s|-ldl||'\
+ ${WRKSRC}/lives-plugins/weed-plugins/Makefile.in
+ @${REINPLACE_CMD} -e 's|-d alsa|-d oss|' ${WRKSRC}/src/main.c
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s|weed-plugins||' ${WRKSRC}/lives-plugins/Makefile.in
+ @${REINPLACE_CMD} -e '/^docdir/s|=.*|=${DOCSDIR}|' ${WRKSRC}/Makefile.in
+ @${FIND} ${WRKSRC}/ -name Makefile.in |\
+ ${XARGS} ${EGREP} -lm1 '(-O3|-fexpensive-optimizations)' |\
+ ${XARGS} ${REINPLACE_CMD} -e 's|-O3||;s|-fexpensive-optimizations||'
+
+.include <bsd.port.mk>
diff --git a/multimedia/lives/distinfo b/multimedia/lives/distinfo
new file mode 100644
index 000000000000..d624c31af710
--- /dev/null
+++ b/multimedia/lives/distinfo
@@ -0,0 +1,3 @@
+MD5 (lives-0.9.8.2.tar.bz2) = 236ef4edae25e5e147e6d7191adbed85
+SHA256 (lives-0.9.8.2.tar.bz2) = fa85dd702815f3dfdb2242ffa7f57b6b265248d329dffa74b4b982721e662d48
+SIZE (lives-0.9.8.2.tar.bz2) = 1657365
diff --git a/multimedia/lives/files/patch-src__main.c b/multimedia/lives/files/patch-src__main.c
new file mode 100644
index 000000000000..96ae5a590283
--- /dev/null
+++ b/multimedia/lives/files/patch-src__main.c
@@ -0,0 +1,18 @@
+--- ./src/main.c.orig Fri Jan 26 12:50:12 2007
++++ ./src/main.c Fri Jan 26 12:50:23 2007
+@@ -91,6 +91,7 @@
+ capable=get_capabilities();
+
+ palette=(_palette*)(g_malloc(sizeof(_palette)));
++ mainw->cached_list=NULL;
+
+ if (!capable->smog_version_correct||!capable->can_write_to_tempdir) {
+ g_snprintf(prefs->theme,64,"none");
+@@ -98,7 +99,6 @@
+ else {
+ // from here onwards we can use get_pref() and friends //////
+ gchar *rcfile=g_strdup_printf("%s/.lives",capable->home_dir);
+- mainw->cached_list=NULL;
+ cache_file_contents(rcfile);
+ g_free(rcfile);
+
diff --git a/multimedia/lives/files/patch-src__main.h b/multimedia/lives/files/patch-src__main.h
new file mode 100644
index 000000000000..35757ceefc3e
--- /dev/null
+++ b/multimedia/lives/files/patch-src__main.h
@@ -0,0 +1,10 @@
+--- ./src/main.h.orig Mon Dec 18 04:51:33 2006
++++ ./src/main.h Fri Jan 26 12:48:23 2007
+@@ -57,6 +57,7 @@
+ #include <gdk/gdkkeysyms.h>
+
+ #include <stdlib.h>
++#include <sys/stat.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <string.h>
diff --git a/multimedia/lives/pkg-descr b/multimedia/lives/pkg-descr
new file mode 100644
index 000000000000..f5059d948b9a
--- /dev/null
+++ b/multimedia/lives/pkg-descr
@@ -0,0 +1,12 @@
+LiVES is a Free, Open Source video editor *and* a VJ tool.
+
+LiVES lets you start editing and making video right away, without having
+to worry about formats, frame sizes, or framerates. LiVES will let you
+start creating your own tools, utilities and effects via the built in
+RFX builder.
+
+LiVES is aimed at the digital video artist who wants to create their own
+content, the video editor who wants to produce professional looking
+video, and the VJ who wants to captivate with spectacular images.
+
+WWW: http://lives.sourceforge.net/
diff --git a/multimedia/lives/pkg-plist b/multimedia/lives/pkg-plist
new file mode 100644
index 000000000000..424f5a6b771b
--- /dev/null
+++ b/multimedia/lives/pkg-plist
@@ -0,0 +1,188 @@
+bin/autolives.pl
+bin/avi_encoder.py
+bin/build-lives-rfx-plugin
+bin/build-lives-rfx-plugin-multi
+bin/dirac_encoder.py
+bin/gif_encoder.py
+bin/lives
+bin/lives-exe
+bin/midistart
+bin/midistop
+bin/mkv_encoder.py
+bin/mng_encoder.py
+bin/mpeg_encoder.py
+bin/ogm_encoder.py
+bin/smogrify
+bin/theora_encoder.py
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/BUGS
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/FEATURES
+%%DOCSDIR%%/GETTING.STARTED
+%%DOCSDIR%%/LiVES-Perl.sxw
+%%DOCSDIR%%/README
+%%DOCSDIR%%/README.RFX
+%%DOCSDIR%%/README.multi_encoder
+%%DOCSDIR%%/RFX.spec
+%%DOCSDIR%%/clip_format.txt
+%%DOCSDIR%%/lives-OMC.txt
+%%DOCSDIR%%/rfxbuilder.sxw
+%%DOCSDIR%%/weedevents.txt
+%%DOCSDIR%%/weedspec.txt
+%%DATADIR%%/default.keymap
+%%DATADIR%%/icons/fullscreen.png
+%%DATADIR%%/icons/loop.png
+%%DATADIR%%/icons/playsel.png
+%%DATADIR%%/icons/sepwin.png
+%%DATADIR%%/icons/volume_mute.png
+%%DATADIR%%/icons/zoom-in.png
+%%DATADIR%%/icons/zoom-out.png
+%%DATADIR%%/plugins/effects/RFXscripts/blank_frames.script
+%%DATADIR%%/plugins/effects/RFXscripts/blur.script
+%%DATADIR%%/plugins/effects/RFXscripts/brightness_change.script
+%%DATADIR%%/plugins/effects/RFXscripts/charcoal.script
+%%DATADIR%%/plugins/effects/RFXscripts/colorize.script
+%%DATADIR%%/plugins/effects/RFXscripts/colour_filter.script
+%%DATADIR%%/plugins/effects/RFXscripts/contrast.script
+%%DATADIR%%/plugins/effects/RFXscripts/cycle.script
+%%DATADIR%%/plugins/effects/RFXscripts/deinterlace.script
+%%DATADIR%%/plugins/effects/RFXscripts/despekle.script
+%%DATADIR%%/plugins/effects/RFXscripts/dream.script
+%%DATADIR%%/plugins/effects/RFXscripts/edge_detect.script
+%%DATADIR%%/plugins/effects/RFXscripts/emboss.script
+%%DATADIR%%/plugins/effects/RFXscripts/enhance.script
+%%DATADIR%%/plugins/effects/RFXscripts/flip.script
+%%DATADIR%%/plugins/effects/RFXscripts/flop.script
+%%DATADIR%%/plugins/effects/RFXscripts/frame_calculator.script
+%%DATADIR%%/plugins/effects/RFXscripts/gamma_change.script
+%%DATADIR%%/plugins/effects/RFXscripts/hue_change.script
+%%DATADIR%%/plugins/effects/RFXscripts/jumble.script
+%%DATADIR%%/plugins/effects/RFXscripts/modulate.script
+%%DATADIR%%/plugins/effects/RFXscripts/monochrome.script
+%%DATADIR%%/plugins/effects/RFXscripts/negate.script
+%%DATADIR%%/plugins/effects/RFXscripts/noisify.script
+%%DATADIR%%/plugins/effects/RFXscripts/normalize.script
+%%DATADIR%%/plugins/effects/RFXscripts/photo_still.script
+%%DATADIR%%/plugins/effects/RFXscripts/pixilate.script
+%%DATADIR%%/plugins/effects/RFXscripts/posterize.script
+%%DATADIR%%/plugins/effects/RFXscripts/randomzoom.script
+%%DATADIR%%/plugins/effects/RFXscripts/resize.script
+%%DATADIR%%/plugins/effects/RFXscripts/rotate.script
+%%DATADIR%%/plugins/effects/RFXscripts/saturation_change.script
+%%DATADIR%%/plugins/effects/RFXscripts/shift_horizontal.script
+%%DATADIR%%/plugins/effects/RFXscripts/shift_vertical.script
+%%DATADIR%%/plugins/effects/RFXscripts/shrink_expand.script
+%%DATADIR%%/plugins/effects/RFXscripts/solarize.script
+%%DATADIR%%/plugins/effects/RFXscripts/spin.script
+%%DATADIR%%/plugins/effects/RFXscripts/spread.script
+%%DATADIR%%/plugins/effects/RFXscripts/swirl.script
+%%DATADIR%%/plugins/effects/RFXscripts/textover.script
+%%DATADIR%%/plugins/effects/RFXscripts/transition_bwthresh.script
+%%DATADIR%%/plugins/effects/RFXscripts/transition_checkerboard.script
+%%DATADIR%%/plugins/effects/RFXscripts/transition_fade.script
+%%DATADIR%%/plugins/effects/RFXscripts/transition_splice.script
+%%DATADIR%%/plugins/effects/RFXscripts/trim_frames.script
+%%DATADIR%%/plugins/effects/RFXscripts/tunnel.script
+%%DATADIR%%/plugins/effects/RFXscripts/wave.script
+%%DATADIR%%/plugins/effects/rendered/blank_frames
+%%DATADIR%%/plugins/effects/rendered/blur
+%%DATADIR%%/plugins/effects/rendered/brightness_change
+%%DATADIR%%/plugins/effects/rendered/charcoal
+%%DATADIR%%/plugins/effects/rendered/colorize
+%%DATADIR%%/plugins/effects/rendered/colour_filter
+%%DATADIR%%/plugins/effects/rendered/contrast
+%%DATADIR%%/plugins/effects/rendered/cycle
+%%DATADIR%%/plugins/effects/rendered/deinterlace
+%%DATADIR%%/plugins/effects/rendered/despeckle
+%%DATADIR%%/plugins/effects/rendered/dream
+%%DATADIR%%/plugins/effects/rendered/edge_detect
+%%DATADIR%%/plugins/effects/rendered/emboss
+%%DATADIR%%/plugins/effects/rendered/enhance
+%%DATADIR%%/plugins/effects/rendered/flip
+%%DATADIR%%/plugins/effects/rendered/flop
+%%DATADIR%%/plugins/effects/rendered/frame_calculator
+%%DATADIR%%/plugins/effects/rendered/gamma_change
+%%DATADIR%%/plugins/effects/rendered/hue_change
+%%DATADIR%%/plugins/effects/rendered/jumble
+%%DATADIR%%/plugins/effects/rendered/modulate
+%%DATADIR%%/plugins/effects/rendered/monochrome
+%%DATADIR%%/plugins/effects/rendered/negate
+%%DATADIR%%/plugins/effects/rendered/noisify
+%%DATADIR%%/plugins/effects/rendered/normalize
+%%DATADIR%%/plugins/effects/rendered/photo_still
+%%DATADIR%%/plugins/effects/rendered/pixilate
+%%DATADIR%%/plugins/effects/rendered/posterize
+%%DATADIR%%/plugins/effects/rendered/randomzoom
+%%DATADIR%%/plugins/effects/rendered/resize
+%%DATADIR%%/plugins/effects/rendered/rotate
+%%DATADIR%%/plugins/effects/rendered/saturation_change
+%%DATADIR%%/plugins/effects/rendered/shift_horizontal
+%%DATADIR%%/plugins/effects/rendered/shift_vertical
+%%DATADIR%%/plugins/effects/rendered/shrink_expand
+%%DATADIR%%/plugins/effects/rendered/solarize
+%%DATADIR%%/plugins/effects/rendered/spin
+%%DATADIR%%/plugins/effects/rendered/spread
+%%DATADIR%%/plugins/effects/rendered/swirl
+%%DATADIR%%/plugins/effects/rendered/textover
+%%DATADIR%%/plugins/effects/rendered/transition_bwthresh
+%%DATADIR%%/plugins/effects/rendered/transition_checkerboard
+%%DATADIR%%/plugins/effects/rendered/transition_fade2
+%%DATADIR%%/plugins/effects/rendered/transition_splice
+%%DATADIR%%/plugins/effects/rendered/trim_frames
+%%DATADIR%%/plugins/effects/rendered/tunnel
+%%DATADIR%%/plugins/effects/rendered/wave
+%%DATADIR%%/plugins/encoders/encodedv_encoder
+%%DATADIR%%/plugins/encoders/ffmpeg_encoder
+%%DATADIR%%/plugins/encoders/mencoder_encoder
+%%DATADIR%%/plugins/encoders/mjpegtools_encoder
+%%DATADIR%%/plugins/encoders/multi_encoder
+%%DATADIR%%/plugins/encoders/pdf_encoder
+%%DATADIR%%/plugins/encoders/qtutils_encoder
+%%DATADIR%%/plugins/encoders/sswf_encoder
+%%DATADIR%%/plugins/encoders/transcode_encoder
+%%DATADIR%%/plugins/playback/video/SDL
+%%DATADIR%%/plugins/playback/video/yuv4mpeg_stream
+%%DATADIR%%/themes/camera/frame.jpg
+%%DATADIR%%/themes/camera/main.jpg
+%%DATADIR%%/themes/cutting_room/frame.jpg
+%%DATADIR%%/themes/cutting_room/main.jpg
+%%DATADIR%%/themes/default/frame.jpg
+%%DATADIR%%/themes/default/main.jpg
+%%DATADIR%%/themes/editor/frame.jpg
+%%DATADIR%%/themes/editor/main.jpg
+%%DATADIR%%/themes/greenish/frame.jpg
+%%DATADIR%%/themes/greenish/main.jpg
+%%DATADIR%%/themes/pinks/frame.jpg
+%%DATADIR%%/themes/pinks/main.jpg
+%%DATADIR%%/themes/sunburst/frame.jpg
+%%DATADIR%%/themes/sunburst/main.jpg
+share/locale/cz/LC_MESSAGES/lives.mo
+share/locale/de_DE/LC_MESSAGES/lives.mo
+share/locale/fr/LC_MESSAGES/lives.mo
+share/locale/ja/LC_MESSAGES/lives.mo
+share/locale/nl_NL/LC_MESSAGES/lives.mo
+share/locale/pt_BR/LC_MESSAGES/lives.mo
+@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%/plugins/effects/RFXscripts
+@dirrm %%DATADIR%%/plugins/effects/rendered
+@dirrm %%DATADIR%%/plugins/effects
+@dirrm %%DATADIR%%/plugins/encoders
+@dirrm %%DATADIR%%/plugins/playback/video
+@dirrm %%DATADIR%%/plugins/playback
+@dirrm %%DATADIR%%/plugins
+@dirrm %%DATADIR%%/themes/camera
+@dirrm %%DATADIR%%/themes/cutting_room
+@dirrm %%DATADIR%%/themes/default
+@dirrm %%DATADIR%%/themes/editor
+@dirrm %%DATADIR%%/themes/greenish
+@dirrm %%DATADIR%%/themes/pinks
+@dirrm %%DATADIR%%/themes/sunburst
+@dirrm %%DATADIR%%/themes
+@dirrm %%DATADIR%%
+@dirrmtry share/locale/cz/LC_MESSAGES
+@dirrmtry share/locale/cz
+@dirrmtry share/locale/de_DE/LC_MESSAGES
+@dirrmtry share/locale/de_DE
+@dirrmtry share/locale/nl_NL/LC_MESSAGES
+@dirrmtry share/locale/nl_NL