summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-15 14:51:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-15 14:51:31 +0000
commitb1ff465dd8f928900b35d1f0b06abb56879f48d2 (patch)
tree1d844974b6762b9a1638dbd8ff4fcc4ebb9bb1b7 /user
parente5d24dc5cfefad3d9933a396633ca8de02c579b8 (diff)
downloadpackages-b1ff465dd8f928900b35d1f0b06abb56879f48d2.tar.gz
packages-b1ff465dd8f928900b35d1f0b06abb56879f48d2.tar.bz2
packages-b1ff465dd8f928900b35d1f0b06abb56879f48d2.tar.xz
packages-b1ff465dd8f928900b35d1f0b06abb56879f48d2.zip
user/fbset: new package
Diffstat (limited to 'user')
-rw-r--r--user/fbset/APKBUILD29
-rw-r--r--user/fbset/types.patch14
2 files changed, 43 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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 <asm/types.h>
++#else
++#include <linux/types.h>
+ #endif
+
+ #define VERSION "Linux Frame Buffer Device Configuration " \