qoauth: fix build
This commit is contained in:
parent
d456ae7e8e
commit
05b50ed636
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'qoauth'
|
# Template file for 'qoauth'
|
||||||
pkgname=qoauth
|
pkgname=qoauth
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
wrksrc="${pkgname}-${version}-src"
|
wrksrc="${pkgname}-${version}-src"
|
||||||
makedepends="qt-devel qca-devel"
|
makedepends="qt-devel qca-devel"
|
||||||
@ -11,11 +11,13 @@ license="GPL-2.1"
|
|||||||
homepage="http://github.com/ayoy/qoauth"
|
homepage="http://github.com/ayoy/qoauth"
|
||||||
distfiles="http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${version}-src.tar.bz2"
|
distfiles="http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${version}-src.tar.bz2"
|
||||||
checksum=b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
|
checksum=b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
|
||||||
CXXFLAGS+="-I/usr/include/QtCrypto"
|
|
||||||
LDFLAGS+="-lqca"
|
CXXFLAGS="-I/usr/include/QtCrypto"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's|lib64|lib|' src/src.pro
|
sed -i src/src.pro \
|
||||||
|
-e 's|lib64|lib|' \
|
||||||
|
-e '/QT -=/a LIBS += -lqca'
|
||||||
}
|
}
|
||||||
|
|
||||||
qoauth-devel_package() {
|
qoauth-devel_package() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user