New package: clxclient

This commit is contained in:
bluntphenomena 2019-04-04 01:21:08 +02:00 committed by maxice8
parent 813b7bc7ab
commit 847b3f24c9
3 changed files with 39 additions and 0 deletions

View file

@ -3429,3 +3429,4 @@ libdwarves.so.1 pahole-1.12_1
libdwarves_emit.so.1 pahole-1.12_1
libdwarves_reorganize.so.1 pahole-1.12_1
libclthreads.so.2 clthreads-2.4.2_1
libclxclient.so.3 clxclient-3.9.2_1

1
srcpkgs/clxclient-devel Symbolic link
View file

@ -0,0 +1 @@
clxclient

View file

@ -0,0 +1,37 @@
# Template file for 'clxclient'
pkgname=clxclient
version=3.9.2
revision=1
build_wrksrc=source
build_style=gnu-makefile
make_install_args="LIBDIR=/usr/lib"
hostmakedepends="pkg-config"
makedepends="libX11-devel libXft-devel clthreads-devel freetype-devel"
short_desc="C++ wrapper library around the X Window System API"
maintainer="bluntphenomena <gregwyd@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=8501e964f0e0746abc5083a0b75fe3b937281cc4a9f7d1450ff98e86bc337881
pre_build() {
sed -i '/march=native/d' Makefile
# fix wrong header import
vsed -i 's/<clxclient.h>/"clxclient.h"/' enumip.cc
# change pkgconf to pkg-config
vsed -i 's/pkgconf/pkg-config/' Makefile
}
post_install() {
# add missing symlink
ln -s libclxclient.so.${version} ${DESTDIR}/usr/lib/libclxclient.so.${version%%.*}
}
clxclient-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}