Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 07BE6782C15 for <~alpine/aports@lists.alpinelinux.org>; Fri, 23 Jul 2021 19:23:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ECB1F4C0B; Fri, 23 Jul 2021 21:23:53 +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 ALIY_VJVb4tF; Fri, 23 Jul 2021 21:23:52 +0200 (CEST) From: Alexey Yerin DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1627068232; bh=u3jWNqrgcG/MSgJi1/hO7DiIJMV6Xoz0E5B4zMWeZ84=; h=From:To:Cc:Subject:Date; b=JymLo71+/0jKfwCCgQLjiHlGFJUCyoiN9MvFu4enLBhLs1YQQs3k/Ycu5EvVGiY+p 61Wiv67YMBgNdX9y1wMwsUjWKsjWQjW0JHWrjgVkE8cUHxQ1caHzz6RC38VtPB2/8W jEqOsJFiVIWE63iIlQkvTacSOkPIVCrJwHN0qKlVCWk8yuFHVhF3YLFzBPHlvoZeL7 YtkayMvJ3YhZGhSbqBoG5A8Vo5LyG71zl5Eu6SIi69vcvJrxaAesqIDYQPu7DY63tT ZBMTC95tqXEH0qKJ8tbtMgmVqz5mEBtBVy6eZfefp6uNujnXyq2zVLGRX2G9O6IGsy Pn9Bx4v2PZpJA== To: ~alpine/aports@lists.alpinelinux.org Cc: Alexey Yerin Subject: [PATCH v2] testing/opustags: new aport Date: Fri, 23 Jul 2021 22:23:48 +0300 Message-Id: <20210723192348.2161-1-yyp@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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 +# 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" +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