pkgsrc/multimedia/libbluray/Makefile
2021-12-08 16:01:42 +00:00

30 lines
932 B
Makefile

# $NetBSD: Makefile,v 1.25 2021/12/08 16:02:24 adam Exp $
DISTNAME= libbluray-1.3.0
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/libbluray/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.videolan.org/developers/libbluray.html
COMMENT= Library for Blu-Ray Discs playback for media players
LICENSE= gnu-lgpl-v2.1
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-bdjava-jar
CONFIGURE_ARGS+= --disable-optimizations
PKGCONFIG_OVERRIDE+= src/libbluray.pc.in
CPPFLAGS.SunOS+= -D__EXTENSIONS__
# provide jni_md.h for other architectures
post-extract:
${LN} -s ${WRKSRC}/jni/linux/jni_md.h ${WRKSRC}/jni/jni_md.h
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"