| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.6 2022/01/09 00:28:58 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2022/01/09 00:35:49 tnn Exp $ |
2 | | | 2 | |
3 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | | 3 | GITHUB_RELEASE= ${PKGVERSION_NOREV} |
4 | DISTNAME= libva-utils-2.13.0 | | 4 | DISTNAME= libva-utils-2.13.0 |
5 | CATEGORIES= multimedia | | 5 | CATEGORIES= multimedia |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= ryoon@NetBSD.org | | 9 | MAINTAINER= ryoon@NetBSD.org |
10 | HOMEPAGE= https://github.com/intel/libva-utils/ | | 10 | HOMEPAGE= https://github.com/intel/libva-utils/ |
11 | COMMENT= Collection of tests for VA-API | | 11 | COMMENT= Collection of tests for VA-API |
12 | LICENSE= mit | | 12 | LICENSE= mit |
13 | | | 13 | |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
| @@ -17,24 +17,24 @@ USE_LANGUAGES= c c++ | | | @@ -17,24 +17,24 @@ USE_LANGUAGES= c c++ |
17 | | | 17 | |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | CONFIGURE_ARGS+= --enable-x11 | | 19 | CONFIGURE_ARGS+= --enable-x11 |
20 | # Might be useful to have this but I'll leave it to | | 20 | # Might be useful to have this but I'll leave it to |
21 | # someone else to enable. -tnn | | 21 | # someone else to enable. -tnn |
22 | CONFIGURE_ARGS+= --disable-wayland | | 22 | CONFIGURE_ARGS+= --disable-wayland |
23 | | | 23 | |
24 | SUBST_CLASSES+= getopt | | 24 | SUBST_CLASSES+= getopt |
25 | SUBST_STAGE.getopt= pre-configure | | 25 | SUBST_STAGE.getopt= pre-configure |
26 | SUBST_MESSAGE.getopt= Fixing getopt_long_only | | 26 | SUBST_MESSAGE.getopt= Fixing getopt_long_only |
27 | SUBST_FILES.getopt+= encode/*.c | | 27 | SUBST_FILES.getopt+= encode/*.c |
28 | SUBST_SED.getopt+= -e 's,getopt_long_only,getopt_long,' | | 28 | SUBST_SED.getopt+= -e 's,getopt_long_only,getopt_long,' |
29 | | | 29 | |
30 | LIBS+= -lm | | 30 | LIBS+= -lm |
31 | # Need explicit pthread linkage due to dlopening libraries | | 31 | # Need explicit pthread linkage due to dlopening libraries |
32 | # that link with pthread. | | 32 | # that link with pthread. |
33 | LIBS.NetBSD+= -lpthread | | 33 | LIBS.NetBSD+= -lpthread |
34 | | | 34 | |
35 | BUILDLINK_API_DEPENDS.libva+= libva>=${PKGVERSION_NOREV} | | 35 | BUILDLINK_API_DEPENDS.libva+= libva>=${PKGVERSION_NOREV} |
36 | .include "../../multimedia/libva/buildlink3.mk" | | 36 | .include "../../multimedia/libva/buildlink3.mk" |
37 | .include "../../x11/libdrm/buildlink3.mk" | | 37 | .include "../../x11/libdrm/buildlink3.mk" |
38 | .include "../../x11/libXext/buildlink3.mk" | | 38 | .include "../../x11/libXext/buildlink3.mk" |
39 | .include "../../x11/libXfixes/buildlink3.mk" | | 39 | .include "../../x11/libXfixes/buildlink3.mk" |
40 | .include "../../mk/bsd.pkg.mk" | | 40 | .include "../../mk/bsd.pkg.mk" |