-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CI_PKGBUILD_SOURCE=aur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
REQ_ORIGIN=github/3398 | ||
REQ_REASON=depends # android_translation_layer-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pkgbase = libopensles-standalone-git | ||
pkgdesc = A lightly patched version of Google's libOpenSLES implementation | ||
pkgver = r280.605a83f | ||
pkgrel = 1 | ||
url = https://gitlab.com/android_translation_layer/libopensles-standalone | ||
arch = x86_64 | ||
arch = aarch64 | ||
arch = armv7h | ||
license = Apache-2.0 | ||
makedepends = git | ||
makedepends = jdk8-openjdk | ||
makedepends = meson | ||
depends = glibc | ||
depends = libsndfile | ||
depends = sdl2 | ||
provides = libopensles-standalone | ||
conflicts = libopensles-standalone | ||
source = git+https://gitlab.com/android_translation_layer/libopensles-standalone.git | ||
sha256sums = SKIP | ||
|
||
pkgname = libopensles-standalone-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[libopensles-standalone-git] | ||
source = "manual" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Maintainer: txtsd <[email protected]> | ||
|
||
pkgname=libopensles-standalone-git | ||
_pkgname="${pkgname%-git}" | ||
pkgver=r280.605a83f | ||
pkgrel=1 | ||
pkgdesc="A lightly patched version of Google's libOpenSLES implementation" | ||
url='https://gitlab.com/android_translation_layer/libopensles-standalone' | ||
arch=(x86_64 aarch64 armv7h) | ||
license=('Apache-2.0') | ||
depends=( | ||
glibc | ||
libsndfile | ||
sdl2 | ||
) | ||
makedepends=( | ||
git | ||
jdk8-openjdk | ||
meson | ||
) | ||
provides=("${_pkgname}") | ||
conflicts=("${_pkgname}") | ||
source=("git+${url}.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd ${_pkgname} | ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
} | ||
|
||
prepare() { | ||
meson subprojects download --sourcedir="${_pkgname}" | ||
} | ||
|
||
build() { | ||
arch-meson "${_pkgname}" build | ||
meson compile -C build | ||
} | ||
|
||
check() { | ||
meson test --no-rebuild --print-errorlogs -C build | ||
} | ||
|
||
package() { | ||
meson install --no-rebuild -C build --destdir "${pkgdir}" | ||
} |