diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2019-03-12 16:00:23 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2019-03-12 16:00:23 +0000 |
commit | 90bd0f393bcaf8fba6cf3124d40ebceeb308b22c (patch) | |
tree | ba40b7a797618c64c2bbbb9811af8b70a174f55c | |
parent | e30cb65d54ad0a6e82bcc53437ff33271984262f (diff) | |
download | ports-90bd0f393bcaf8fba6cf3124d40ebceeb308b22c.tar.gz ports-90bd0f393bcaf8fba6cf3124d40ebceeb308b22c.zip |
Notes
-rw-r--r-- | multimedia/libva-utils/Makefile | 9 | ||||
-rw-r--r-- | multimedia/libva-utils/files/patch-Makefile.am | 15 | ||||
-rw-r--r-- | multimedia/libva-utils/pkg-plist | 4 |
3 files changed, 23 insertions, 5 deletions
diff --git a/multimedia/libva-utils/Makefile b/multimedia/libva-utils/Makefile index 28970528308f..d9d19c978114 100644 --- a/multimedia/libva-utils/Makefile +++ b/multimedia/libva-utils/Makefile @@ -14,15 +14,15 @@ LIB_DEPENDS= libva.so:multimedia/libva \ libdrm.so:graphics/libdrm USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig tar:bzip2 -USE_XORG= x11 xext xfixes + GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= intel -OPTIONS_DEFINE= DEBUG WAYLAND -OPTIONS_DEFAULT=WAYLAND +OPTIONS_DEFINE= DEBUG WAYLAND X11 +OPTIONS_DEFAULT=WAYLAND X11 WAYLAND_DESC= Support wayland protocol OPTIONS_SUB= yes @@ -32,4 +32,7 @@ DEBUG_CFLAGS_OFF= -DNDEBUG WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland +X11_CONFIGURE_ENABLE= x11 +X11_USE= XORG=x11,xext,xfixes + .include <bsd.port.mk> diff --git a/multimedia/libva-utils/files/patch-Makefile.am b/multimedia/libva-utils/files/patch-Makefile.am new file mode 100644 index 000000000000..62ae428f4ba8 --- /dev/null +++ b/multimedia/libva-utils/files/patch-Makefile.am @@ -0,0 +1,15 @@ +--- Makefile.am.orig 2019-02-01 23:11:33 UTC ++++ Makefile.am +@@ -24,10 +24,10 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + + AUTOMAKE_OPTIONS = foreign + +-SUBDIRS = common decode encode vainfo videoprocess vendor/intel vendor/intel/sfcsample ++SUBDIRS = common decode encode vainfo videoprocess vendor/intel + + if USE_X11 +-SUBDIRS += putsurface ++SUBDIRS += putsurface vendor/intel/sfcsample + else + if USE_WAYLAND + SUBDIRS += putsurface diff --git a/multimedia/libva-utils/pkg-plist b/multimedia/libva-utils/pkg-plist index b5b716341521..1bada8e7b792 100644 --- a/multimedia/libva-utils/pkg-plist +++ b/multimedia/libva-utils/pkg-plist @@ -6,9 +6,9 @@ bin/jpegenc bin/loadjpeg bin/mpeg2vaenc bin/mpeg2vldemo -bin/putsurface +%%X11%%bin/putsurface %%WAYLAND%%bin/putsurface_wayland -bin/sfcsample +%%X11%%bin/sfcsample bin/vainfo bin/vavpp bin/vp8enc |