[arch-commits] Commit in wf-recorder/trunk (PKGBUILD)

Brett Cornwall ainola at gemini.archlinux.org
Tue Jun 14 21:50:50 UTC 2022


    Date: Tuesday, June 14, 2022 @ 21:50:50
  Author: ainola
Revision: 1238001

upgpkg: wf-recorder 0.3.0-1

Explicitly enable pulseaudio, remove the OpenCL stuff (as upstream removed it),
and remove scdoc as upstream opted to go for a plain manpage format.

Modified:
  wf-recorder/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-14 19:48:17 UTC (rev 1238000)
+++ PKGBUILD	2022-06-14 21:50:50 UTC (rev 1238001)
@@ -2,8 +2,8 @@
 # Contributor: Lennard Hofmann
 
 pkgname=wf-recorder
-pkgver=0.2.1
-pkgrel=5
+pkgver=0.3.0
+pkgrel=1
 pkgdesc="Screen recorder for wlroots-based compositors such as sway"
 arch=("x86_64")
 url="https://github.com/ammen99/wf-recorder"
@@ -11,37 +11,28 @@
 depends=(
 	'libavcodec.so'
 	'libavdevice.so'
+	'libavfilter.so'
 	'libavformat.so'
 	'libavutil.so'
+	'libpulse.so'
+	'libpulse-simple.so'
 	'libswresample.so'
 	'libswscale.so'
-	'ocl-icd'
-	'wayland'
+	'libwayland-client.so'
 )
 makedepends=(
 	'meson'
-	'opencl-headers'
-	'scdoc'
 	'wayland-protocols'
 )
 optdepends=(
 	'slurp: Select a region to record'
 )
-options=(debug)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ammen99/wf-recorder/archive/v$pkgver.tar.gz"
-         ffmpeg5.patch)
-sha256sums=('45cf04cf58cf241c22fa2fbb70481a3747ad33e6930e4bdba7b9cc7018789ad1'
-            '8012b4f09d3a826d06e1ec880aabbd12068a6fa913fd4d577a88e25a09e17b64')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ammen99/wf-recorder/archive/v$pkgver.tar.gz")
+sha256sums=('3af1e933872653233d87167bab73d96f984d00e995385190b586be4d89dbbfdf')
 
-prepare() {
-	# Fix build with FFmpeg 5
-	patch -d $pkgname-$pkgver -p1 < ffmpeg5.patch
-}
-
 build() {
 	meson "$pkgname-$pkgver" build \
-		-Dman-pages=enabled \
-		-Dopencl=enabled \
+		-Dpulse=enabled \
 		--prefix=/usr \
 		--buildtype=plain
 	ninja -C build
@@ -49,5 +40,7 @@
 
 package() {
 	DESTDIR="$pkgdir/" ninja -C build install
-	install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+	cd "$pkgname-$pkgver"
+	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+	install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
 }



More information about the arch-commits mailing list