waylandpp: add package

This commit is contained in:
Lukas Rusak 2017-12-16 10:17:49 -08:00
parent 449df852c6
commit ab5ad1e0c1
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -0,0 +1,37 @@
################################################################################
# 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="waylandpp"
PKG_VERSION="0.1.6"
PKG_SHA256="33d3ec385704c5545fb50d2283aabf4ef26aaaf3e416b292e650fea67c430d23"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/NilsBrause/waylandpp"
PKG_URL="https://github.com/NilsBrause/waylandpp/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain waylandpp:host"
PKG_SECTION="wayland"
PKG_SHORTDESC="Wayland C++ bindings"
PKG_LONGDESC="Wayland C++ bindings"
PKG_CMAKE_OPTS_HOST="-DBUILD_SCANNER=ON \
-DBUILD_LIBRARIES=OFF"
PKG_CMAKE_OPTS_TARGET="-DBUILD_SCANNER=OFF \
-DBUILD_LIBRARIES=ON \
-DCMAKE_CROSSCOMPILING=ON \
-DWAYLAND_SCANNERPP=$TOOLCHAIN/bin/wayland-scanner++"