summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d621b839fc414b7db9433355cefc1e7e438af6a4 (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
# Maintainer: Dan Johansen <strit@strits.dk>
# Contributor: Shaber

pkgname=coretoppings
pkgver=4.5.0
pkgrel=1
pkgdesc="Additional features,plugins etc for CuboCore Application Suite."
arch=('x86_64' 'aarch64')
url="https://gitlab.com/cubocore/coreapps/$pkgname"
license=('GPL3')
depends=('qt5-base' 'qt5-location' 'qt5-x11extras' 'qt5-connectivity' 'libpulse' 'libxcomposite' 'libcprime' 'libdbusmenu-qt5')
makedepends=('cmake' 'ninja')
optdepends=('ffmpeg: For media'
            'v4l-utils: For media'
            'grim: For screencapture on wayland'
            'wf-recorder: For recording on wayland'
            'playerctl: For media controls'
            'xorg-xrandr: For rotation'
            'iio-sensor-proxy: For rotation'
            'inotify-tools: For rotation'
            'bluez-utils: For bluetooth  networking'
            'networkmanager: For Wifi and Hotspot'
            'connman: Another option for Wifi and Hostspot'
            'redshift: Qwikaccess - Nightmode'
            'xorg-xinput: Qwikaccess - Diasbling touchpad, toudhscreen etc'
            'polkit: Qwickaccess - To elevate user rights'
            'libnotify: Qwikaccess - Notifications'
            'xdg-utils: Lockscreen')
groups=('coreapps')
source=("https://gitlab.com/cubocore/coreapps/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
md5sums=('0fbd71962a30cfe51903520aa91bc886')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../${pkgname}-v${pkgver} \
    -GNinja \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib
  ninja
}

package() {
  cd build
  DESTDIR="${pkgdir}" ninja install
}