diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 26 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = qmplay2-git pkgdesc = QMPlay2 is a video and audio player which can play most formats and codecs - pkgver = 19.12.19 - pkgrel = 4 + pkgver = 20.05.02.r0.g0b73f2ee + pkgrel = 1 url = https://github.com/zaps166/QMPlay2 arch = i686 arch = x86_64 @@ -37,7 +37,11 @@ pkgbase = qmplay2-git optdepends = game_music_emu-kode54-git: Better chiptune support (less bugs in sound, AUR package) provides = qmplay2 conflicts = qmplay2 - source = git+https://github.com/zaps166/QMPlay2 + source = git+https://github.com/zaps166/QMPlay2.git + source = git+https://github.com/zaps166/QmVk.git + source = git+https://github.com/KhronosGroup/Vulkan-Headers.git + sha256sums = SKIP + sha256sums = SKIP sha256sums = SKIP pkgname = qmplay2-git @@ -1,8 +1,8 @@ # Maintainer: zaps166 <spaz16@wp.pl> pkgname=qmplay2-git -pkgver=19.12.19 -pkgrel=4 +pkgver=20.05.02.r0.g0b73f2ee +pkgrel=1 pkgdesc='QMPlay2 is a video and audio player which can play most formats and codecs' arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64') url='https://github.com/zaps166/QMPlay2' @@ -13,8 +13,16 @@ optdepends=('pulseaudio: PulseAudio support' conflicts=('qmplay2') provides=('qmplay2') makedepends=('ninja' 'clang' 'git' 'pkg-config' 'qt5-tools' 'cmake' 'fakeroot' 'shaderc') -source=('git+https://github.com/zaps166/QMPlay2') -sha256sums=('SKIP') +source=( + 'git+https://github.com/zaps166/QMPlay2.git' + 'git+https://github.com/zaps166/QmVk.git' + 'git+https://github.com/KhronosGroup/Vulkan-Headers.git' +) +sha256sums=( + 'SKIP' + 'SKIP' + 'SKIP' +) pkgver() { cd QMPlay2 @@ -22,13 +30,15 @@ pkgver() { } prepare() { + mkdir -p QMPlay2-build cd QMPlay2 - git submodule update --init + git submodule init + git config submodule.src/qmvk.url ../QmVk + git config submodule.src/qmplay2/vulkan/headers.url ../Vulkan-Headers + git submodule update } build() { - cd $srcdir - mkdir -p QMPlay2-build cd QMPlay2-build cmake \ -G Ninja \ @@ -39,7 +49,8 @@ build() { -DCMAKE_INSTALL_LIBDIR=lib \ -DUSE_LINK_TIME_OPTIMIZATION=OFF \ -DUSE_PCH=ON \ - -DUSE_GLSLC=ON + -DUSE_GLSLC=ON \ + -DUSE_GIT_VERSION=ON time ninja } |