1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

multimedia/libdvbcsa: enable altivec on powerpc64*

Needs a patch, otherwise fails to build.
This commit is contained in:
Piotr Kubaj 2021-10-31 11:13:08 +00:00
parent 1a1f2fbd6c
commit fe430bf764
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,9 @@ CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
http://ftp.heikorichter.name/pub/videolan/${PORTNAME}/${PORTVERSION}/
PATCH_SITES= https://raw.githubusercontent.com/buildroot/buildroot/master/package/libdvbcsa/
PATCHFILES= 0001-altivec-powerpc64.patch:-p1
MAINTAINER= decke@FreeBSD.org
COMMENT= Free implementation of the DVB Common Scrambling Algorithm
@ -23,6 +26,8 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS+=--enable-sse2
.elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
CONFIGURE_ARGS+=--enable-mmx
.elif ${ARCH:Mpowerpc64*}
CONFIGURE_ARGS+=--enable-altivec
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,5 @@
TIMESTAMP = 1635643025
SHA256 (libdvbcsa-1.1.0.tar.gz) = 4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d
SIZE (libdvbcsa-1.1.0.tar.gz) = 345487
SHA256 (0001-altivec-powerpc64.patch) = b9bc236f2d347b83c48a446d5884a5c4d7036bd6cb3c5df3c79263f413d92637
SIZE (0001-altivec-powerpc64.patch) = 1627