blob: b900dbff697c252c557977ab8529e7cc81c184fa (
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
|
# Maintainer: Babets <fbabetz+aur [.at.] yahoo (.dot.) it>
pkgname=me-tv
pkgver=3.1.0
pkgrel=1
pkgdesc="DVB viewer based on GTK+3 and GStreamer"
arch=('x86_64')
url="https://github.com/Me-TV/Me-TV"
license=('GPL3')
depends=('gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-ugly' 'gst-libav' 'gst-plugin-gtk')
makedepends=('rust' 'meson')
conflicts=("me-tv-git" "me-tv-bzr")
install='me-tv.install'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Me-TV/Me-TV/archive/v$pkgver.tar.gz")
md5sums=('8a38034203f517c04dbe6360b0365581')
prepare() {
cp -pr "Me-TV-$pkgver" "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
mkdir Build
cd Build
meson --prefix /usr ..
# cargo build --release --locked --all-features
ninja
}
check() {
cd "$pkgname-$pkgver"
cargo test --release --locked
# ninja -C build check
}
package() {
cd "$pkgname-$pkgver"
# install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
# install -Dm 755 target/release/${pkgname}-record -t "${pkgdir}/usr/bin"
# install -Dm 755 target/release/${pkgname}-schedule -t "${pkgdir}/usr/bin"
DESTDIR="$pkgdir" ninja -C Build install
}
|