summaryrefslogtreecommitdiff
blob: 53c9511c8cc67999375c199cff58e5a0484a7663 (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-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit flag-o-matic

DESCRIPTION="tool that allows you to tune SiS drivers from X"
HOMEPAGE="http://www.winischhofer.net/linuxsispart1.shtml#sisctrl"
SRC_URI="http://www.winischhofer.net/sis/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-libs/glib:2
	x11-libs/gtk+:2
	x11-libs/libXrender
	x11-libs/libXv
	x11-libs/libXxf86vm
"
DEPEND="
	${RDEPEND}
	virtual/pkgconfig
	x11-base/xorg-proto
"
DOCS="AUTHORS ChangeLog NEWS README"
PATCHES=(
	"${FILESDIR}"/${P}-no-xv.patch
)

src_configure() {
	append-libs -lm
	econf \
		--with-xv-path="${EROOT}/usr/$(get_libdir)"
}