blob: 8f5fc00a19cef2d8b1ff6a5069a0cf53e085f80b (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gkrellm-plugin multilib toolchain-funcs
MY_P=${P/gkrellm-/}
DESCRIPTION="Superslim VAIO LCD Brightness Control Plugin for Gkrellm"
SRC_URI="http://nerv-un.net/~dragorn/code/${MY_P}.tar.gz"
HOMEPAGE="http://nerv-un.net/~dragorn/"
S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 x86"
RDEPEND="app-admin/gkrellm:2[X]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-textrel.patch
"${FILESDIR}"/${P}-fixinfo.patch
"${FILESDIR}"/${P}-Fix-Wreturn-type.patch
"${FILESDIR}"/${P}-Use-standard-int-types.patch
)
src_configure() {
tc-export CC PKG_CONFIG
PLUGIN_SO=( vaiobright$(get_modname) )
default
}
|