Skip to content

Commit

Permalink
feat(libopensles-standalone-git)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiota committed Dec 12, 2024
1 parent 9839cce commit a8b9cef
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 0 deletions.
1 change: 1 addition & 0 deletions libopensles-standalone-git/.CI/config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CI_PKGBUILD_SOURCE=aur
2 changes: 2 additions & 0 deletions libopensles-standalone-git/.CI/info
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
21 changes: 21 additions & 0 deletions libopensles-standalone-git/.SRCINFO
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
2 changes: 2 additions & 0 deletions libopensles-standalone-git/.nvchecker.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[libopensles-standalone-git]
source = "manual"
46 changes: 46 additions & 0 deletions libopensles-standalone-git/PKGBUILD
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}"
}

0 comments on commit a8b9cef

Please sign in to comment.