blob: 6bc614ec6454035aecf08e3102bc8dae58461704 (
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
|
# Contributor: Adam Plumb <adamplumb@gmail.com>
# Maintainer: Adam Plumb <adamplumb@gmail.com>
pkgname=headlines
pkgver=0.7.0
pkgrel=0
pkgdesc="GTK4 Reddit client written in C++"
url="https://gitlab.com/caveman250/Headlines"
arch="all !s390x !riscv64"
license="GPL-3.0-only"
depends="
ffmpeg
gst-plugins-bad
gst-plugins-base
gst-plugins-good
youtube-dl
"
makedepends="
boost-dev
cmake
curl-dev
gtkmm4-dev
jsoncpp-dev
libadwaita-dev
libmicrohttpd-dev
libsecret-dev
openssl-dev
samurai
websocket++
"
source="$pkgname-$pkgver-2.tar.gz::https://gitlab.com/caveman250/Headlines/-/archive/$pkgver/Headlines-$pkgver.tar.gz
32bit_fix.patch
"
builddir="$srcdir/Headlines-$pkgver"
options="!check"
build() {
cmake -B build -G Ninja \
-DDIST_BUILD=ON \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="
9bc1ab4b7f6fc9da73fda26142e47daba6f386694ad461e8006a151144b12caa56a2ddf15de8fc10456102086354b5a52b6e28fd14558f0d107b83070e94dd02 headlines-0.7.0-2.tar.gz
a78a628731d633fba9ca6e6382b3e89459d0027c2195cb31088ba726d37fcba9a1963528ee39bbdaa6d4ce61b26f236e0ac74c68c24929b9ce724aac3c590286 32bit_fix.patch
"
|