aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2021-07-23 22:23:48 +0300
committerdispatch <dispatch@listserv.local>2021-07-23 19:23:59 +0000
commit84f8febf1909867844bca2af0c440472773f0e1d (patch)
tree4f4dd1f5915516d70fcf06c64a6e8ba85848b992
parent72ae937d021ecc1f1d034c375f51a0845f6450cd (diff)
downloadaports-patches/3559.tar.gz
aports-patches/3559.tar.bz2
aports-patches/3559.tar.xz
testing/opustags: new aportpatches/3559
https://github.com/fmang/opustags Opus tags editor
-rw-r--r--testing/opustags/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/opustags/APKBUILD b/testing/opustags/APKBUILD
new file mode 100644
index 0000000000..f99aa7a0a4
--- /dev/null
+++ b/testing/opustags/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Alexey Yerin <yyp@disroot.org>
+# Maintainer: Alexey Yerin <yyp@disroot.org>
+pkgname=opustags
+pkgver=1.6.0
+pkgrel=0
+pkgdesc="Ogg Opus tags editor"
+url="https://github.com/fmang/opustags"
+arch="all"
+license="BSD-3-Clause"
+depends=""
+makedepends="cmake libogg-dev"
+subpackages="$pkgname-doc"
+source="
+ $pkgname-$pkgver.tar.gz::https://github.com/fmang/opustags/archive/refs/tags/$pkgver.tar.gz
+"
+options="!check" # Contains no tests
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ $CMAKE_CROSSOPTS .
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+aec5b28d533291ba3b85e4a42a4b5f95a8071214d8a4142cfcc8acd81495ef0abab21b0a52baf702b4d1525e60425b7925dd68ba23fa2d1644c06e6da87e0e0c opustags-1.6.0.tar.gz
+"