From b1ff465dd8f928900b35d1f0b06abb56879f48d2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 15 Jul 2019 14:51:31 +0000 Subject: user/fbset: new package --- user/fbset/APKBUILD | 29 +++++++++++++++++++++++++++++ user/fbset/types.patch | 14 ++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 user/fbset/APKBUILD create mode 100644 user/fbset/types.patch (limited to 'user') diff --git a/user/fbset/APKBUILD b/user/fbset/APKBUILD new file mode 100644 index 000000000..32b82173f --- /dev/null +++ b/user/fbset/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=fbset +pkgver=2.1 +pkgrel=0 +pkgdesc="Utility to manipulate the framebuffer" +url="http://users.telenet.be/geertu/Linux/fbdev/" +arch="all" +options="!check" # No test suite. +license="GPL-2.0-only" +depends="" +makedepends="bison flex" +subpackages="$pkgname-doc" +source="http://users.telenet.be/geertu/Linux/fbdev/fbset-$pkgver.tar.gz + types.patch + " + +build() { + make -j1 +} + +package() { + install -m755 -Dt "$pkgdir"/usr/sbin fbset + install -m644 -Dt "$pkgdir"/usr/share/man/man5 fb.modes.5 + install -m644 -Dt "$pkgdir"/usr/share/man/man8 fbset.8 +} + +sha512sums="7e0380760f77b0db7dcc128f6375a3ed8da4b8521d1926faba27812c5cb20e6f1a62f3a539591a81a6b7e7986940db4cd83e03d6de487e0ab7f0760ed1d21b28 fbset-2.1.tar.gz +5c4443f20b8342d2af6f1ddad9b2680c6e1a187f179645cb849eae921faf9c31a5d50fe59145357dff822fb6b0c0b717a590f7370dcdbc66cb283397960932b0 types.patch" diff --git a/user/fbset/types.patch b/user/fbset/types.patch new file mode 100644 index 000000000..7b3499427 --- /dev/null +++ b/user/fbset/types.patch @@ -0,0 +1,14 @@ +From: Gentoo +For: musl compatibility (__u32) + +--- a/fbset.h 2018-04-05 18:17:18.292975594 +0000 ++++ b/fbset.h 2018-04-05 18:22:20.448747231 +0000 +@@ -17,6 +17,8 @@ + + #ifdef __GLIBC__ + #include ++#else ++#include + #endif + + #define VERSION "Linux Frame Buffer Device Configuration " \ -- cgit v1.2.3-70-g09d2