aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-04 05:29:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-04 08:51:09 +0000
commit99525bad46c762020c92a612f453ba173d43d66b (patch)
tree95cfddba489a94aeb80d7ff7a6c73d1c4ebda055
parent764ced64c1f6109e9b76895941a38b05250ce996 (diff)
downloadaports-99525bad46c762020c92a612f453ba173d43d66b.tar.gz
aports-99525bad46c762020c92a612f453ba173d43d66b.tar.bz2
aports-99525bad46c762020c92a612f453ba173d43d66b.tar.xz
testing/xva-img: upgrade to 1.4.1
-rw-r--r--testing/xva-img/APKBUILD45
1 files changed, 14 insertions, 31 deletions
diff --git a/testing/xva-img/APKBUILD b/testing/xva-img/APKBUILD
index e836c8fa09..1e7d7d617e 100644
--- a/testing/xva-img/APKBUILD
+++ b/testing/xva-img/APKBUILD
@@ -1,42 +1,25 @@
-# Contributor:
-# Maintainer:
+# Contributor:
+# Maintainer:
pkgname=xva-img
-pkgver=1.4
-pkgrel=3
+pkgver=1.4.1
+pkgrel=0
pkgdesc="tool for converting XVA images"
url="https://github.com/eriklax/xva-img"
arch="all"
-license="GPL"
-depends=""
-depends_dev="openssl-dev"
-makedepends="$depends_dev cmake"
-install=""
-subpackages=""
-source="xva-img-${pkgver}.tar.gz::https://github.com/eriklax/xva-img/archive/${pkgver}.tar.gz"
-
-_srcroot="${srcdir}/${pkgname}-${pkgver}"
-_builddir="${srcdir}/build"
-prepare() {
- local i
- mkdir "$_builddir"
- cd "$_srcroot"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+license="GPL-2.0-or-later"
+makedepends="openssl-dev cmake"
+source="xva-img-$pkgver.tar.gz::https://github.com/eriklax/xva-img/archive/$pkgver.tar.gz"
build() {
- cd "$_builddir"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DPREFIX=/usr "$_srcroot"
- make || return 1
+ cmake -B build . \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPREFIX=/usr
+ make -C build
}
package() {
- cd "$_builddir"
- install -d -m755 "$pkgdir"/usr/bin
- install -c -m755 "$_builddir"/xva-img "$pkgdir"/usr/bin/xva-img
+ make -C build DESTDIR="$pkgdir" install
}
-sha512sums="b6e619ae52beaa7bd8fecfc46e8c6d3420ef61667643566f4cc4e610953eb7214ba9e08d00c9e8b96aee21dd8cc3c72b4df2e3fff7ac39b74a26e5fed25f01bc xva-img-1.4.tar.gz"
+sha512sums="4f296f4e6dd923de16894b20a691b64048aecba529785bd7b17918ea9ece0b12a8534c4ef293822beb2135a90eaa290025da8ca162807f5958527444d5349870 xva-img-1.4.1.tar.gz"