* update libetonyek to 0.1.12-2

This commit is contained in:
Alexander Baldeck 2025-02-05 14:16:32 +01:00
parent 0f7be64374
commit 13ea370d99
2 changed files with 37 additions and 15 deletions

View File

@ -1,7 +1,7 @@
pkgbase = libetonyek
pkgdesc = Library and a set of tools for reading and converting Apple Keynote presentations
pkgver = 0.1.12
pkgrel = 1
pkgrel = 2
url = https://wiki.documentfoundation.org/DLP/Libraries/libetonyek
arch = x86_64
arch = powerpc64le
@ -11,17 +11,26 @@ pkgbase = libetonyek
license = MPL-2.0
makedepends = boost
makedepends = cppunit
makedepends = gperf
makedepends = doxygen
makedepends = gcc-libs
makedepends = glibc
makedepends = glm
makedepends = gperf
makedepends = liblangtag
makedepends = librevenge
makedepends = libxml2
makedepends = mdds
makedepends = zlib
source = https://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.12.tar.xz
sha256sums = b9fa82fbeb8cb7a701101060e4f3e1e4ef7c38f574b2859d3ecbe43604c21f83
pkgname = libetonyek
depends = libxml2
depends = zlib
depends = librevenge
depends = liblangtag
depends = gcc-libs
depends = glibc
source = https://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.12.tar.xz
sha256sums = b9fa82fbeb8cb7a701101060e4f3e1e4ef7c38f574b2859d3ecbe43604c21f83
pkgname = libetonyek
pkgname = libetonyek-doc
pkgdesc = Library and a set of tools for reading and converting Apple Keynote presentations - documentation

View File

@ -3,30 +3,43 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Yue
pkgname=libetonyek
pkgbase=libetonyek
pkgname=(libetonyek libetonyek-doc)
pkgver=0.1.12
pkgrel=1
pkgrel=2
pkgdesc='Library and a set of tools for reading and converting Apple Keynote presentations'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
license=('MPL-2.0')
depends=('libxml2' 'zlib' 'librevenge' 'liblangtag' 'gcc-libs' 'glibc')
makedepends=('boost' 'cppunit' 'gperf' 'doxygen' 'glm' 'mdds')
makedepends=(
'boost' 'cppunit' 'doxygen' 'gcc-libs' 'glibc' 'glm' 'gperf' 'liblangtag'
'librevenge' 'libxml2' 'mdds' 'zlib'
)
source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz)
sha256sums=('b9fa82fbeb8cb7a701101060e4f3e1e4ef7c38f574b2859d3ecbe43604c21f83')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --with-mdds=2.1 --build=${CHOST}
cd $pkgbase-$pkgver
./configure --prefix=/usr --with-mdds=2.1
make
}
check() {
cd $pkgname-$pkgver
cd $pkgbase-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
package_libetonyek() {
depends=('libxml2' 'zlib' 'librevenge' 'liblangtag' 'gcc-libs' 'glibc')
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install-exec install-pkgconfDATA
make -C inc/libetonyek DESTDIR="$pkgdir" install
}
package_libetonyek-doc() {
pkgdesc+=" - documentation"
cd $pkgbase-$pkgver
make -C docs/doxygen/ DESTDIR="$pkgdir" install
}