summaryrefslogtreecommitdiff
path: root/sys-apps/vbetool/vbetool-1.2.2.ebuild
blob: ecd6b7b6c7c1143298076b9d17e4cde392f91c96 (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
36
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Run real-mode video BIOS code to alter hw state (i.e. reinitialize video card)"
HOMEPAGE="https://cgit.freedesktop.org/~airlied/vbetool/"
SRC_URI="https://dev.gentoo.org/~ionen/distfiles/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="selinux"

DEPEND="
	dev-libs/libx86
	sys-libs/zlib:=
	x11-libs/libpciaccess
"
RDEPEND="
	${DEPEND}
	selinux? ( sec-policy/selinux-vbetool )
"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}"/${P}-libx86.patch
)

src_prepare() {
	default

	eautoreconf
}