1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 06:46:19 +00:00
Lakka-LibreELEC/packages/x11/util/xorg-launch-helper/package.mk
David Lawson ccac6853d9
More build fixes for odin (#1744)
* libglvnd: add back exception for L4T and Ayn

* xorg-launch-helper: special case for odin

* Odin: fix retroarch assets path
2023-01-21 17:15:38 +01:00

28 lines
935 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="xorg-launch-helper"
PKG_VERSION="4"
PKG_SHA256="a7f8809a1810212506893ac5c62d8d17fee7a980fb10d59d1bef36f694767be5"
PKG_LICENSE="GPL-2"
PKG_SITE="https://github.com/sofar/xorg-launch-helper"
PKG_URL="http://foo-projects.org/~sofar/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain systemd"
PKG_LONGDESC="Xorg-launch-helper is a small utility that transforms the X server process (XOrg) into a daemon."
PKG_TOOLCHAIN="autotools"
pre_configure_target() {
export LIBS="-lsystemd"
}
post_makeinstall_target() {
# do not install systemd services
rm -rf ${INSTALL}/usr/lib
mkdir -p ${INSTALL}/usr/bin
if [ ! "${DEVICE}" = "Odin" ]; then
cp -P ${PKG_DIR}/scripts/xorg-launch ${INSTALL}/usr/bin
else
cp -P ${PKG_DIR}/scripts/xorg-launch-odin ${INSTALL}/usr/bin/xorg-launch
fi
}