openbsd-ports/multimedia/get_iplayer/patches/patch-get_iplayer
nigel 555264f09a update to version 2.80
ok sthen@ (maintainer)
2011-09-05 17:07:29 +00:00

48 lines
2.0 KiB
Plaintext

$OpenBSD: patch-get_iplayer,v 1.46 2011/09/05 17:07:29 nigel Exp $
--- get_iplayer.orig Mon Aug 29 15:09:13 2011
+++ get_iplayer Wed Aug 31 18:23:50 2011
@@ -308,6 +308,7 @@ $opt->{verbose} = 1 if $opt_pre->{verbose};
$opt->{quiet} = 1 if $opt_pre->{quiet};
$opt->{pvr} = 1 if $opt_pre->{pvr};
$opt->{stdout} = 1 if $opt_pre->{stdout} || $opt_pre->{stream};
+$opt->{packagemanager}= 'pkg_add';
# show version and exit
if ( $opt_pre->{showver} ) {
@@ -344,7 +345,7 @@ mkpath $profile_dir if ! -d $profile_dir;
# get list of additional user plugins and load plugin
-my $plugin_dir_system = '/usr/share/get_iplayer/plugins';
+my $plugin_dir_system = '${TRUEPREFIX}/share/get_iplayer/plugins';
my $plugin_dir_user = "$profile_dir/plugins";
for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
if ( opendir( DIR, $plugin_dir ) ) {
@@ -732,7 +733,7 @@ sub init_search {
delete $binopts->{vlc};
push @{ $binopts->{vlc} }, '-vv' if $opt->{debug};
- $bin->{id3v2} = $opt->{id3v2} || 'id3v2';
+ $bin->{id3v2} = $opt->{id3v2} || 'id3tag';
$bin->{atomicparsley} = $opt->{atomicparsley} || 'AtomicParsley';
$bin->{tee} = 'tee';
@@ -2014,7 +2015,7 @@ sub update_script {
} elsif ( $opt->{packagemanager} =~ /disable/i ) {
logger "ERROR: get_iplayer should only be updated using your local package management system, for more information see http://linuxcentre.net/installation\n";
} else {
- logger "ERROR: get_iplayer was installed using '$opt->{packagemanager}' package manager please refer to the update documentation at http://linuxcentre.net/getiplayer/installation/\n";
+ logger "ERROR: Please update get_iplayer using the '$opt->{packagemanager}' package manager\n";
}
exit 1;
}
@@ -9543,7 +9544,7 @@ sub tag_file_id3 {
# add basic ID3 tag with id3v2
sub tag_file_id3_basic {
my ($self, $meta, $tags) = @_;
- if ( main::exists_in_path('id3v2') ) {
+ if ( main::exists_in_path('id3tag') ) {
main::logger "INFO: ID3 BASIC tagging \U$meta->{ext}\E file\n";
# notify about limitations of basic tagging
if ( $opt->{verbose} ) {