blob: 7432d231f582a2e3f7a84554d2441ef215462518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=x86
pkgname=android-${_android_arch}-libudfread
pkgver=1.2.0
pkgrel=1
arch=('any')
pkgdesc="UDF reader. (Android ${_android_arch})"
url='https://code.videolan.org/videolan/libudfread'
license=('LGPL2.1')
groups=('android-libudfread')
depends=("android-ndk")
makedepends=('android-meson'
'ninja')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://code.videolan.org/videolan/libudfread/-/archive/${pkgver}/libudfread-${pkgver}.tar.bz2")
md5sums=('a0636a576209d47ada44960c922cfa5d')
build() {
cd "${srcdir}/libudfread-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-meson build
ninja -C build all
}
package() {
cd "${srcdir}/libudfread-${pkgver}"
source android-env ${_android_arch}
DESTDIR="${pkgdir}" ninja -C build install
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a || true
install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|