blob: 90d75b29c292f2743b539fa850f411d5364f7b8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: dec05eba <dec05eba@protonmail.com>
pkgname=quickmedia-git
pkgver=r889.a76dabb
pkgrel=1
pkgdesc='A dmenu-inspired native client for web services. Supports youtube, soundcloud, nyaa.si, 4chan, matrix, saucenao, hotexamples and several manga sites.'
arch=('x86_64')
url="https://git.dec05eba.com/QuickMedia"
license=('GPL3')
makedepends=('sibs')
depends=('sfml' 'libx11' 'jsoncpp' 'curl' 'mpv' 'libglvnd' 'libxrandr' 'noto-fonts')
optdepends=(
'libnotify: For showing notifications'
'automedia: For automatically downloading new chapters of tracked manga'
'waifu2x-ncnn-vulkan: For upscaling manga pages when using the --upscale-images option'
'xdg-utils: For downloading torrents when using nyaa.si plugin or opening remote links'
'ffmpeg: For displaying webp thumbnails, uploading video thumbnails on matrix and merging video and audio when downloading youtube videos'
'noto-fonts-cjk: To display chinese, japanese and korean characters'
)
provides=('quickmedia')
conflicts=('quickmedia')
source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/QuickMedia.git.r889.a76dabb.tar.gz")
sha512sums=('ca31b9117962e4d35372cd555261548a0d7b5264bbb5e63d1ffa0eae22efcbe55638a0472be46117f769c2ff51688e8c32d4b67d226d376d35c1e0deff1fb3bf')
build() {
cd "$srcdir"
sibs build --release
}
package() {
cd "$srcdir"
install -Dm755 "sibs-build/$(sibs platform)/release/quickmedia" "$pkgdir/usr/bin/quickmedia"
install -Dm644 boards.json "$pkgdir/usr/share/quickmedia/boards.json"
install -Dm644 input.conf "$pkgdir/usr/share/quickmedia/input.conf"
for file in images/* icons/* shaders/*; do
install -Dm644 "$file" "$pkgdir/usr/share/quickmedia/$file"
done
for file in launcher/*; do
filename=$(basename "$file")
install -Dm644 "$file" "$pkgdir/usr/share/applications/$filename"
done
}
|