summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-28 20:17:14 +0100
committerJaroslav Lichtblau2014-11-28 20:17:14 +0100
commita4f102e0949edcc96f69dc0fdd0fec0feaaf05fb (patch)
tree69e9275b9fc4be79b0c2f50da97f4f2d0ac0203c
downloadaur-a4f102e0949edcc96f69dc0fdd0fec0feaaf05fb.tar.gz
Initial PKGBUILD status as of 28.11.2014
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD40
-rw-r--r--acidrip.desktop8
-rw-r--r--acidrip.pngbin0 -> 265 bytes
-rw-r--r--crop-fixes.patch21
-rw-r--r--xvidencopts.patch14
6 files changed, 111 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..98c356f4aca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = acidrip
+ pkgdesc = A Gtk2::Perl application for ripping and encoding DVD's
+ pkgver = 0.14
+ pkgrel = 10
+ url = http://sourceforge.net/projects/acidrip/
+ arch = any
+ license = GPL
+ depends = mplayer
+ depends = lsdvd
+ depends = lame
+ depends = libdvdcss
+ depends = gtk2-perl
+ depends = perl
+ depends = mencoder
+ options = !emptydirs
+ source = http://downloads.sourceforge.net/acidrip/acidrip-0.14.tar.gz
+ source = acidrip.desktop
+ source = acidrip.png
+ source = crop-fixes.patch
+ source = xvidencopts.patch
+ md5sums = c1c27bbf658e5c30f43e067a8ae283de
+ md5sums = f6896612df224a325d66c5f8fa8553e7
+ md5sums = 7498602e2a3838cf35b94af85d9954d3
+ md5sums = 1a8470702e2e0eda8ecbc473141aa08f
+ md5sums = 8cdf13f4bf0fd7b8c3c6adfd22480706
+
+pkgname = acidrip
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d61f95a2dbc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Contributor:
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+
+pkgname=acidrip
+pkgver=0.14
+pkgrel=10
+pkgdesc="A Gtk2::Perl application for ripping and encoding DVD's"
+arch=('any')
+url="http://sourceforge.net/projects/acidrip/"
+license=('GPL')
+depends=('mplayer' 'lsdvd' 'lame' 'libdvdcss' 'gtk2-perl' 'perl' 'mencoder')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ 'acidrip.desktop' 'acidrip.png'
+ 'crop-fixes.patch' 'xvidencopts.patch')
+md5sums=('c1c27bbf658e5c30f43e067a8ae283de'
+ 'f6896612df224a325d66c5f8fa8553e7'
+ '7498602e2a3838cf35b94af85d9954d3'
+ '1a8470702e2e0eda8ecbc473141aa08f'
+ '8cdf13f4bf0fd7b8c3c6adfd22480706')
+options=('!emptydirs')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/crop-fixes.patch
+ patch -Np1 -i ${srcdir}/xvidencopts.patch
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORSCRIPT=/usr/bin
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+
+ install -Dm644 ${srcdir}/acidrip.png \
+ ${pkgdir}/usr/share/pixmaps/acidrip.png
+ install -Dm644 ${srcdir}/acidrip.desktop \
+ ${pkgdir}/usr/share/applications/acidrip.desktop
+}
diff --git a/acidrip.desktop b/acidrip.desktop
new file mode 100644
index 00000000000..189941b517e
--- /dev/null
+++ b/acidrip.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=AcidRip DVD Ripper
+GenericName=DVD Ripper
+Comment=DVD Ripper
+Exec=acidrip
+Icon=acidrip.png
+Type=Application
+Categories=AudioVideo;
diff --git a/acidrip.png b/acidrip.png
new file mode 100644
index 00000000000..c214c53d0f4
--- /dev/null
+++ b/acidrip.png
Binary files differ
diff --git a/crop-fixes.patch b/crop-fixes.patch
new file mode 100644
index 00000000000..4a856180fd4
--- /dev/null
+++ b/crop-fixes.patch
@@ -0,0 +1,21 @@
+diff -ur acidrip-0.14/AcidRip/acidrip.pm acidrip-0.14-cropfixes/AcidRip/acidrip.pm
+--- acidrip-0.14/AcidRip/acidrip.pm 2004-07-25 09:03:09.000000000 -0500
++++ acidrip-0.14-cropfixes/AcidRip/acidrip.pm 2007-02-12 15:05:36.000000000 -0600
+@@ -680,7 +680,7 @@
+ message( "Running " . get_command("cropdetect") );
+ open( CROP, get_command("cropdetect") . " 2>&1 |" );
+ while (<CROP>) {
+- if ( $_ =~ /crop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
++ if ( $_ =~ /[cC]rop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
+ $crop_output .= $_;
+ gui_check($_);
+ }
+@@ -863,7 +863,7 @@
+ if ( $::settings->{'mencoder_pid'} = open( MENCODER, "$menc 2>&1 |" ) ) {
+ $/ = "\r";
+ while (<MENCODER>) {
+- if (/^Pos:\s*(\d+).\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+(\d+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
++ if (/^Pos:\s*(\d+)\.\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+([\d.]+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
+ if ( $1 ne $sec ) { $sec = $1; $::widgets->{'menc_seconds'}->set_text( hhmmss($1) ) }
+ if ( $4 ne $fps ) { $fps = $4; $::widgets->{'menc_fps'}->set_text($4) }
+ if ( $6 ne $size ) { $size = $6; $::widgets->{'menc_filesize'}->set_text($6) }
diff --git a/xvidencopts.patch b/xvidencopts.patch
new file mode 100644
index 00000000000..6104def5ed6
--- /dev/null
+++ b/xvidencopts.patch
@@ -0,0 +1,14 @@
+diff -rauN acidrip-0.14.orig/AcidRip/acidrip.pm acidrip-0.14/AcidRip/acidrip.pm
+--- acidrip-0.14.orig/AcidRip/acidrip.pm 2004-07-25 16:03:09.000000000 +0200
++++ acidrip-0.14/AcidRip/acidrip.pm 2005-10-28 18:46:48.429939022 +0200
+@@ -218,7 +218,9 @@
+ $menc{'video'} .= ":pass=$::settings->{'video_pass'}" if $::settings->{'video_passes'} > 1;
+ }
+ if ( $::settings->{'video_codec'} eq 'xvid' ) {
+- $menc{'video'} = "-ovc xvid -xvidencopts $::settings->{'xvid_options'}:bitrate=$::settings->{'video_bitrate'}";
++ $menc{'video'} = "-ovc xvid -xvidencopts ";
++ $menc{'video'} .= "$::settings->{'xvid_options'}:" if $::settings->{'xvid_options'} ne '';
++ $menc{'video'} .= "bitrate=$::settings->{'video_bitrate'}";
+ $menc{'video'} .= ":pass=$::settings->{'video_pass'}" if $::settings->{'video_passes'} > 1;
+ }
+ if ( $::settings->{'video_codec'} eq 'nuv' ) {