38 lines
944 B
Plaintext
38 lines
944 B
Plaintext
# Description: a library that parses the file format of Apple iWork documents
|
|
# URL: https://wiki.documentfoundation.org/DLP/Libraries/libetonyek
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: glm liblangtag librevenge mdds
|
|
|
|
name=libetonyek
|
|
version=0.1.10
|
|
release=4
|
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
|
|
0001-allow-0-size-message.patch.1
|
|
libetonyek-bundled-soname.patch.0
|
|
rpath.patch
|
|
ubsan.patch
|
|
warnings.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i $SRC/0001-allow-0-size-message.patch.1
|
|
patch -Np0 -i $SRC/libetonyek-bundled-soname.patch.0
|
|
patch -Np0 -i $SRC/rpath.patch
|
|
patch -Np0 -i $SRC/ubsan.patch
|
|
patch -Np0 -i $SRC/warnings.patch
|
|
|
|
autoreconf -fvi
|
|
|
|
./configure --prefix=/usr \
|
|
--with-pic \
|
|
--with-mdds=2.1 \
|
|
--disable-static \
|
|
--disable-werror \
|
|
--without-docs
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
find $PKG -iname '*.la' -delete
|
|
}
|