Switch pacpl on musepack, pointed out by naddy@

This commit is contained in:
shadchin 2012-05-25 13:46:08 +00:00
parent 0646521a9d
commit f9d4675315
3 changed files with 86 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2012/04/28 09:02:36 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2012/05/25 13:46:08 shadchin Exp $
PKG_ARCH= *
@ -13,6 +13,8 @@ PKGNAME-konqueror= pacpl-konqueror-${V}
PKGNAME-amarok= pacpl-amarok-${V}
CATEGORIES= audio converters perl5
REVISION-main= 0
HOMEPAGE= http://pacpl.sourceforge.net/
MAINTAINER= Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
@ -35,7 +37,7 @@ RUN_DEPENDS= audio/bonk \
audio/flac \
audio/lame \
audio/mpg321 \
audio/mppenc \
audio/musepack \
audio/sox \
audio/speex \
audio/vorbis-tools \

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.1 2012/05/25 13:46:08 shadchin Exp $
--- configure.orig Fri May 25 09:19:08 2012
+++ configure Fri May 25 09:22:11 2012
@@ -2792,7 +2792,7 @@ fi
# Extract the first word of "mppenc", so it can be a program name with args.
-set dummy mppenc; ac_word=$2
+set dummy mpcenc; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_MPPENC+set}" = set; then
@@ -2829,7 +2829,7 @@ fi
# Extract the first word of "mppdec", so it can be a program name with args.
-set dummy mppdec; ac_word=$2
+set dummy mpcdec; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_MPPDEC+set}" = set; then

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-pacpl,v 1.3 2012/04/28 09:02:36 sthen Exp $
--- pacpl.orig Sat Feb 14 17:04:50 2009
+++ pacpl Sat Apr 28 09:59:59 2012
$OpenBSD: patch-pacpl,v 1.4 2012/05/25 13:46:08 shadchin Exp $
--- pacpl.orig Sat Feb 14 22:04:50 2009
+++ pacpl Fri May 25 09:46:10 2012
@@ -130,8 +130,8 @@ my %config = (
);
@ -75,6 +75,64 @@ $OpenBSD: patch-pacpl,v 1.3 2012/04/28 09:02:36 sthen Exp $
},
PROMPT => {
@@ -1124,13 +1124,13 @@ my $opts;
mpc => {
- DEFAULT_ENCODER => "mppenc",
- DEFAULT_DECODER => "mppdec",
+ DEFAULT_ENCODER => "mpcenc",
+ DEFAULT_DECODER => "mpcdec",
ENCODER => {
- mppenc => {
- NAME => "mppenc",
+ mpcenc => {
+ NAME => "mpcenc",
ESTR => sub {
$opts = "--$mpcqual" if $defopts == 1;
$opts = '' if $defopts == 0;
@@ -1142,8 +1142,8 @@ my $opts;
DECODER => {
- mppdec => {
- NAME => "mppdec",
+ mpcdec => {
+ NAME => "mpcdec",
DSTR => sub { "$dopts %i %o" },
},
@@ -1166,13 +1166,13 @@ my $opts;
mpp => {
- DEFAULT_ENCODER => "mppenc",
- DEFAULT_DECODER => "mppdec",
+ DEFAULT_ENCODER => "mpcenc",
+ DEFAULT_DECODER => "mpcdec",
ENCODER => {
- mppenc => {
- NAME => "mppenc",
+ mpcenc => {
+ NAME => "mpcenc",
ESTR => sub {
$opts = "--$mpcqual" if $defopts == 1;
$opts = '' if $defopts == 0;
@@ -1184,8 +1184,8 @@ my $opts;
DECODER => {
- mppdec => {
- NAME => "mppdec",
+ mpcdec => {
+ NAME => "mpcdec",
DSTR => sub { "$dopts %i %o" },
},
@@ -2050,11 +2050,11 @@ sub format_tags {
$tag_name{track} = 0 if not $tag_name{track};