summaryrefslogtreecommitdiff
path: root/package/midori/Makefile
blob: 8f1835e13b3065b931874f2027fcfc7134fd03f5 (plain)
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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		midori
PKG_VERSION:=		0.5.11
PKG_RELEASE:=		1
PKG_HASH:=		3b8f3a0fe8283fcbb0f9c88b2165e2689d3e18f7c1b5d275fff97cf20e7be198
PKG_DESCR:=		graphical web browser
PKG_SECTION:=		x11/apps
PKG_DEPENDS:=		libnotify webkitgtk gcr
PKG_BUILDDEP:=		cmake-host vala-host libnotify webkitgtk gcr
PKG_BUILDDEP+=		librsvg-host librsvg
PKG_URL:=		http://www.midori-browser.org
PKG_SITES:=		http://distfiles.openadk.org/

WRKBUILD=               ${WRKDIR}/${PKG_NAME}-obj

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,MIDORI,midori,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=          cmake
CMAKE_FLAGS+=		-DUSE_GTK3=ON \
			-DHALF_BRO_INCOM_WEBKIT2=ON \
			-DENABLE_NLS=OFF \
			-DUSE_ZEITGEIST=OFF

midori-install:
	$(INSTALL_DIR) $(IDIR_MIDORI)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/midori \
		$(IDIR_MIDORI)/usr/bin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk