blob: 28bad5dcff35c7628ce89a14bb38282f2944b9ff (
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
|
# Maintainer: Mahdi Sarikhani <mahdisarikhani@outlook.com>
# Contributor: Mattia Borda <mattiagiovanni.borda@icloud.com>
pkgbase=parabolic
pkgname=(parabolic-gtk parabolic-qt)
pkgver=2024.11.1
pkgrel=1
pkgdesc="Download web video and audio"
arch=('x86_64')
url="https://github.com/NickvisionApps/Parabolic"
license=('MIT')
makedepends=('boost' 'cmake' 'gtk4' 'libadwaita' 'libnick' 'libsecret' 'libxml++-5.0' 'qt6-base' 'qt6-svg')
provides=('tube-converter')
conflicts=('tube-converter')
replaces=('tube-converter')
source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('d334c52fb23b7e56ae369b59276c0748e95537c2ed4b7d0f229c2e63a2b34228')
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=('bash'
'boost-libs'
'curl'
'gcc-libs'
'glib2'
'glibc'
'gtk4'
'hicolor-icon-theme'
'libadwaita'
'libsecret'
'libxml++-5.0'
'openssl')
DESTDIR="${pkgdir}" cmake --install build-gtk
install -Dm644 "${pkgbase^}-${pkgver}/COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
package_parabolic-qt() {
depends=('bash'
'boost-libs'
'curl'
'gcc-libs'
'glib2'
'glibc'
'hicolor-icon-theme'
'libsecret'
'openssl'
'qt6-base')
DESTDIR="${pkgdir}" cmake --install build-qt
install -Dm644 "${pkgbase^}-${pkgver}/COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|