summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-09-24 18:41:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-09-24 18:41:29 +0200
commite018b9f3b9cc75e43e76e2633927404447091170 (patch)
tree3f6ebf03a153187427c14f509ad1f43df02c4e03
parent7ec919e675409e4e543efe061675120260d3f41c (diff)
tinyx: new package
-rw-r--r--package/tinyx/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/tinyx/Makefile b/package/tinyx/Makefile
new file mode 100644
index 000000000..17f79a2df
--- /dev/null
+++ b/package/tinyx/Makefile
@@ -0,0 +1,39 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= tinyx
+PKG_VERSION:= git
+PKG_RELEASE:= 1
+PKG_HASH:= db206aeef89104e1bd4cab40508eb1160f8a6bc69848eaf16cbc35eda1c62864
+PKG_DESCR:= tiny x server
+PKG_SECTION:= x11/drivers
+PKG_DEPENDS:= libxcvt libfontenc xkeyboard-config xkbcomp libxau libxaw
+PKG_DEPENDS+= libxmu libxpm libxrender libxt libxxf86dga libxext
+PKG_DEPENDS+= libxdmcp libxv libsm libice libx11 libxcb libdrm libxtst
+PKG_DEPENDS+= libxshmfence libfreetype libfontenc libxfont
+PKG_BUILDDEP:= libX11 randrproto renderproto fixesproto damageproto
+PKG_BUILDDEP+= scrnsaverproto resourceproto fontsproto videoproto
+PKG_BUILDDEP+= compositeproto evieext xf86dgaproto recordproto dri3proto
+PKG_BUILDDEP+= xineramaproto presentproto xf86driproto glproto libXtst
+PKG_BUILDDEP+= xorgproto libxcvt font-util-host libXfont
+PKG_NEEDS:= threads c++
+PKG_SITES:= https://github.com/tinycorelinux/tinyx.git
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+PKG_CFLINE_TINYX:=depends on ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,TINYX,tinyx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+AUTOTOOL_STYLE:= autoreconf
+CONFIGURE_ARGS+= --with-fontdir=/usr/share/fonts/X11
+
+tinyx-install:
+ $(INSTALL_DIR) $(IDIR_TINYX)/usr/bin
+ ${CP} ${WRKINST}/usr/bin/Xfbdev $(IDIR_TINYX)/usr/bin
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk