From 9db285f49ab90c8c1b6edbd67e7dff962dfb9eec Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 5 Sep 2014 01:25:22 -0300 Subject: rename to dvdrip --- libre/dvdrip-libre/PKGBUILD | 59 ---------------------------- libre/dvdrip-libre/dvdrip.desktop | 8 ---- libre/dvdrip-libre/dvdrip.install | 11 ------ libre/dvdrip-libre/libre.patch | 81 --------------------------------------- libre/dvdrip/PKGBUILD | 57 +++++++++++++++++++++++++++ libre/dvdrip/dvdrip.desktop | 8 ++++ libre/dvdrip/dvdrip.install | 11 ++++++ libre/dvdrip/libre.patch | 81 +++++++++++++++++++++++++++++++++++++++ 8 files changed, 157 insertions(+), 159 deletions(-) delete mode 100644 libre/dvdrip-libre/PKGBUILD delete mode 100644 libre/dvdrip-libre/dvdrip.desktop delete mode 100644 libre/dvdrip-libre/dvdrip.install delete mode 100644 libre/dvdrip-libre/libre.patch create mode 100644 libre/dvdrip/PKGBUILD create mode 100644 libre/dvdrip/dvdrip.desktop create mode 100644 libre/dvdrip/dvdrip.install create mode 100644 libre/dvdrip/libre.patch diff --git a/libre/dvdrip-libre/PKGBUILD b/libre/dvdrip-libre/PKGBUILD deleted file mode 100644 index 5bb758015..000000000 --- a/libre/dvdrip-libre/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# $Id: PKGBUILD 114917 2014-07-04 15:46:06Z fyan $ -# Maintainer (Arch): Giovanni Scafora -# Contributor (Arch): Fredrik Hammar -# Maintainer: Márcio Silva - -_pkgname=dvdrip -pkgname=dvdrip-libre -pkgver=0.98.11 -pkgrel=11 -pkgdesc="A Gtk frontend for transcode writen in Perl, without opcional hal and nonfree rar vobsub compression support" -arch=('i686' 'x86_64' 'mips64el') -license=('custom') -url="http://www.exit1.org/${_pkgname}/" -install=${_pkgname}.install -depends=('perl-gtk2-ex-formfactory' 'transcode' 'imagemagick' - 'perl-libintl-perl' 'desktop-file-utils' 'perl-event-execflow') -optdepends=('xvid4conf: xvid4 configuration tool' - 'lsdvd: Needed for faster DVD TOC reading' - 'mplayer: Needed for subtitle vobsub viewing' - 'mplayer-vaapi: Needed for subtitle vobsub viewing' - 'mplayer2: Needed for subtitle vobsub viewing' - 'ogmtools: Needed for OGG/Vorbis and for chapter progress bar' - 'xine-ui: Can be used to view DVD'\''s/files' - 'fping: Only for cluster mode master') -source=("http://www.exit1.org/${_pkgname}/dist/${_pkgname}-${pkgver}.tar.gz" - "${_pkgname}.desktop" "libre.patch") -options=('!emptydirs' '!makeflags') -replaces=("${_pkgname}") -conflicts=("${_pkgname}") -provides=("${_pkgname}=${pkgver}") -md5sums=('6dfa4199d451757a37eea233a07da4c0' - 'e91cf411928fd0500d07a0022b4ef546' - 'bc006d3b3447f8b62ae6ba29773a064b') - -prepare() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - patch -Np1 -i "$srcdir/libre.patch" -} - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - make install DESTDIR="${pkgdir}" - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete - - install -Dm644 ${srcdir}/${_pkgname}.desktop "${pkgdir}/usr/share/applications/${_pkgname}.desktop" - install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" -} diff --git a/libre/dvdrip-libre/dvdrip.desktop b/libre/dvdrip-libre/dvdrip.desktop deleted file mode 100644 index dd19b4aae..000000000 --- a/libre/dvdrip-libre/dvdrip.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=dvd::rip -Comment=DVD Ripper and Encoder - Backup and compression utility for DVDs -Exec=/usr/bin/vendor_perl/dvdrip -Icon=/usr/share/perl5/vendor_perl/Video/DVDRip/icon.xpm -Terminal=false -Type=Application -Categories=Application;AudioVideo;Video; diff --git a/libre/dvdrip-libre/dvdrip.install b/libre/dvdrip-libre/dvdrip.install deleted file mode 100644 index e111ef946..000000000 --- a/libre/dvdrip-libre/dvdrip.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/libre/dvdrip-libre/libre.patch b/libre/dvdrip-libre/libre.patch deleted file mode 100644 index cc24ef467..000000000 --- a/libre/dvdrip-libre/libre.patch +++ /dev/null @@ -1,81 +0,0 @@ -diff -Naur dvdrip-0.98.11.orig/lib/Video/DVDRip/Config.pm dvdrip-0.98.11/lib/Video/DVDRip/Config.pm ---- dvdrip-0.98.11.orig/lib/Video/DVDRip/Config.pm 2009-02-28 16:28:00.000000000 -0200 -+++ dvdrip-0.98.11/lib/Video/DVDRip/Config.pm 2012-05-15 15:41:34.554118050 -0300 -@@ -233,13 +233,6 @@ - ], - rules => "executable-command", - }, -- rar_command => { -- label => __ "rar command (for vobsub compression)", -- type => 'string', -- value => 'rar', -- presets => [ 'rar', ], -- rules => "executable-command", -- }, - base_project_dir => { - label => __ "Default data base directory", - type => 'dir', -@@ -355,7 +348,6 @@ - __ "Commands" => [ - qw( - play_dvd_command play_file_command -- play_stdin_command rar_command - ) - ], - __ "Cluster options" => [ -@@ -907,7 +899,6 @@ - sub test_play_dvd_command { _executable(@_) } - sub test_play_file_command { _executable(@_) } - sub test_play_stdin_command { _executable(@_) } --sub test_rar_command { _executable(@_) } - sub test_dvd_device { _exists(@_) } - sub test_writer_device { _exists(@_) } - sub test_base_project_dir { _abs_and_writable(@_) } -diff -Naur dvdrip-0.98.11.orig/lib/Video/DVDRip/Depend.pm dvdrip-0.98.11/lib/Video/DVDRip/Depend.pm ---- dvdrip-0.98.11.orig/lib/Video/DVDRip/Depend.pm 2009-02-28 16:28:00.000000000 -0200 -+++ dvdrip-0.98.11/lib/Video/DVDRip/Depend.pm 2012-05-15 15:30:13.506056523 -0300 -@@ -171,22 +171,6 @@ - min => "0.15", - suggested => "0.15", - }, -- rar => { -- order => ++$ORDER, -- command => Video::DVDRip::Depend->config('rar_command'), -- comment => __ "Needed for compressed vobsub subtitles", -- optional => 1, -- version_cmd => "", -- get_version => sub { -- my $cmd = Video::DVDRip::Depend->config('rar_command')." '-?'"; -- qx[$cmd 2>&1] =~ /rar\s+(\d+\.\d+(\.\d+)?)/i; -- return $1; -- }, -- convert => 'default', -- min => "2.71", -- max => "2.99", -- suggested => "2.71", -- }, - mplayer => { - order => ++$ORDER, - command => "mplayer", -@@ -284,21 +268,6 @@ - min => "2.2", - suggested => "2.4", - }, -- hal => { -- order => ++$ORDER, -- command => "lshal", -- comment => __"Used for DVD device scanning", -- optional => 1, -- version_cmd => "lshal -v", -- get_version => sub { -- my ($cmd) = @_; -- qx[$cmd 2>&1] =~ /version\s+(\d+\.\d+(\.\d+)?)/i; -- return $1; -- }, -- convert => 'default', -- min => "0.5", -- suggested => "0.5.7", -- }, - ); - - sub convert_default { diff --git a/libre/dvdrip/PKGBUILD b/libre/dvdrip/PKGBUILD new file mode 100644 index 000000000..008c42971 --- /dev/null +++ b/libre/dvdrip/PKGBUILD @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 114917 2014-07-04 15:46:06Z fyan $ +# Maintainer (Arch): Giovanni Scafora +# Contributor (Arch): Fredrik Hammar +# Maintainer: Márcio Silva + +pkgname=dvdrip +pkgver=0.98.11 +pkgrel=11.parabola1 +pkgdesc="A Gtk frontend for transcode writen in Perl, without opcional hal and nonfree rar vobsub compression support" +arch=('i686' 'x86_64' 'mips64el') +license=('custom') +url="http://www.exit1.org/${pkgname}/" +install=${pkgname}.install +depends=('perl-gtk2-ex-formfactory' 'transcode' 'imagemagick' + 'perl-libintl-perl' 'desktop-file-utils' 'perl-event-execflow') +optdepends=('xvid4conf: xvid4 configuration tool' + 'lsdvd: Needed for faster DVD TOC reading' + 'mplayer: Needed for subtitle vobsub viewing' + 'mplayer-vaapi: Needed for subtitle vobsub viewing' + 'mplayer2: Needed for subtitle vobsub viewing' + 'ogmtools: Needed for OGG/Vorbis and for chapter progress bar' + 'xine-ui: Can be used to view DVD'\''s/files' + 'fping: Only for cluster mode master') +source=("http://www.exit1.org/${pkgname}/dist/${pkgname}-${pkgver}.tar.gz" + "${pkgname}.desktop" "libre.patch") +options=('!emptydirs' '!makeflags') +replaces=("${pkgname}-libre") +conflicts=("${pkgname}-libre") +md5sums=('6dfa4199d451757a37eea233a07da4c0' + 'e91cf411928fd0500d07a0022b4ef546' + 'bc006d3b3447f8b62ae6ba29773a064b') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i "$srcdir/libre.patch" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make install DESTDIR="${pkgdir}" + + # remove perllocal.pod and .packlist + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete + + install -Dm644 ${srcdir}/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/libre/dvdrip/dvdrip.desktop b/libre/dvdrip/dvdrip.desktop new file mode 100644 index 000000000..dd19b4aae --- /dev/null +++ b/libre/dvdrip/dvdrip.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=dvd::rip +Comment=DVD Ripper and Encoder - Backup and compression utility for DVDs +Exec=/usr/bin/vendor_perl/dvdrip +Icon=/usr/share/perl5/vendor_perl/Video/DVDRip/icon.xpm +Terminal=false +Type=Application +Categories=Application;AudioVideo;Video; diff --git a/libre/dvdrip/dvdrip.install b/libre/dvdrip/dvdrip.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/libre/dvdrip/dvdrip.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/libre/dvdrip/libre.patch b/libre/dvdrip/libre.patch new file mode 100644 index 000000000..cc24ef467 --- /dev/null +++ b/libre/dvdrip/libre.patch @@ -0,0 +1,81 @@ +diff -Naur dvdrip-0.98.11.orig/lib/Video/DVDRip/Config.pm dvdrip-0.98.11/lib/Video/DVDRip/Config.pm +--- dvdrip-0.98.11.orig/lib/Video/DVDRip/Config.pm 2009-02-28 16:28:00.000000000 -0200 ++++ dvdrip-0.98.11/lib/Video/DVDRip/Config.pm 2012-05-15 15:41:34.554118050 -0300 +@@ -233,13 +233,6 @@ + ], + rules => "executable-command", + }, +- rar_command => { +- label => __ "rar command (for vobsub compression)", +- type => 'string', +- value => 'rar', +- presets => [ 'rar', ], +- rules => "executable-command", +- }, + base_project_dir => { + label => __ "Default data base directory", + type => 'dir', +@@ -355,7 +348,6 @@ + __ "Commands" => [ + qw( + play_dvd_command play_file_command +- play_stdin_command rar_command + ) + ], + __ "Cluster options" => [ +@@ -907,7 +899,6 @@ + sub test_play_dvd_command { _executable(@_) } + sub test_play_file_command { _executable(@_) } + sub test_play_stdin_command { _executable(@_) } +-sub test_rar_command { _executable(@_) } + sub test_dvd_device { _exists(@_) } + sub test_writer_device { _exists(@_) } + sub test_base_project_dir { _abs_and_writable(@_) } +diff -Naur dvdrip-0.98.11.orig/lib/Video/DVDRip/Depend.pm dvdrip-0.98.11/lib/Video/DVDRip/Depend.pm +--- dvdrip-0.98.11.orig/lib/Video/DVDRip/Depend.pm 2009-02-28 16:28:00.000000000 -0200 ++++ dvdrip-0.98.11/lib/Video/DVDRip/Depend.pm 2012-05-15 15:30:13.506056523 -0300 +@@ -171,22 +171,6 @@ + min => "0.15", + suggested => "0.15", + }, +- rar => { +- order => ++$ORDER, +- command => Video::DVDRip::Depend->config('rar_command'), +- comment => __ "Needed for compressed vobsub subtitles", +- optional => 1, +- version_cmd => "", +- get_version => sub { +- my $cmd = Video::DVDRip::Depend->config('rar_command')." '-?'"; +- qx[$cmd 2>&1] =~ /rar\s+(\d+\.\d+(\.\d+)?)/i; +- return $1; +- }, +- convert => 'default', +- min => "2.71", +- max => "2.99", +- suggested => "2.71", +- }, + mplayer => { + order => ++$ORDER, + command => "mplayer", +@@ -284,21 +268,6 @@ + min => "2.2", + suggested => "2.4", + }, +- hal => { +- order => ++$ORDER, +- command => "lshal", +- comment => __"Used for DVD device scanning", +- optional => 1, +- version_cmd => "lshal -v", +- get_version => sub { +- my ($cmd) = @_; +- qx[$cmd 2>&1] =~ /version\s+(\d+\.\d+(\.\d+)?)/i; +- return $1; +- }, +- convert => 'default', +- min => "0.5", +- suggested => "0.5.7", +- }, + ); + + sub convert_default { -- cgit v1.2.3