summaryrefslogtreecommitdiff
blob: b4c7fd8c179be404fbb0c160a00889051ebd8384 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnsfb/libnsfb-0.1.0.ebuild,v 1.3 2014/06/17 17:37:59 mgorny Exp $

EAPI=5

inherit netsurf

DESCRIPTION="framebuffer abstraction library, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsfb/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm"
IUSE="sdl test vnc wayland xcb"

RDEPEND="sdl? ( media-libs/libsdl[static-libs?,${MULTILIB_USEDEP}] )
	vnc? ( net-libs/libvncserver[static-libs?,${MULTILIB_USEDEP}] )
	wayland? ( dev-libs/wayland[static-libs?,${MULTILIB_USEDEP}] )
	xcb? ( x11-libs/libxcb[static-libs?,${MULTILIB_USEDEP}]
		x11-libs/xcb-util[static-libs?,${MULTILIB_USEDEP}]
		x11-libs/xcb-util-image[static-libs?,${MULTILIB_USEDEP}]
		x11-libs/xcb-util-keysyms[static-libs?,${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}"/${PN}-0.1.0-autodetect.patch )
DOCS=( usage )