2019-08-11 11:13:56 +02:00
|
|
|
# Description: a C/C++ client library for the CMIS protocol
|
|
|
|
# URL: https://github.com/tdf/libcmis
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-04-15 10:47:23 +00:00
|
|
|
# Depends on: boost brotli cppunit gnutls keyutils libpsl libxml2 openldap rtmpdump
|
2019-08-11 11:13:56 +02:00
|
|
|
|
|
|
|
name=libcmis
|
|
|
|
version=0.5.2
|
2022-12-17 15:06:18 +00:00
|
|
|
release=3
|
2022-07-17 19:32:48 +02:00
|
|
|
source=(https://github.com/tdf/libcmis/releases/download/v${version}/$name-$version.tar.gz
|
|
|
|
0001-rename-class-GetObject-to-avoid-name-clash-on-Window.patch
|
|
|
|
libcmis-libxml2_compatibility.patch
|
|
|
|
libcmis_gdrive.patch
|
|
|
|
libcmis_onedrive.patch
|
|
|
|
libcmis_oauth_pw_as_refreshtoken.patch)
|
2019-08-11 11:13:56 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2022-07-17 19:32:48 +02:00
|
|
|
|
|
|
|
# libreoffice patches
|
|
|
|
patch -Np1 -i $SRC/0001-rename-class-GetObject-to-avoid-name-clash-on-Window.patch
|
|
|
|
patch -Np1 -i $SRC/libcmis-libxml2_compatibility.patch
|
|
|
|
patch -Np1 -i $SRC/libcmis_onedrive.patch
|
|
|
|
patch -Np1 -i $SRC/libcmis_oauth_pw_as_refreshtoken.patch
|
|
|
|
patch -Np1 -i $SRC/libcmis_gdrive.patch
|
|
|
|
|
2019-08-11 11:13:56 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-werror \
|
|
|
|
--with-man=no
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|