From d48c499781c516ee434f2236443972a6ea8b2c60 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 3 Apr 2021 01:31:05 +0300 Subject: [PATCH] New package: mpvpaper-1.1 --- srcpkgs/mpvpaper/patches/define-uint.patch | 25 ++++++++++++++++++++++ srcpkgs/mpvpaper/template | 14 ++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/mpvpaper/patches/define-uint.patch create mode 100644 srcpkgs/mpvpaper/template diff --git a/srcpkgs/mpvpaper/patches/define-uint.patch b/srcpkgs/mpvpaper/patches/define-uint.patch new file mode 100644 index 000000000000..ea08c05d1da1 --- /dev/null +++ b/srcpkgs/mpvpaper/patches/define-uint.patch @@ -0,0 +1,25 @@ +diff --git src/holder.c src/holder.c +index 09d425e..32027b3 100644 +--- src/holder.c ++++ src/holder.c +@@ -12,6 +12,8 @@ + #include "wlr-layer-shell-unstable-v1-client-protocol.h" + #include "xdg-output-unstable-v1-client-protocol.h" + ++typedef unsigned int uint; ++ + struct wl_state { + struct wl_display *display; + struct wl_compositor *compositor; +diff --git src/main.c src/main.c +index cbe559c..39f504c 100644 +--- src/main.c ++++ src/main.c +@@ -21,6 +21,7 @@ + + #include + ++typedef unsigned int uint; + + struct wl_state { + struct wl_display *display; diff --git a/srcpkgs/mpvpaper/template b/srcpkgs/mpvpaper/template new file mode 100644 index 000000000000..792a0ee83385 --- /dev/null +++ b/srcpkgs/mpvpaper/template @@ -0,0 +1,14 @@ +# Template file for 'mpvpaper' +pkgname=mpvpaper +version=1.1 +revision=1 +build_style=meson +hostmakedepends="pkg-config wayland-devel" +makedepends="mpv-devel wlroots-devel" +depends="mpv wlroots" +short_desc="Video wallpaper setter for wlroots based wayland compositors" +maintainer="FollieHiyuki " +license="GPL-3.0-or-later" +homepage="https://github.com/GhostNaN/mpvpaper" +distfiles="https://github.com/GhostNaN/mpvpaper/archive/${version}.tar.gz" +checksum=dc774d3ec0a14cc955af6426427870163bab858f5878ada71706473884359a33