blob: adb9d6f25a68ef7c34ef21f3cca5562bb83194a0 (
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
|
# Maintainer: tytan652 <tytan652@tytanium.xyz>
pkgname=obs-text-pthread
pkgver=2.0.5
pkgrel=1
pkgdesc="This plugin aims to show beautiful texts on OBS Studio"
arch=("x86_64" "aarch64")
url="https://obsproject.com/forum/resources/obs-pthread-text.1287/"
license=(GPL-2.0-or-later)
depends=("obs-studio>=28" "glibc" "glib2" "cairo" "libpng" "pango")
makedepends=("cmake")
options=('debug')
source=("$pkgname-$pkgver.tar.gz::https://github.com/norihiro/$pkgname/archive/$pkgver.tar.gz")
sha256sums=("d86f47601cd6e85db47f07c0353e8c78428e3a097b458e28bacbd1e8af2aa5c1")
build() {
cd "$pkgname-$pkgver"
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR=lib \
-DLINUX_PORTABLE=OFF
make -C build
}
package() {
cd "$pkgname-$pkgver"
make -C build DESTDIR="$pkgdir" install
}
|