feat: add wayland related tools
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import os
|
||||
|
||||
from lib.make import *
|
||||
from lib import cpp, packie
|
||||
|
||||
|
||||
version("4.2.0")
|
||||
description("an open-source image or raster format which supports rapid encoding and decoding for any pixel type")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/Esri/lerc/archive/refs/tags/v4.2.0.tar.gz")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/cmake")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.cmake([
|
||||
f"-DCMAKE_INSTALL_LIBDIR={get_prefix('liblerc')}/lib",
|
||||
f"-DCMAKE_INSTALL_INCLUDEDIR={get_prefix('liblerc-dev')}/include",
|
||||
])
|
||||
cpp.ninja()
|
||||
cpp.ninja_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
package("liblerc")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("liblerc-dev")
|
||||
dep("liblerc (same)")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
Reference in New Issue
Block a user