blob: 92209870ef33e120f6829efc897de3f4020d0415 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Maintainer: Mahdi Sarikhani <mahdisarikhani@outlook.com>
# Contributor: Mattia Borda <mattiagiovanni.borda@icloud.com>
pkgbase=parabolic
pkgname=(parabolic-gtk parabolic-qt)
pkgver=2025.1.4
pkgrel=1
pkgdesc="Download web video and audio"
arch=('x86_64')
url="https://github.com/NickvisionApps/Parabolic"
license=('MIT')
depends=('aria2'
'bash'
'boost-libs'
'curl'
'ffmpeg'
'gcc-libs'
'glib2'
'glibc'
'hicolor-icon-theme'
'libsecret'
'openssl'
'yt-dlp')
makedepends=('blueprint-compiler'
'boost'
'cmake'
'gtk4'
'libadwaita'
'libnick'
'libxml++-5.0'
'qt6-base'
'qt6-svg'
'yelp-tools')
provides=('tube-converter')
conflicts=('tube-converter')
replaces=('tube-converter')
source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('df60e25d76e7df7db74a98c66fec3bf5bca1ce2cfd205e7cc537128e77928ab8')
build() {
cmake -B build-gtk -S "${pkgbase^}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUI_PLATFORM=gnome \
-Wno-dev
cmake --build build-gtk
cmake -B build-qt -S "${pkgbase^}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUI_PLATFORM=qt \
-Wno-dev
cmake --build build-qt
}
package_parabolic-gtk() {
depends+=('gtk4' 'libadwaita' 'libxml++-5.0')
DESTDIR="${pkgdir}" cmake --install build-gtk
install -Dm644 "${pkgbase^}-${pkgver}/COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
package_parabolic-qt() {
depends+=('qt6-base')
DESTDIR="${pkgdir}" cmake --install build-qt
install -Dm644 "${pkgbase^}-${pkgver}/COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|