summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarliweng2022-09-15 20:57:18 +0800
committerarliweng2022-09-15 20:57:18 +0800
commit2c5b255854286f639e36468459b53275f4206f98 (patch)
tree67ca2c4d75c19d43dbef020c339c8e4bae791f51
parentbb7955f729f8092a5fcf258befc951e55ecf49b4 (diff)
downloadaur-2c5b255854286f639e36468459b53275f4206f98.tar.gz
v1.20220913
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD38
2 files changed, 53 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14720362628b..11ac40ff908f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,31 @@
pkgbase = v2mixer-bin
pkgdesc = v2mixer, the movie editor, video mixer
- pkgver = 1.20210707
+ pkgver = 1.20220913
pkgrel = 1
url = http://v2mixer.livev2.com/
arch = x86_64
+ arch = aarch64
+ arch = armv7h
+ arch = ppc64le
license = custom
+ makedepends = zip
depends = jre8-openjdk
depends = ffmpeg4.4
- source = https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-x86_64-native-1.20210707.tgz
- source = v2mixer.desktop
- sha256sums = 129c7d10a35df09db4450c701b698286328b8011699970a43090b1faa0079893
- sha256sums = 0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c
+ source_x86_64 = https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-x86_64.tgz
+ source_x86_64 = v2mixer.desktop
+ sha256sums_x86_64 = SKIP
+ sha256sums_x86_64 = 0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c
+ source_aarch64 = https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-arm64.tgz
+ source_aarch64 = v2mixer.desktop
+ sha256sums_aarch64 = SKIP
+ sha256sums_aarch64 = 0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c
+ source_armv7h = https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-arm32.tgz
+ source_armv7h = v2mixer.desktop
+ sha256sums_armv7h = SKIP
+ sha256sums_armv7h = 0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c
+ source_ppc64le = https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-ppc64le.tgz
+ source_ppc64le = v2mixer.desktop
+ sha256sums_ppc64le = SKIP
+ sha256sums_ppc64le = 0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c
pkgname = v2mixer-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8396160e84c7..0088fbbfaec3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,46 @@
# Contributor: arliweng <arliweng@outlook.com>
pkgname=v2mixer-bin
-pkgver=1.20210707
+pkgver=1.20220913
pkgrel=1
pkgdesc='v2mixer, the movie editor, video mixer'
-arch=('x86_64')
+arch=('x86_64' 'aarch64' 'armv7h' 'ppc64le')
license=('custom')
url="http://v2mixer.livev2.com/"
+makedepends=('zip')
depends=('jre8-openjdk' 'ffmpeg4.4')
-source=("https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-x86_64-native-$pkgver.tgz"
- v2mixer.desktop)
-sha256sums=('129c7d10a35df09db4450c701b698286328b8011699970a43090b1faa0079893'
- '0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c')
+
+source_x86_64=("https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-x86_64.tgz"
+ 'v2mixer.desktop')
+sha256sums_x86_64=('SKIP'
+ '0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c')
+
+source_aarch64=("https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-arm64.tgz"
+ 'v2mixer.desktop')
+sha256sums_aarch64=('SKIP'
+ '0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c')
+
+source_armv7h=("https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-arm32.tgz"
+ 'v2mixer.desktop')
+sha256sums_armv7h=('SKIP'
+ '0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c')
+
+source_ppc64le=("https://v2mixer.livev2.com/f/cms/10/v2mixer-linux-ppc64le.tgz"
+ 'v2mixer.desktop')
+sha256sums_ppc64le=('SKIP'
+ '0b4469724aa3dc23a90fab47cea181292df97573f72a6238a360ba646f9a090c')
+
+build() {
+ rm -fr v2mixer/bin/jre
+ zip -d v2mixer/bin/com.livev2.v2mixer_lib/ffmpeg-linux-*.jar \
+ /org/bytedeco/ffmpeg/*/libav* \
+ /org/bytedeco/ffmpeg/*/libsw*
+}
package() {
mkdir -p ${pkgdir}/usr/share/livev2.com
cp -rL v2mixer ${pkgdir}/usr/share/livev2.com
+ mkdir -p ${pkgdir}/usr/bin
+ ln -sr ${pkgdir}/usr/share/livev2.com/v2mixer/v2mixer.sh ${pkgdir}/usr/bin/
install -D -m644 v2mixer.desktop ${pkgdir}/usr/share/applications/v2mixer.desktop
}