summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-01-14 14:23:58 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-01-14 14:23:58 +0000
commit19b56155f116aabf2f1e593a18bc4cba075ad956 (patch)
treed8f8fada0a044234d28b1966b3178214d4c9a2f3 /multimedia
parent- Update xfce4-battery-plugin to 1.1.2 (diff)
multimedia/kodi-devel: Switch to evdev-proto
- While here put CATEGORIES in the right place PR: 234930 Submitted by: jbeich
Notes
Notes: svn path=/head/; revision=490258
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kodi-devel/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/multimedia/kodi-devel/Makefile b/multimedia/kodi-devel/Makefile
index 15d747f02340..1a9fc80548aa 100644
--- a/multimedia/kodi-devel/Makefile
+++ b/multimedia/kodi-devel/Makefile
@@ -1,9 +1,9 @@
# $FreeBSD$
PORTNAME= kodi
-CATEGORIES= multimedia
DISTVERSION= 18.0rc5.2
DISTVERSIONSUFFIX= -Leia
+CATEGORIES= multimedia
PKGNAMESUFFIX?= -devel
MAINTAINER= tobik@FreeBSD.org
@@ -107,9 +107,9 @@ DBUS_CMAKE_BOOL= ENABLE_DBUS
GBM_CMAKE_ON= -DCORE_PLATFORM_NAME:STRING="gbm" \
-DGBM_RENDER_SYSTEM:STRING="gl"
-GBM_CFLAGS= -I${LOCALBASE}/include/libepoll-shim \
- -I${WRKDIR}/evdev-proto
+GBM_CFLAGS= -I${LOCALBASE}/include/libepoll-shim
GBM_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim -lpthread -lrt
+GBM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
GBM_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon
@@ -163,10 +163,10 @@ VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
VDPAU_CMAKE_BOOL= ENABLE_VDPAU
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
-WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
-WAYLAND_CFLAGS= -I${WRKDIR}/evdev-proto
WAYLAND_CMAKE_ON= -DCORE_PLATFORM_NAME:STRING="wayland" \
-DWAYLAND_RENDER_SYSTEM:STRING="gl"
+WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
+ wayland-protocols>=0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libinput.so:x11/libinput \
libwayland-client++.so:graphics/waylandpp \
libwayland-client.so:graphics/wayland \
@@ -184,15 +184,6 @@ X11_USE= XORG=x11,xext,xrandr
PORTDATA= *
.endif
-# Avoid patching evdev header locations (too much pointless churn)
-post-extract-GBM-on:
- @${MKDIR} ${WRKDIR}/evdev-proto/linux
- @${CP} /usr/include/dev/evdev/* ${WRKDIR}/evdev-proto/linux
-
-post-extract-WAYLAND-on:
- @${MKDIR} ${WRKDIR}/evdev-proto/linux
- @${CP} /usr/include/dev/evdev/* ${WRKDIR}/evdev-proto/linux
-
post-patch:
# Do not try to download dvdnav/dvdread during the build, instead
# we'll manually point the build to the system's libdvd{nav,read}.so