Skip to content

Commit 4e6d8f0

Browse files
authored
add new buildroot package 'xosd' which will allow us to display an OSD (#41)
1 parent fe2f2ae commit 4e6d8f0

5 files changed

Lines changed: 34 additions & 0 deletions

File tree

buildroot-external/Buildroot.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@ BR2_PACKAGE_HOST_MTOOLS=y
106106
BR2_PACKAGE_HOTKEYD=y
107107
BR2_PACKAGE_NUMLOCKX=y
108108
BR2_PACKAGE_XPRINTIDLE=y
109+
BR2_PACKAGE_XOSD=y

buildroot-external/Config.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ menu "Additional software"
1616
source "$BR2_EXTERNAL_THINROOT_PATH/package/qt-kiosk-browser/Config.in"
1717
source "$BR2_EXTERNAL_THINROOT_PATH/package/multilib32/Config.in"
1818
source "$BR2_EXTERNAL_THINROOT_PATH/package/yoe-kiosk-browser/Config.in"
19+
source "$BR2_EXTERNAL_THINROOT_PATH/package/xosd/Config.in"
1920
endmenu
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
config BR2_PACKAGE_XOSD
2+
bool "xosd"
3+
select BR2_PACKAGE_XLIB_LIBX11
4+
select BR2_PACKAGE_XLIB_LIBXEXT
5+
help
6+
XOSD displays text on your screen, sounds simple right?
7+
The difference is it is unmanaged and shaped, so it appears
8+
transparent. This gives the effect of an On Screen Display,
9+
like your TV/VCR etc.
10+
11+
https://sourceforge.net/projects/libxosd/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sha256 4f1fa96f4895baee6a3cba40f188a0da23bbac9d68e8c326d749e084143cb508 xosd-2.2.14.tar.gz
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
################################################################################
2+
#
3+
# libxosd / xosd
4+
#
5+
################################################################################
6+
7+
XOSD_VERSION = 2.2.14
8+
XOSD_SITE = https://downloads.sourceforge.net/project/libxosd/libxosd/xosd-$(XOSD_VERSION)
9+
XOSD_LICENSE = GPL-2.0-or-later
10+
XOSD_LICENSE_FILES = COPYING
11+
XOSD_DEPENDENCIES = xlib_libX11 xlib_libXext
12+
13+
# remove unnecessary stuff
14+
define XOSD_REMOVE_DATA
15+
$(RM) -r $(TARGET_DIR)/usr/share/xosd
16+
$(RM) -r $(TARGET_DIR)/usr/bin/xosd-config
17+
endef
18+
XOSD_POST_INSTALL_TARGET_HOOKS += XOSD_REMOVE_DATA
19+
20+
$(eval $(autotools-package))

0 commit comments

Comments
 (0)