blob: e072d0a3ce2a3e9c6c755b007eb9da9e9ab7d51b (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="C++ wrapper library around the X Window System API"
HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/index.html"
SRC_URI="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/clxclient-${PV}.tar.bz2"
S="${WORKDIR}/clxclient-${PV}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
CDEPEND="
dev-libs/libclthreads
media-libs/freetype:2
x11-libs/libX11
x11-libs/libXft
"
RDEPEND="${CDEPEND}"
DEPEND="${CDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS )
PATCHES=(
"${FILESDIR}/${P}-Makefile.patch"
"${FILESDIR}/${P}-enumip-include-fix.patch"
)
src_compile() {
tc-export CXX
local prefix="${EPREFIX}/usr"
cd "${S}/source"
emake INCDIR="${prefix}/include" LIBDIR="${prefix}/$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
default
local prefix="${ED}/usr"
cd "${S}/source"
emake INCDIR="${prefix}/include" LIBDIR="${prefix}/$(get_libdir)" PKGCONFIG="$(tc-getPKG_CONFIG)" install
}
|