blob: 4fe763e13c5fd0750fb83aa1e7cc788d1932d2ba (
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
|
# Maintainer: MichaĆ Walenciak <kicer86@gmail.com>
groups=('modified')
pkgname=media-downloader
pkgver=5.0.1
pkgrel=1
pkgdesc="A Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books."
arch=('x86_64')
url="https://github.com/mhogomchungu/media-downloader"
license=('GPL-2.0-only OR GPL-3.0-or-later')
depends=('qt6-base')
makedepends=('cmake')
optdepends=(
'aria2: aria2c backend'
'ffmpeg: video post-processing'
'python-lxml: required for Safari books plugin'
'python-requests: required for Safari books plugin'
'svtplay-dl: svtplay-dl plugin'
'wget: download regular large files'
)
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc})
sha256sums=('ce8a1d794be4aa9d9b491b01fd982d5f75dc0052c41cef0752e14f676e3bb98f'
'SKIP')
validpgpkeys=('6855E493B5B2DF96E319BB6D16E2E1ACC6F51242') # Francis Banyikwa (A key for signing packages) <banyikwafb@gmail.com>
build() {
cmake -B build -S "$pkgname-$pkgver" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DBUILD_WITH_QT6='ON' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|