feat: add wlroots & dependencies
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("4.7.2")
|
||||
description("TIFF Library and Utilities")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("http://download.osgeo.org/libtiff/tiff-4.7.2.tar.xz")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("libz-dev @target")
|
||||
builddep("liblzma-dev @target")
|
||||
builddep("libzstd-dev @target")
|
||||
builddep("libjbig-dev @target")
|
||||
builddep("liblerc-dev @target")
|
||||
builddep("libwebp-dev @target")
|
||||
builddep("libjpeg-turbo-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure([
|
||||
"--prefix=/",
|
||||
f"--bindir={get_prefix('libtiff-tools')}/bin",
|
||||
f"--libdir={get_prefix('libtiff')}/lib",
|
||||
f"--includedir={get_prefix('libtiff-dev')}/include",
|
||||
"--disable-thunder",
|
||||
"--disable-next",
|
||||
"--disable-libdeflate",
|
||||
"--disable-pixarlog",
|
||||
"--disable-old-jpeg",
|
||||
"--enable-defer-strile-load",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libtiff")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libwebp @same-arch")
|
||||
dep("libzstd @same-arch")
|
||||
dep("liblzma @same-arch")
|
||||
dep("liblerc @same-arch")
|
||||
dep("libjpeg-turbo @same-arch")
|
||||
dep("libz @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libtiff-tools")
|
||||
dep("libtiff (same)")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
|
||||
package("libtiff-dev")
|
||||
dep("libtiff (same)")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
dep("libwebp-dev @same-arch")
|
||||
dep("libzstd-dev @same-arch")
|
||||
dep("liblzma-dev @same-arch")
|
||||
dep("liblerc-dev @same-arch")
|
||||
dep("libjpeg-turbo-dev @same-arch")
|
||||
dep("libz-dev @same-arch")
|
||||
dep("libcxx-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
Reference in New Issue
Block a user