You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit multilib toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="C++ wrapper library around the X Window System API"
|
|
|
|
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
|
|
|
|
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/clxclient-${PV}.tar.bz2"
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 ~ppc ~sparc x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
CDEPEND="
|
|
|
|
dev-libs/libclthreads
|
|
|
|
media-libs/freetype:2
|
|
|
|
x11-libs/libX11
|
|
|
|
x11-libs/libXft
|
|
|
|
"
|
|
|
|
RDEPEND="${CDEPEND}"
|
|
|
|
DEPEND="${CDEPEND}"
|
|
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
|
|
|
|
S="${WORKDIR}/clxclient-${PV}"
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|