Makefile 874 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.16 2017/01/21 21:38:11 naddy Exp $
  2. # invalid use of `restrict'
  3. NOT_FOR_ARCHS= ${GCC3_ARCHS}
  4. COMMENT= IETF audio codec
  5. DISTNAME= opus-1.1.4
  6. SHARED_LIBS= opus 1.0 # 5.0
  7. CATEGORIES= audio
  8. HOMEPAGE= https://opus-codec.org/
  9. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  10. # BSD
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
  13. https://ftp.mozilla.org/pub/opus/
  14. WANTLIB= m
  15. USE_GMAKE= Yes
  16. SEPARATE_BUILD= Yes
  17. CONFIGURE_STYLE=gnu
  18. CONFIGURE_ARGS= --disable-maintainer-mode
  19. CONFIGURE_ARGS+=--disable-doc # requires doxygen
  20. # x86: requires cpuid instruction
  21. .if ${MACHINE_ARCH} == "amd64"
  22. CONFIGURE_ARGS+=--enable-intrinsics
  23. .endif
  24. # fixed-point asm code requires EABI.
  25. #.if ${MACHINE_ARCH} == "arm"
  26. #CONFIGURE_ARGS+=--enable-fixed-point
  27. #CONFIGURE_ARGS+=--enable-intrinsics
  28. #.endif
  29. .include <bsd.port.mk>