summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortytan6522021-02-04 13:40:05 +0100
committertytan6522021-02-04 13:40:05 +0100
commitce17831e88dee7bd0df55a97d2bdc5561f39b965 (patch)
tree5869dc1dc790a16a4e6ed1770d05d9ea61181fd7
parent620d4e4a610cb49bbc5c9fa37c9801bf55d2d86d (diff)
downloadaur-ce17831e88dee7bd0df55a97d2bdc5561f39b965.tar.gz
feat: add updated french patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 19e09c6af3e..a0fc93d7176 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = obs-text-pango
pkgdesc = This plugin provides a text source for OBS Studio which is layed out and rendered using Pango
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kkartaltepe/obs-text-pango
arch = x86_64
license = GPL2
makedepends = cmake
depends = obs-studio
source = obs-text-pango-1.0.tar.gz::https://github.com/kkartaltepe/obs-text-pango/archive/v1.0.tar.gz
+ source = updated_french.patch::https://patch-diff.githubusercontent.com/raw/kkartaltepe/obs-text-pango/pull/12.patch
sha256sums = 07bc145256393a902637ade6820d03988b655796748733ecec53790d370d2e4e
+ sha256sums = SKIP
pkgname = obs-text-pango
diff --git a/PKGBUILD b/PKGBUILD
index 113380431e9..3ff5c125dd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: tytan652 <tytan652@tytanium.xyz>
pkgname=obs-text-pango
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="This plugin provides a text source for OBS Studio which is layed out and rendered using Pango"
arch=('x86_64')
url="https://github.com/kkartaltepe/obs-text-pango"
@@ -10,8 +10,12 @@ depends=("obs-studio")
makedepends=('cmake')
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/kkartaltepe/obs-text-pango/archive/v$pkgver.tar.gz"
+ "updated_french.patch::https://patch-diff.githubusercontent.com/raw/kkartaltepe/obs-text-pango/pull/12.patch"
+)
+sha256sums=(
+ '07bc145256393a902637ade6820d03988b655796748733ecec53790d370d2e4e'
+ "SKIP"
)
-sha256sums=('07bc145256393a902637ade6820d03988b655796748733ecec53790d370d2e4e')
prepare() {
rm -rf fakeroot
@@ -19,6 +23,7 @@ prepare() {
build() {
cd "$pkgname-$pkgver"
+ patch -Np1 < "$srcdir"/updated_french.patch
cmake -B build \
-DOBS_INCLUDE_DIRS='/usr/include/obs' \
-DCMAKE_INSTALL_PREFIX='/'