From ab5ad1e0c161b45f391238ef412a371858cbf272 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 16 Dec 2017 10:17:49 -0800 Subject: [PATCH] waylandpp: add package --- packages/wayland/waylandpp/package.mk | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 packages/wayland/waylandpp/package.mk diff --git a/packages/wayland/waylandpp/package.mk b/packages/wayland/waylandpp/package.mk new file mode 100644 index 0000000000..ad0a866613 --- /dev/null +++ b/packages/wayland/waylandpp/package.mk @@ -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 . +################################################################################ + +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++"