summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD55
2 files changed, 61 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd739e2a3dc3..69d208542f31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,32 +1,35 @@
pkgbase = quickmedia-git
- pkgdesc = A dmenu-inspired native client for web services. Supports youtube, nyaa.si, 4chan, matrix and several manga sites.
- pkgver = r487.b9404b2
+ pkgdesc = A rofi inspired native client for web services. Supports youtube, peertube, lbry, soundcloud, nyaa.si, 4chan, matrix, saucenao, hotexamples, anilist, dramacool and several manga sites.
+ pkgver = r1425.db8f15f
pkgrel = 1
url = https://git.dec05eba.com/QuickMedia
arch = x86_64
license = GPL3
- makedepends = sibs
- depends = sfml
+ makedepends = sibs-git
+ depends = libglvnd
depends = libx11
- depends = jsoncpp
- depends = cppcodec
- depends = tidy
depends = curl
depends = mpv
- depends = libglvnd
depends = libxrandr
depends = noto-fonts
- depends = noto-fonts-cjk
optdepends = libnotify: For showing notifications
optdepends = automedia: For automatically downloading new chapters of tracked manga
optdepends = waifu2x-ncnn-vulkan: For upscaling manga pages when using the --upscale-images option
optdepends = xdg-utils: For downloading torrents when using nyaa.si plugin or opening remote links
- optdepends = ffmpeg: For sending video metadata and thumbnail with /upload in matrix
- optdepends = youtube-dl: To play youtube videos
- provides = QuickMedia
- conflicts = QuickMedia
- source = quickmedia-git-r487.b9404b2.tar.gz::https://dec05eba.com/snapshot/QuickMedia.git.tar.gz
- sha512sums = be6753e28f0c355cca0449abf05d65f033603636ea714e1e99abfa1e146c9028d479d7bd31fdfa4f86b88c763b9cb40e13271684308a7acbc7c1c5c746ae5756
+ optdepends = ffmpeg: For displaying webp thumbnails, uploading video thumbnails on matrix and merging video and audio when downloading youtube videos
+ optdepends = noto-fonts-cjk: To display chinese, japanese and korean characters
+ optdepends = source-highlight: For syntax highlighting in matrix codeblocks
+ optdepends = yt-dlp: To download soundcloud music
+ provides = quickmedia
+ provides = qm
+ provides = quickmedia-video-player
+ conflicts = quickmedia
+ conflicts = qm
+ conflicts = quickmedia-video-player
+ noextract = twemoji-2.tar.gz
+ source = quickmedia-git-r1425.db8f15f.tar.gz::https://dec05eba.com/snapshot/QuickMedia.git.r1425.db8f15f.tar.gz
+ source = twemoji-2.tar.gz::https://dec05eba.com/files/twemoji.tar.gz
+ sha512sums = 8716137907281f89164ebcb661b9a346de7f757e326812a80fd2ae2e2c8a3381f83f6830ed9d691e231e392ddf300404a9778fb596a7df46171d6925d9676575
+ sha512sums = a3c7a268bd48bd79b6bfc771affd56d71ffd78ba4df8e2a9e1783162a78c1f053c408e02f4d49ca96eee6a0a19b8cfc85197ad40d497cd89934b8311dcfebe2b
pkgname = quickmedia-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 1e4c201c9e2e..b4d96dd44722 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,69 @@
# Maintainer: dec05eba <dec05eba@protonmail.com>
pkgname=quickmedia-git
-pkgver=r487.b9404b2
+pkgver=r1425.db8f15f
pkgrel=1
-pkgdesc='A dmenu-inspired native client for web services. Supports youtube, nyaa.si, 4chan, matrix and several manga sites.'
+pkgdesc='A rofi inspired native client for web services. Supports youtube, peertube, lbry, soundcloud, nyaa.si, 4chan, matrix, saucenao, hotexamples, anilist, dramacool and several manga sites.'
arch=('x86_64')
url="https://git.dec05eba.com/QuickMedia"
license=('GPL3')
-makedepends=('sibs')
-depends=('sfml' 'libx11' 'jsoncpp' 'cppcodec' 'tidy' 'curl' 'mpv' 'libglvnd' 'libxrandr' 'noto-fonts' 'noto-fonts-cjk')
+makedepends=('sibs-git')
+depends=('libglvnd' 'libx11' 'curl' 'mpv' '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 sending video metadata and thumbnail with /upload in matrix'
- 'youtube-dl: To play youtube videos'
+ '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'
+ 'source-highlight: For syntax highlighting in matrix codeblocks'
+ 'yt-dlp: To download soundcloud music'
+)
+provides=('quickmedia' 'qm' 'quickmedia-video-player')
+conflicts=('quickmedia' 'qm' 'quickmedia-video-player')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/QuickMedia.git.${pkgver}.tar.gz"
+ "twemoji-2.tar.gz::https://dec05eba.com/files/twemoji.tar.gz"
+)
+noextract=("twemoji-2.tar.gz")
+sha512sums=(
+ '8716137907281f89164ebcb661b9a346de7f757e326812a80fd2ae2e2c8a3381f83f6830ed9d691e231e392ddf300404a9778fb596a7df46171d6925d9676575'
+ 'a3c7a268bd48bd79b6bfc771affd56d71ffd78ba4df8e2a9e1783162a78c1f053c408e02f4d49ca96eee6a0a19b8cfc85197ad40d497cd89934b8311dcfebe2b'
)
-provides=('QuickMedia')
-conflicts=('QuickMedia')
-source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/QuickMedia.git.tar.gz")
-sha512sums=('be6753e28f0c355cca0449abf05d65f033603636ea714e1e99abfa1e146c9028d479d7bd31fdfa4f86b88c763b9cb40e13271684308a7acbc7c1c5c746ae5756')
+
+prepare() {
+ cd "$srcdir"
+ mkdir -p emoji
+ bsdtar -xf twemoji-2.tar.gz -C emoji
+}
build() {
cd "$srcdir"
+ sibs build --release video_player
sibs build --release
}
package() {
cd "$srcdir"
- install -Dm755 "sibs-build/$(sibs platform)/release/QuickMedia" "$pkgdir/usr/bin/QuickMedia"
+
+ install -Dm755 "video_player/sibs-build/$(sibs platform)/release/quickmedia-video-player" "$pkgdir/usr/bin/quickmedia-video-player"
+ install -Dm755 "sibs-build/$(sibs platform)/release/quickmedia" "$pkgdir/usr/bin/quickmedia"
+ ln -sf "/usr/bin/quickmedia" "$pkgdir/usr/bin/qm"
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 example-config.json "$pkgdir/usr/share/quickmedia/example-config.json"
+ install -Dm644 README.md "$pkgdir/usr/share/quickmedia/README.md"
+
+ install -Dm644 mpv/fonts/Material-Design-Iconic-Font.ttf "$pkgdir/usr/share/quickmedia/mpv/fonts/Material-Design-Iconic-Font.ttf"
+ install -Dm644 mpv/scripts/mordenx.lua "$pkgdir/usr/share/quickmedia/mpv/scripts/mordenx.lua"
+ install -Dm644 mpv/scripts/ytdl_hook.lua "$pkgdir/usr/share/quickmedia/mpv/scripts/ytdl_hook.lua"
+ install -Dm644 mpv/input.conf "$pkgdir/usr/share/quickmedia/mpv/input.conf"
+ install -Dm644 mpv/mpv.conf "$pkgdir/usr/share/quickmedia/mpv/mpv.conf"
+
+ for file in images/* icons/* shaders/* themes/* emoji/*; 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"