Update audacious-plugins to 3.3.2.

ok dcoppa@
This commit is contained in:
brad 2012-10-01 07:56:40 +00:00
parent 8d10fc9054
commit bdd5a0df6b
5 changed files with 11 additions and 49 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.52 2012/08/31 20:16:40 ratchov Exp $
# $OpenBSD: Makefile,v 1.53 2012/10/01 07:56:40 brad Exp $
SHARED_ONLY = Yes
COMMENT = input and output plugins for audacious
COMMENT = input and output plugins for Audacious
V = 3.3.1
V = 3.3.2
DISTNAME = audacious-plugins-$V
REVISION = 0
CATEGORIES = audio multimedia

View File

@ -1,2 +1,2 @@
SHA256 (audacious-plugins-3.3.1.tar.bz2) = jsvmyXlQIsOSdgir0HBu6MjRpXnR9gSvrzvymoMkEyE=
SIZE (audacious-plugins-3.3.1.tar.bz2) = 1650126
SHA256 (audacious-plugins-3.3.2.tar.bz2) = 8cPC5dp6GqXmrCRvRuvat3ZghHjaZkZKWkMMKp+e/aw=
SIZE (audacious-plugins-3.3.2.tar.bz2) = 1687043

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_ac,v 1.16 2012/08/25 11:30:19 dcoppa Exp $
--- configure.ac.orig Fri Aug 24 10:53:03 2012
+++ configure.ac Fri Aug 24 10:54:28 2012
$OpenBSD: patch-configure_ac,v 1.17 2012/10/01 07:56:40 brad Exp $
--- configure.ac.orig Sun Sep 23 09:05:12 2012
+++ configure.ac Sat Sep 29 04:33:40 2012
@@ -43,9 +43,6 @@ PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 3.3],
[AC_MSG_ERROR([Cannot find Audacious 3.3; have you installed Audacious yet?])]
)
@ -11,15 +11,6 @@ $OpenBSD: patch-configure_ac,v 1.16 2012/08/25 11:30:19 dcoppa Exp $
dnl Default Set of Plugins
dnl ======================
@@ -882,7 +879,7 @@ AC_ARG_ENABLE(filewriter_mp3,
)
if test "x$enable_filewriter_mp3" = "xyes"; then
- AC_CHECK_LIB(mp3lame -lm, lame_get_id3v2_tag, [have_lame=yes], [have_lame=no])
+ AC_CHECK_LIB(mp3lame, lame_get_id3v2_tag, [have_lame=yes], [have_lame=no])
if test "x$have_lame" = "xyes"; then
AC_DEFINE(FILEWRITER_MP3, 1, [Define if MP3 output part should be built])
FILEWRITER_LIBS="$FILEWRITER_LIBS -lmp3lame"
@@ -1013,6 +1010,9 @@ if test "x$enable_lyricwiki" = "xyes"; then
fi

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-src_sndio_sndio_c,v 1.1 2012/08/31 20:16:40 ratchov Exp $
--- src/sndio/sndio.c.orig Sun Aug 26 16:51:15 2012
+++ src/sndio/sndio.c Sun Aug 26 16:53:50 2012
@@ -95,7 +95,7 @@ AUD_OUTPUT_PLUGIN
static struct fmt_to_par {
int fmt, bits, sig, le;
} fmt_to_par[] = {
- {FMT_S8, 8, 1, 0}, {FMT_U8, 8, 1, 0},
+ {FMT_S8, 8, 1, 0}, {FMT_U8, 8, 0, 0},
{FMT_S16_LE, 16, 1, 1}, {FMT_S16_BE, 16, 1, 0},
{FMT_U16_LE, 16, 0, 1}, {FMT_U16_BE, 16, 0, 0},
{FMT_S24_LE, 24, 1, 1}, {FMT_S24_BE, 24, 1, 0},
@@ -237,6 +237,8 @@ sndio_open(int fmt, int rate, int nch)
askpar.sig = fmt_to_par[i].sig;
if (askpar.bits > 8)
askpar.le = fmt_to_par[i].le;
+ if (askpar.bits < askpar.bps * 8)
+ askpar.msb = 0;
askpar.pchan = nch;
askpar.rate = rate;
buffer_size = aud_get_int(NULL, "output_buffer_size");
@@ -249,7 +251,7 @@ sndio_open(int fmt, int rate, int nch)
return (0);
}
if ((par.bps > 1 && par.le != askpar.le) ||
- (par.bits < par.bps * 8 && !par.msb) ||
+ (par.bits < par.bps * 8 && par.msb) ||
par.bps != askpar.bps ||
par.sig != askpar.sig ||
par.pchan != askpar.pchan ||

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2012/08/25 11:30:19 dcoppa Exp $
@comment $OpenBSD: PLIST,v 1.6 2012/10/01 07:56:40 brad Exp $
@pkgpath audio/audacious-plugins,-main
lib/audacious/
lib/audacious/Container/
@ -193,6 +193,7 @@ share/audacious/ui/
share/audacious/ui/equalizer.ui
share/audacious/ui/mainwin.ui
share/audacious/ui/playlist.ui
share/locale/be/LC_MESSAGES/audacious-plugins.mo
share/locale/ca/LC_MESSAGES/audacious-plugins.mo
share/locale/cs/LC_MESSAGES/audacious-plugins.mo
share/locale/de/LC_MESSAGES/audacious-plugins.mo
@ -210,6 +211,7 @@ share/locale/ko/LC_MESSAGES/audacious-plugins.mo
share/locale/lt/LC_MESSAGES/audacious-plugins.mo
share/locale/lv/LC_MESSAGES/audacious-plugins.mo
share/locale/pl/LC_MESSAGES/audacious-plugins.mo
share/locale/pt_BR/LC_MESSAGES/audacious-plugins.mo
share/locale/pt_PT/LC_MESSAGES/audacious-plugins.mo
share/locale/ru/LC_MESSAGES/audacious-plugins.mo
share/locale/sk/LC_MESSAGES/audacious-plugins.mo