aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libva-utils/Makefile
blob: 345506599798e2d24afd9345be1eb397d8c2b395 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $FreeBSD$

PORTNAME=   libva-utils
PORTVERSION=    2.1.0
CATEGORIES= multimedia

MAINTAINER= madpilot@FreeBSD.org
COMMENT=    Collection of tests and utilities for VAAPI

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libva.so:multimedia/libva

USES=       autoreconf gmake libtool pkgconfig tar:bzip2
#USE_XORG=  glproto pciaccess xext xfixes
#USE_GL=    gl
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip

USE_GITHUB= yes
GH_ACCOUNT= 01org

#LDFLAGS+=  -lpthread
# prevent types conflict: videodev2.h vs. drm.h
#CFLAGS+=   -DHAVE_LINUX_INTEGER_TYPES

OPTIONS_DEFINE= DEBUG

DEBUG_CFLAGS=       -D_DEBUG
DEBUG_CFLAGS_OFF=   -DNDEBUG

#post-patch:    .SILENT
#   ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \
#       -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \
#       ${WRKSRC}/configure.ac
#   ${REINPLACE_CMD} -e 's/va\(info\)/\1/g' -e 's/info\.c/vainfo\.c/' \
#       ${WRKSRC}/test/vainfo/Makefile.am
#   ${REINPLACE_CMD} '/^export VA_HEADER_/d' \
#       ${WRKSRC}/doc/Makefile.am
#   ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am

.include <bsd.port.mk>