Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6EF42781D79 for <~alpine/aports@lists.alpinelinux.org>; Sun, 25 Jul 2021 18:20:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6146F4F90; Sun, 25 Jul 2021 20:13:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GIhahBqrxTh9; Sun, 25 Jul 2021 20:13:08 +0200 (CEST) From: Alexey Yerin DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1627236788; bh=IgUm1Er3pkSXcg7npaE4YYGvqt23DDEKPKGCbKs2hD4=; h=From:To:Cc:Subject:Date; b=hFEQ0JOz96laXCyP4hu8JAJ9FaFG/8Xh2G22UegxsXiypc7MCljgKn/Q2tbeFKfPm v97v8pu8JpTvRMoSnF/Ofa8RT6I+9CODeJli0KXRJRG2NE/2lvIi7xtWfyMWezeAYg xZzdDgZ1IDl9qjKDgnL09urpa8cDP0xZh4JxDrhQZ+YTboEvR1sgf5xIG/r+id8nFC WPJnudwhCbC8M9cw/Yx5oduKscny8NlKgC8rNvEPMppK8s7zHRKVpu1louGhdAqd1S +SczOhoIDUZbituSzIsKGKxGHEb70KJIa+bhsRgu1WTZR+y8dZD7qaUdk1Qdb3sVnB ScF3XF7JoZCyA== To: ~alpine/aports@lists.alpinelinux.org Cc: Alexey Yerin Subject: [PATCH v3] testing/opustags: new aport Date: Sun, 25 Jul 2021 21:13:05 +0300 Message-Id: <20210725181305.5330-1-yyp@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/fmang/opustags Opus tags editor --- v2 -> v3: * Remove empty depends testing/opustags/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/opustags/APKBUILD diff --git a/testing/opustags/APKBUILD b/testing/opustags/APKBUILD new file mode 100644 index 0000000000..27443a11fb --- /dev/null +++ b/testing/opustags/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Alexey Yerin +# Maintainer: Alexey Yerin +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" +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