aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-10 17:40:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-10 17:40:51 +0000
commit12f5d21f6368b6aac1486e6acf6f470b54659fa8 (patch)
tree0f12be0c7150f6748fb697fa04264ef6120f3eba /multimedia
parent6ad285aa0f342a19083a1d8d0e28355bb10e1421 (diff)
downloadports-12f5d21f6368b6aac1486e6acf6f470b54659fa8.tar.gz
ports-12f5d21f6368b6aac1486e6acf6f470b54659fa8.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/qvamps/Makefile140
-rw-r--r--multimedia/qvamps/distinfo3
-rw-r--r--multimedia/qvamps/files/patch-Makefile34
-rw-r--r--multimedia/qvamps/files/patch-QVamps.pm71
-rw-r--r--multimedia/qvamps/files/patch-mainwindow.ui20
-rw-r--r--multimedia/qvamps/files/patch-mainwindow.ui.pm11
-rw-r--r--multimedia/qvamps/files/patch-qvamps22
-rw-r--r--multimedia/qvamps/pkg-descr24
9 files changed, 0 insertions, 326 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 31e41eaf25ad..39bc8eed1b21 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -203,7 +203,6 @@
SUBDIR += qdvdauthor
SUBDIR += quodlibet
SUBDIR += quark
- SUBDIR += qvamps
SUBDIR += recmpeg
SUBDIR += replex
SUBDIR += rox-videothumbnail
diff --git a/multimedia/qvamps/Makefile b/multimedia/qvamps/Makefile
deleted file mode 100644
index e5618da33937..000000000000
--- a/multimedia/qvamps/Makefile
+++ /dev/null
@@ -1,140 +0,0 @@
-# New ports collection makefile for: qvamps
-# Date created: Thu Jan 5 20:49:59 UTC 2006
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= qvamps
-PORTVERSION= 0.20
-PORTREVISION= 3
-CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
-MASTER_SITE_SUBDIR= vamps
-
-MAINTAINER= multimedia@FreeBSD.org
-COMMENT= Dvd rip gui written in qt that uses vamps and dvdauthor
-
-BUILD_DEPENDS= puic:${PORTSDIR}/x11-toolkits/p5-qt \
- swig1.3:${PORTSDIR}/devel/swig13
-LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread
-RUN_DEPENDS= \
- dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
- growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
- mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
- mplex:${PORTSDIR}/multimedia/mjpegtools \
- ppmtoy4m:${PORTSDIR}/multimedia/mjpegtools \
- puic:${PORTSDIR}/x11-toolkits/p5-qt \
- spumux:${PORTSDIR}/multimedia/dvdauthor \
- play_cell:${PORTSDIR}/multimedia/vamps \
- vamps:${PORTSDIR}/multimedia/vamps
-
-BROKEN= Touches filesystem prior to 'make install'
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2007-04-10
-
-CONFLICTS= lxdvdrip-{{0.,1.[0-3],1.4[0-7]}*
-OPTIONS= MPLAYER "Enable DVD playing using mplayer" on
-
-USE_GMAKE= yes
-USE_PERL5= yes
-MAKE_ENV= \
- CC="${CC}" \
- LDFLAGS="${LDFLAGS}"
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-PLIST_FILES= bin/qvamps \
- lib/qvamps/LibDvdRead.so \
- %%DATADIR%%/lib/DesignerMimeSourceFactory_qvamps.pm \
- %%DATADIR%%/lib/DvdIfoRead.pm \
- %%DATADIR%%/lib/DvdMaker.pm \
- %%DATADIR%%/lib/FpcMgr.pm \
- %%DATADIR%%/lib/Iso639.pm \
- %%DATADIR%%/lib/LibDvdRead.pm \
- %%DATADIR%%/lib/MainWindow.pm \
- %%DATADIR%%/lib/MenuDisplay.pm \
- %%DATADIR%%/lib/MenuPreview.pm \
- %%DATADIR%%/lib/MenuTableItems.pm \
- %%DATADIR%%/lib/MenuWriter.pm \
- %%DATADIR%%/lib/QVamps.pm \
- %%DATADIR%%/lib/TitleListItems.pm \
- %%DATADIR%%/lib/VTSList.pm \
- %%DATADIR%%/lib/VTSListItems.pm \
- %%DATADIR%%/lib/XmlWriter.pm \
- %%DATADIR%%/lib/mainwindow.ui.pm \
- %%DATADIR%%/lib/menupreview.ui.pm \
- %%DATADIR%%/lib/vtslist.ui.pm \
- %%DATADIR%%/penguin.jpg \
- %%DATADIR%%/penguin_ntsc.mpg \
- %%DATADIR%%/penguin_pal.mpg \
- %%DATADIR%%/silence.mpa \
- %%DATADIR%%/translations/xx.qm
-PLIST_DIRS= %%DATADIR%%/translations \
- %%DATADIR%%/lib \
- %%DATADIR%% \
- lib/qvamps
-
-FILES_FIX_2K_SECTOR_SIZE= \
- TitleListItems.pm \
- VTSListItems.pm \
- mainwindow.ui.pm
-
-post-patch:
- @${REINPLACE_CMD} -E \
- -e 's|puic|${LOCALBASE}/bin/puic|' \
- -e 's|swig|${LOCALBASE}/bin/swig1.3|' \
- -e 's|\$$\(PREFIX\)/share/qvamps|%%DATADIR%%|' \
- -e 's|[[:space:]]perl[[:space:]]| ${PERL} |' \
- ${BUILD_WRKSRC}/${MAKEFILE}
-.for file in fakelupd.pl qvamps
- @${REINPLACE_CMD} -E \
- -e 's|/usr/bin/perl|${PERL}|' \
- ${WRKSRC}/${file}
-.endfor
-# PREFIX,DATADIR safeness
-.for file in QVamps.pm mainwindow.ui qvamps
- @${REINPLACE_CMD} -E \
- -e 's|%%PREFIX%%|${PREFIX}|' \
- -e 's|%%DATADIR%%|${DATADIR}|' \
- ${WRKSRC}/${file}
-.endfor
-# use 2 Kbytes sector size instead of 512 bytes
-.for file in ${FILES_FIX_2K_SECTOR_SIZE}
- @${REINPLACE_CMD} -E \
- -e 's|512\.|2048\.|' \
- ${WRKSRC}/${file}
-.endfor
-
-do-install:
-# application
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-# shared multimedia files
-.for extension in jpg mpa mpg
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/*.${extension} ${DATADIR}
-.endfor
-# shared perl modules
- @${MKDIR} ${DATADIR}/lib
- @${INSTALL_DATA} ${WRKSRC}/*pm ${DATADIR}/lib
-# shared library
- @${MKDIR} ${PREFIX}/lib/${PORTNAME}
- @${INSTALL_DATA} ${WRKSRC}/LibDvdRead.so ${PREFIX}/lib/${PORTNAME}
-# translations
- @${MKDIR} ${DATADIR}/translations
- @${INSTALL_DATA} ${WRKSRC}/xx.qm ${DATADIR}/translations
-
-.include <bsd.port.pre.mk>
-
-.if defined(STRIP) && ${STRIP} != ""
-MAKE_ENV+= STRIP="${STRIP_CMD}"
-.else
-MAKE_ENV+= STRIP="${TRUE}"
-.endif
-
-.ifdef(WITH_MPLAYER)
-RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/multimedia/qvamps/distinfo b/multimedia/qvamps/distinfo
deleted file mode 100644
index 0f031254e12c..000000000000
--- a/multimedia/qvamps/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (qvamps-0.20.tar.gz) = ed50d03f1b05f50f7ee2d7e43084cb39
-SHA256 (qvamps-0.20.tar.gz) = 00990b5156c97ebe2e9f176d4af95b387d13c02b3323fdaa8ec0dfbac6c14d3b
-SIZE (qvamps-0.20.tar.gz) = 281879
diff --git a/multimedia/qvamps/files/patch-Makefile b/multimedia/qvamps/files/patch-Makefile
deleted file mode 100644
index 4177fec7d1d9..000000000000
--- a/multimedia/qvamps/files/patch-Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
---- Makefile.orig Sat Dec 17 17:15:24 2005
-+++ Makefile Thu Jan 5 17:55:35 2006
-@@ -15,13 +15,10 @@
- INC = -I $(shell \
- perl -e 'use Config; print "$$Config{archlibexp}/CORE\n";')
- ARCH = $(shell perl -e 'use Config; print "$$Config{archname}\n";')
--CFLAGS = -fpic -pipe -O2 -fomit-frame-pointer $(INC) -Wall \
-- -Wno-strict-aliasing -Wno-unused-function -Wno-unused-variable \
-+CFLAGS += $(INC) \
- $(shell perl -e 'use Config; print "$$Config{ccflags}\n";')
--STRIP = strip
- PUICFL = -p 2
- INSTALL = install
--PREFIX = /usr/local
-
-
- all: LibDvdRead.so DesignerMimeSourceFactory_qvamps.pm xx.qm
-@@ -29,14 +26,14 @@
-
- # LibDvdRead
- ifo_read.i: ifo_read.c
-- $(CC) -E -P $< > $@
-+ $(CC) $(CFLAGS) -E -P $< > $@
-
- libdvdread_wrap.c: \
- libdvdread.i ifo_read.i ignores.i
- swig -perl -Wall -nodefault $<
-
- LibDvdRead.so: libdvdread_wrap.o
-- $(CC) -shared -o $@ $< -ldvdread
-+ $(CC) $(LDFLAGS) -shared -o $@ $< -ldvdread
- $(STRIP) $@
-
- # .pm from .ui.pm
diff --git a/multimedia/qvamps/files/patch-QVamps.pm b/multimedia/qvamps/files/patch-QVamps.pm
deleted file mode 100644
index 2df361547c97..000000000000
--- a/multimedia/qvamps/files/patch-QVamps.pm
+++ /dev/null
@@ -1,71 +0,0 @@
---- QVamps.pm.orig Mon Jan 2 05:58:27 2006
-+++ QVamps.pm Fri Jan 13 13:20:19 2006
-@@ -19,8 +19,8 @@
- # places to look for global settings file
- our @global_settings_paths =
- (
-- "/usr/share/qvamps/etc",
-- "/usr/local/share/qvamps/etc"
-+ "%%PREFIX%%/etc/qvamps",
-+ "%%DATADIR%%/etc"
- );
-
- # compute program's load prefix
-@@ -40,8 +40,8 @@
- "/General/DVD_burner" => "/dev/dvdrecorder",
- "/General/DVD_burn_speed" => 4,
-
-- "/Installation/prefix" => "/usr/local",
-- "/Installation/messages_file" => "%p/share/qvamps/translations/%l",
-+ "/Installation/prefix" => "%%PREFIX%%",
-+ "/Installation/messages_file" => "%%DATADIR%%/translations/%l",
-
- "/MediaPlayer/play_dvd_title" => 'mplayer -dvd-device %d %o dvd://%T',
- "/MediaPlayer/play_dvd_cells" =>
-@@ -56,11 +56,12 @@
- 'mplex -v 0 -f 8 -o /dev/stdout %v %a | spumux -P %x > %o',
- "/Dvdauthor/spumux_mpg" => 'spumux -P %x < %i > %o',
- "/Dvdauthor/burn_cmd" =>
-- 's=`mkisofs -dvd-video -quiet -print-size %i`; ' .
-- 'mkisofs -dvd-video -V "%v" %i | ' .
-- 'cdrecord dev=%d speed=%s driveropts=burnfree ' .
-- 'fs=16M tsize=${s}s -dao -v -',
--
-+ 'growisofs -dvd-compat -dvd-video ' .
-+ '-use-the-force-luke=dao ' .
-+ '-use-the-force-luke=notray ' .
-+ '-use-the-force-luke=tty ' .
-+ '-V "%v" ' .
-+ '-speed=%s -Z %d %i ' ,
- "/Vamps/evaporate_cell" =>
- 'play_cell %d %v %g %c | vamps -E %E -a %a%o -S %S -i %i',
- "/Vamps/select_subtitles" => '-s %s',
-@@ -68,8 +69,8 @@
- "/Vamps/dvdr_spare_sectors" => 1500,
-
- "/Menu/Preferences/tv_standard" => "NTSC",
-- "/Menu/Preferences/background" => "%p/share/qvamps/penguin.jpg",
-- "/Menu/Preferences/audio_es" => "%p/share/qvamps/silence.mpa",
-+ "/Menu/Preferences/background" => "%%DATADIR%%/penguin.jpg",
-+ "/Menu/Preferences/audio_es" => "%%DATADIR%%/silence.mpa",
- "/Menu/Preferences/audio_language" => "en",
- "/Menu/Preferences/audio_format" => "Dolby AC-3",
- "/Menu/Preferences/audio_channels" => "5.1",
-@@ -101,7 +102,7 @@
- our @settings_paths = @global_settings_paths;
-
- # use settings from program's load prefix
--push @settings_paths, "$load_prefix/share/etc" if ($load_prefix);
-+push @settings_paths, "$load_prefix/etc/vamps" if ($load_prefix);
-
- # environment overrides global settings default path
- @settings_paths = ( "$qvamps_home/share/etc" ) if ($qvamps_home);
-@@ -287,7 +288,7 @@
-
- if (open $fh, "-|", "ppmtoy4m -S 420_mpeg2 /dev/null 2>&1")
- {
-- if (<$fh> =~ /Unknown subsampling mode option: 420_mpeg2/)
-+ if (<$fh> =~ /Unknown subsampling mode option:\s+420_mpeg2/)
- {
- my $ppm2mpv_ntsc = read_setting ("/Menu/Preferences/ppm2mpv_ntsc");
- $ppm2mpv_ntsc =~ s/420_mpeg2/420mpeg2/;
diff --git a/multimedia/qvamps/files/patch-mainwindow.ui b/multimedia/qvamps/files/patch-mainwindow.ui
deleted file mode 100644
index e770241f3ef9..000000000000
--- a/multimedia/qvamps/files/patch-mainwindow.ui
+++ /dev/null
@@ -1,20 +0,0 @@
---- mainwindow.ui.orig Wed Jan 11 09:56:33 2006
-+++ mainwindow.ui Wed Jan 11 09:57:19 2006
-@@ -3048,7 +3048,7 @@
- </size>
- </property>
- <property name="text">
-- <string>Default for background picture or MPEG program stream, %p =&gt; installation prefix, e.g. /usr/local (/Menu/Preferences/background)</string>
-+ <string>Default for background picture or MPEG program stream, %p =&gt; installation prefix, e.g. %%PREFIX%% (/Menu/Preferences/background)</string>
- </property>
- <property name="alignment">
- <set>WordBreak|AlignVCenter</set>
-@@ -3132,7 +3132,7 @@
- </size>
- </property>
- <property name="text">
-- <string>Default for background audio elementary stream, %p =&gt; installation prefix, e.g. /usr/local (/Menu/Preferences/audio_es)</string>
-+ <string>Default for background audio elementary stream, %p =&gt; installation prefix, e.g. %%PREFIX%% (/Menu/Preferences/audio_es)</string>
- </property>
- <property name="alignment">
- <set>WordBreak|AlignVCenter</set>
diff --git a/multimedia/qvamps/files/patch-mainwindow.ui.pm b/multimedia/qvamps/files/patch-mainwindow.ui.pm
deleted file mode 100644
index afc167321778..000000000000
--- a/multimedia/qvamps/files/patch-mainwindow.ui.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- mainwindow.ui.pm.orig Fri Jan 13 13:55:25 2006
-+++ mainwindow.ui.pm Fri Jan 13 13:55:36 2006
-@@ -344,7 +344,7 @@
- if ($total_selected)
- {
- my $capacity = $dvdr_total_sectors - $dvdr_spare_sectors;
-- $compression = sprintf "%d", $capacity * 100 / ($total_selected + 0.0);
-+ $compression = sprintf "%d", $capacity * 200 / ($total_selected + 0.0);
- $compression = 100 if ($compression > 100);
- }
- else
diff --git a/multimedia/qvamps/files/patch-qvamps b/multimedia/qvamps/files/patch-qvamps
deleted file mode 100644
index 59225f7284c3..000000000000
--- a/multimedia/qvamps/files/patch-qvamps
+++ /dev/null
@@ -1,22 +0,0 @@
---- qvamps.orig Sat Oct 8 06:04:37 2005
-+++ qvamps Wed Jan 11 10:05:26 2006
-@@ -19,14 +19,14 @@
- {
- print STDERR "qVamps: loading modules from $qvamps_home/share/lib\n";
- unshift @INC, "$qvamps_home/share/lib";
-- unshift @INC, "$qvamps_home/lib/$archname";
-+ unshift @INC, "$qvamps_home/lib";
- }
-- elsif ($load_prefix && -e "$load_prefix/share/qvamps")
-+ elsif ($load_prefix && -e "%%DATADIR%%")
- {
- print STDERR "qVamps: loading modules from " .
-- "$load_prefix/share/qvamps/lib\n";
-- unshift @INC, "$load_prefix/share/qvamps/lib";
-- unshift @INC, "$load_prefix/lib/qvamps/$archname";
-+ "%%DATADIR%%/lib\n";
-+ unshift @INC, "%%DATADIR%%/lib";
-+ unshift @INC, "$load_prefix/lib/qvamps";
- }
- }
-
diff --git a/multimedia/qvamps/pkg-descr b/multimedia/qvamps/pkg-descr
deleted file mode 100644
index 23d630274b52..000000000000
--- a/multimedia/qvamps/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-[ excerpt from developer's www site with modifications ]
-
-The idea was to use the high performance Metakine M2Requantiser to
-create a transcoder for Linux for shrinking the content of a DVD9.
-This would enable backups on cheap single layer DVDRs (double layer
-burners weren't even available that time).
-
-Vamps builds a wrapper around the requantizer to extract the
-elementary MPEG2 video stream from the DVD's program stream, feed
-it through the requantizer and finally re-pack it into the program
-stream again. Besides this, Vamps allows the selection of both audio
-and subtitle streams that should be copied into the output stream.
-This gives another small gain of disk space, since unwanted streams
-may be discarded.
-
-Summed up, Vamps is only a very basic, but nevertheless essential
-tool to transcode DVD videos to a smaller size. Vamps does not need
-to write temporary data files, which is a major pro. Vamps is very
-fast. The downside is, that Vamps is not capable of making DVD
-backups on its own.
-
-WWW: http://vamps.sourceforge.net/
-
--- lioux@FreeBSD.org