1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/audio/libmad/Makefile
Po-Chuan Hsieh 1ad752f994
audio/libmad: Update to 0.16.4
- Update MASTER_SITES
- Fix LICENSE
- Update COMMENT
- Update WWW
- Update pkg-descr
- Clean up libmad.pc patch from dependent ports

Changes:	https://codeberg.org/tenacityteam/libmad/releases
2024-04-18 20:47:56 +08:00

39 lines
901 B
Makefile

PORTNAME= libmad
PORTVERSION= 0.16.4
CATEGORIES= audio
MASTER_SITES= https://codeberg.org/tenacityteam/libmad/releases/download/${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= MPEG audio decoder library
WWW= https://www.underbit.com/products/mad/ \
https://codeberg.org/tenacityteam/libmad
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake cpe pathfix
CMAKE_OFF= MADD_ASM MADD16_ASM
CMAKE_ON= BUILD_SHARED_LIBS ${CMAKE_ON_${ARCH}}
CMAKE_ON_armv6= ASO
CMAKE_ON_armv7= ASO
CMAKE_ON_i386= ASO
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/libmad
PLIST_SUB= PORTVERSION=${PORTVERSION}
CPE_VENDOR= underbit
OPTIONS_SINGLE= OPTIMIZE
OPTIONS_SINGLE_OPTIMIZE=ACCURACY SPEED
OPTIONS_DEFAULT=SPEED
ACCURACY_DESC= Optimize for accuracy over speed
SPEED_DESC= Optimize for speed over accuracy
ACCURACY_CMAKE_ON= -DOPTIMIZE=ACCURACY
SPEED_CMAKE_ON= -DOPTIMIZE=SPEED
.include <bsd.port.mk>