clxclient: remove build flags fix

also update maintainer
This commit is contained in:
tibequadorian 2021-02-17 03:48:28 +01:00 committed by Érico Nogueira Rolim
parent 0ec79ea177
commit 78d879b4d6

View file

@ -8,7 +8,7 @@ make_install_args="LIBDIR=/usr/lib"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libX11-devel libXft-devel clthreads-devel freetype-devel" makedepends="libX11-devel libXft-devel clthreads-devel freetype-devel"
short_desc="C++ wrapper library around the X Window System API" short_desc="C++ wrapper library around the X Window System API"
maintainer="bluntphenomena <gregwyd@gmail.com>" maintainer="tibequadorian <tibequadorian@posteo.de>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="https://kokkinizita.linuxaudio.org/linuxaudio/" homepage="https://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2" distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
@ -17,7 +17,6 @@ checksum=8501e964f0e0746abc5083a0b75fe3b937281cc4a9f7d1450ff98e86bc337881
CXXFLAGS="-fPIC" CXXFLAGS="-fPIC"
pre_build() { pre_build() {
sed -i '/march=native/d' Makefile
# fix wrong header import # fix wrong header import
vsed -i 's/<clxclient.h>/"clxclient.h"/' enumip.cc vsed -i 's/<clxclient.h>/"clxclient.h"/' enumip.cc
# change pkgconf to pkg-config # change pkgconf to pkg-config