Add Looper packages
This commit is contained in:
parent
7969680377
commit
e6522557d4
4 changed files with 82 additions and 0 deletions
35
looper-git/PKGBUILD
Normal file
35
looper-git/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
pkgname=looper-git
|
||||
pkgrel=1
|
||||
pkgdesc="An audio player that can loop audio files"
|
||||
arch=( x86_64 aarch64 )
|
||||
url="https://complecwaft.com/catmeow/looper"
|
||||
license=("GPL-3.0-or-later OR MIT")
|
||||
source=(
|
||||
'looper::git+https://complecwaft.com/catmeow/neko-player.git'
|
||||
)
|
||||
sha256sums=(
|
||||
'SKIP'
|
||||
)
|
||||
provides=('looper')
|
||||
conflicts=('looper-gpl-git')
|
||||
makedeps=( cmake )
|
||||
install=looper.install
|
||||
depends=( opus wavpack libmodplug ffmpeg fluidsynth sdl2 sdl2_image gtkmm-4.0 libportal sdbus-cpp soundtouch uriparser expat protobuf xdg-utils )
|
||||
pkgver=r280.93ba23c
|
||||
pkgver() {
|
||||
cd "looper"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
prepare() {
|
||||
cd "looper"
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
build() {
|
||||
cmake -DCMAKE_BUILD_TYPE='RelWithDebInfo' -DCMAKE_INSTALL_PREFIX='/usr' -Wno-dev -B build -S looper -DMIXERX_ENABLE_LGPL=ON -DMIXERX_ENABLE_GPL=OFF -DDOWNLOAD_AUDIO_CODECS_DEPENDENCY=OFF ..
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
6
looper-git/looper.install
Normal file
6
looper-git/looper.install
Normal file
|
@ -0,0 +1,6 @@
|
|||
post_install() {
|
||||
xdg-mime install /usr/share/mime/audio/x-zsound.xml
|
||||
}
|
||||
pre_remove() {
|
||||
xdg-mime uninstall /usr/share/mime/audio/x-zsound.xml
|
||||
}
|
35
looper-gpl-git/PKGBUILD
Normal file
35
looper-gpl-git/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
pkgname=looper-gpl-git
|
||||
pkgrel=1
|
||||
pkgdesc="An audio player that can loop audio files"
|
||||
arch=( x86_64 aarch64 )
|
||||
url="https://complecwaft.com/catmeow/looper"
|
||||
license=("GPL-3.0-or-later OR MIT")
|
||||
source=(
|
||||
'looper::git+https://complecwaft.com/catmeow/neko-player.git'
|
||||
)
|
||||
sha256sums=(
|
||||
'SKIP'
|
||||
)
|
||||
provides=('looper')
|
||||
conflicts=('looper-git')
|
||||
makedeps=( cmake )
|
||||
depends=( opus wavpack libmodplug ffmpeg fluidsynth sdl2 sdl2_image gtkmm-4.0 libportal sdbus-cpp soundtouch uriparser expat protobuf xdg-utils )
|
||||
pkgver=r280.93ba23c
|
||||
install=looper.install
|
||||
pkgver() {
|
||||
cd "looper"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
prepare() {
|
||||
cd "looper"
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
build() {
|
||||
cmake -DCMAKE_BUILD_TYPE='RelWithDebInfo' -DCMAKE_INSTALL_PREFIX='/usr' -Wno-dev -B build -S looper -DMIXERX_ENABLE_LGPL=ON -DMIXERX_ENABLE_GPL=ON -DDOWNLOAD_AUDIO_CODECS_DEPENDENCY=OFF ..
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
6
looper-gpl-git/looper.install
Normal file
6
looper-gpl-git/looper.install
Normal file
|
@ -0,0 +1,6 @@
|
|||
post_install() {
|
||||
xdg-mime install /usr/share/mime/audio/x-zsound.xml
|
||||
}
|
||||
pre_remove() {
|
||||
xdg-mime uninstall /usr/share/mime/audio/x-zsound.xml
|
||||
}
|
Loading…
Reference in a new issue