Update to lame-3.100.

from Jan Stary
This commit is contained in:
ajacoutot 2018-06-23 16:14:33 +00:00
parent 1cafbbab17
commit 911da9c3e2
3 changed files with 13 additions and 49 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.58 2017/07/27 14:48:10 espie Exp $
# $OpenBSD: Makefile,v 1.59 2018/06/23 16:14:33 ajacoutot Exp $
COMMENT= lame ain't an MP3 encoder
#'
DISTNAME= lame-3.99.5
REVISION= 1
DISTNAME= lame-3.100
SHARED_LIBS += mp3lame 2.1 # 0.1
SHARED_LIBS += mp3lame 2.1 # 0.0
CATEGORIES= audio
@ -18,18 +17,20 @@ MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
PERMIT_PACKAGE_CDROM= MP3 patent, http://mp3licensing.com/royalty/
PERMIT_PACKAGE_FTP= Yes
WANTLIB += c iconv m ncurses
WANTLIB += c curses iconv m
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/}
LIB_DEPENDS= converters/libiconv
USE_GMAKE= Yes
AUTOCONF_VERSION=2.69
CONFIGURE_STYLE=autoconf
CONFIGURE_ARGS= --enable-mp3rtp \
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-cpml \
--disable-decoder \
--enable-frontend \
--enable-dynamic-frontends \
--disable-mp3x \
--enable-mp3rtp \
--without-dmalloc \
--with-fileio=lame
.if ${MACHINE_ARCH} == "i386"

View File

@ -1,2 +1,2 @@
SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8=
SIZE (lame-3.99.5.tar.gz) = 1445348
SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4=
SIZE (lame-3.100.tar.gz) = 1524133

View File

@ -1,37 +0,0 @@
$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $
Complete auto detection of xmmintrin_h according to actual support.
from FreeBSD
Index: configure.in
--- configure.in.orig
+++ configure.in
@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0
# increase this when changes are made, but they are upward compatible
# to previous versions
-LIB_MINOR_VERSION=0
+LIB_MINOR_VERSION=1
dnl # work around for a bug, don't know where it is exactly
if test "${ac_cv_cygwin}" = "yes"; then
@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \
sys/soundcard.h \
sys/time.h \
unistd.h \
- xmmintrin.h \
linux/soundcard.h)
+
+dnl Checks for actually working SSE intrinsics
+AC_MSG_CHECKING(working SSE intrinsics)
+AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <xmmintrin.h>]],
+ [[_mm_sfence();]])],
+ [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
+ ac_cv_header_xmmintrin_h=yes],
+ [ac_cv_header_xmmintrin_h=no])
+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST