View | Details | Raw Unified | Return to bug 243658
Collapse All | Expand All

(-)Makefile (-1 / +3 lines)
Lines 14-20 Link Here
14
LIB_DEPENDS=	libobs.so:multimedia/obs-studio \
14
LIB_DEPENDS=	libobs.so:multimedia/obs-studio \
15
		libinotify.so:devel/libinotify
15
		libinotify.so:devel/libinotify
16
16
17
USES=		gmake pkgconfig qt:5
17
USES=		compiler:c++11-lang gmake pkgconfig qt:5
18
USE_QT=		core gui network webkit widgets
18
USE_QT=		core gui network webkit widgets
19
19
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
Lines 23-28 Link Here
23
MAKEFILE=	GNUmakefile
23
MAKEFILE=	GNUmakefile
24
MAKE_ARGS=	OBS_INCLUDE=${LOCALBASE}/include OBS_LIB=${LOCALBASE}/lib
24
MAKE_ARGS=	OBS_INCLUDE=${LOCALBASE}/include OBS_LIB=${LOCALBASE}/lib
25
25
26
CXXFLAGS_powerpc64=	-DNO_WARN_X86_INTRINSICS -maltivec -mvsx
27
26
post-patch:
28
post-patch:
27
	@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/GNUmakefile
29
	@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/GNUmakefile
28
30
(-)files/patch-GNUmakefile (-1 / +1 lines)
Lines 9-15 Link Here
9
 endif
9
 endif
10
 
10
 
11
-CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) $(shell pkg-config --cflags Qt5WebKitWidgets)
11
-CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) $(shell pkg-config --cflags Qt5WebKitWidgets)
12
+CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) -I%%LOCALBASE%%/include/qt5/QtWebKitWidgets
12
+CXXFLAGS += -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) -I%%LOCALBASE%%/include/qt5/QtWebKitWidgets
13
 CXX      ?= c++
13
 CXX      ?= c++
14
 RM       = /bin/rm -rf
14
 RM       = /bin/rm -rf
15
 LDFLAGS  = -L$(OBS_LIB)
15
 LDFLAGS  = -L$(OBS_LIB)

Return to bug 243658