mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
wayland: initial package
This commit is contained in:
parent
871c73c76c
commit
27625d4c65
55
packages/wayland/wayland/package.mk
Normal file
55
packages/wayland/wayland/package.mk
Normal file
@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - https://libreelec.tv
|
||||
# Copyright (C) 2016-present Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="wayland"
|
||||
PKG_VERSION="1.14.0"
|
||||
PKG_SHA256="ed80cabc0961a759a42092e2c39aabfc1ec9a13c86c98bbe2b812f008da27ab8"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://wayland.freedesktop.org/"
|
||||
PKG_URL="https://wayland.freedesktop.org/releases/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain wayland:host libxml2"
|
||||
PKG_DEPENDS_HOST="libffi:host expat:host libxml2:host"
|
||||
PKG_SECTION="wayland"
|
||||
PKG_SHORTDESC="a display server protocol"
|
||||
PKG_LONGDESC="a display server protocol"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--enable-shared \
|
||||
--disable-static \
|
||||
--disable-libraries \
|
||||
--disable-documentation \
|
||||
--with-gnu-ld"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=$SYSROOT_PREFIX \
|
||||
--with-host-scanner \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-libraries \
|
||||
--disable-documentation \
|
||||
--with-gnu-ld"
|
||||
|
||||
pre_configure_target() {
|
||||
strip_lto
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/bin
|
||||
rm -rf $INSTALL/usr/share
|
||||
|
||||
cp $TOOLCHAIN/lib/pkgconfig/wayland-scanner.pc $SYSROOT_PREFIX/usr/lib/pkgconfig/
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user