From 81d267d9a8caca6e38994bb1195b02f2b19b3acb Mon Sep 17 00:00:00 2001 From: Young Jin Park <youngjinpark20@gmail.com> Date: Mon, 11 Feb 2019 07:22:48 +0900 Subject: [PATCH] New package: wf-config-0.1 --- common/shlibs | 1 + srcpkgs/wf-config/patches/fix-musl.patch | 13 +++++++++++++ srcpkgs/wf-config/template | 19 +++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 srcpkgs/wf-config/patches/fix-musl.patch create mode 100644 srcpkgs/wf-config/template diff --git a/common/shlibs b/common/shlibs index 502d3bb26b..406124de19 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3397,3 +3397,4 @@ libsnore-qt5.so.0.7 snorenotify-0.7.0_1 libsnoresettings-qt5.so.0.7 snorenotify-0.7.0_1 libTECkit.so.0 libteckit-2.5.8_1 libTECkit_Compiler.so.0 libteckit-2.5.8_1 +libwf-config.so wf-config-0.1_1 diff --git a/srcpkgs/wf-config/patches/fix-musl.patch b/srcpkgs/wf-config/patches/fix-musl.patch new file mode 100644 index 0000000000..b87797ba55 --- /dev/null +++ b/srcpkgs/wf-config/patches/fix-musl.patch @@ -0,0 +1,13 @@ +diff --git a/src/config.cpp b/src/config.cpp +index f586ab5..811ce29 100644 +--- src/config.cpp ++++ src/config.cpp +@@ -4,6 +4,7 @@ + #include <sstream> + #include <fstream> + #include <algorithm> ++#include <fcntl.h> + + std::ofstream out; + + diff --git a/srcpkgs/wf-config/template b/srcpkgs/wf-config/template new file mode 100644 index 0000000000..98eee65d39 --- /dev/null +++ b/srcpkgs/wf-config/template @@ -0,0 +1,19 @@ +# Template file for 'wf-config' +pkgname=wf-config +version=0.1 +revision=1 +build_style=meson +hostmakedepends="pkg-config" +makedepends="libevdev-devel wlroots-devel" +short_desc="Wayfire library for managing configuration files" +maintainer="Young Jin Park <youngjinpark20@gmail.com>" +license="MIT" +homepage="https://wayfire.org" +distfiles="https://github.com/WayfireWM/wf-config/archive/v${version}.tar.gz + https://raw.githubusercontent.com/WayfireWM/wf-config/master/LICENSE>LICENSE.txt" +checksum="0dac4683013d5a0b143f0e211288c7f2f621740b9ac664359297ff530a7dcdc5 + 7053b1aa75aaccfe2a2bfacd400c0a8694858797ff9c7d584664e2941fb3016e" + +post_install() { + vlicense ../LICENSE.txt +}