~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH v2] testing/opustags: new aport

Alexey Yerin <yyp@disroot.org>
Details
Message ID
<20210723192348.2161-1-yyp@disroot.org>
DKIM signature
missing
Download raw message
Patch: +37 -0
https://github.com/fmang/opustags
Opus tags editor
---
v1 -> v2:
* Remove libogg from depends as it's inferred by abuild
* Remove builddir="$pkgname-$pkgver" as it's the default
* Set -DCMAKE_BUILD_TYPE=None

 testing/opustags/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/opustags/APKBUILD

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
"
--
2.32.0
Details
Message ID
<162716177758.6885.14344995196434737759.gitlab.23555.68b6104b0def88b21a4e00359574043345fdaf3b@listserv.local>
In-Reply-To
<20210723192348.2161-1-yyp@disroot.org> (view parent)
DKIM signature
missing
Download raw message
On Fri, 23 Jul 2021 22:23:48 +0300, Alexey Yerin wrote:
> +arch="all"
> +license="BSD-3-Clause"
> +depends=""

remove empty variable

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23555#note_170189
Reply to thread Export thread (mbox)