openobex: rebuild to generate new .cmake files that supports cross

This commit is contained in:
maxice8 2019-01-26 08:35:58 -02:00
parent a1f08295e9
commit b2a911d82d
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,19 +1,20 @@
# Template file for 'openobex'
pkgname=openobex
version=1.7.2
revision=1
revision=2
wrksrc="${pkgname}-${version}-Source"
build_style=cmake
hostmakedepends="pkg-config libxslt docbook-xsl"
makedepends="libusb-devel libbluetooth-devel eudev-libudev-devel"
replaces="libopenobex>=0"
short_desc="OBEX protocol implementation"
homepage="http://dev.zuckschwerdt.org/openobex/"
license="LGPL-2"
maintainer="Juan RP <xtraeme@voidlinux.org>"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}-${version}-Source.tar.gz"
license="LGPL-2"
homepage="http://dev.zuckschwerdt.org/openobex/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-Source.tar.gz"
checksum=158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc
replaces="libopenobex>=0"
pre_configure() {
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' udev/openobex.rules.in
sed -i 's|^project ( openobex \(C.*\) )|project ( openobex \1 CXX )|' CMakeLists.txt