diff options
author | Hanabishi | 2024-04-01 12:25:05 +0000 |
---|---|---|
committer | Hanabishi | 2024-04-01 12:25:05 +0000 |
commit | 4148006fc56a93a17eafdaf2c56f1c311dbf3fab (patch) | |
tree | e9cd8ecb2064ac95d7f7315adb3396fb9a9eafe8 | |
download | aur-4148006fc56a93a17eafdaf2c56f1c311dbf3fab.tar.gz |
Init package
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c13ec7589de3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = phonon-qt6-mpv + pkgdesc = Phonon MPV backend for Qt6 + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/OpenProgger/phonon-mpv + arch = x86_64 + license = LGPL-2.1-only + makedepends = extra-cmake-modules + depends = mpv + depends = phonon-qt6 + provides = phonon-qt6-backend + source = phonon-mpv-0.1.0.tar.gz::https://github.com/OpenProgger/phonon-mpv/archive/v0.1.0.tar.gz + sha256sums = 8cba7d803c23267bf7431bf79c4a65a03c767c01026a0cced18985bfa418a076 + +pkgname = phonon-qt6-mpv diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7334925ab911 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD +!*.patch diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7552b1019cb2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=phonon-qt6-mpv +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Phonon MPV backend for Qt6' +arch=('x86_64') +_repo='phonon-mpv' +url="https://github.com/OpenProgger/${_repo}" +license=('LGPL-2.1-only') +provides=('phonon-qt6-backend') + +depends=('mpv' 'phonon-qt6') +makedepends=('extra-cmake-modules') + +_snapshot="${_repo}-${pkgver}" +source=("${_snapshot}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('8cba7d803c23267bf7431bf79c4a65a03c767c01026a0cced18985bfa418a076') + +build() { + cmake -B 'build' -S "${_snapshot}" \ + -DPHONON_BUILD_QT5=OFF \ + -DPHONON_BUILD_QT6=ON + + cmake --build 'build' +} + +package() { + DESTDIR="${pkgdir}" cmake --install 'build' +} |