forked from vitrine/wmaker
65 lines
1.4 KiB
Python
65 lines
1.4 KiB
Python
# TODO: These include paths were automatically discovered by autotools,
|
|
# and they are now hard-coded. As we migrate away from autotools, we
|
|
# should find a way to automate discovering them again (or at least make
|
|
# them more easily configurable).
|
|
|
|
new_local_repository(
|
|
name = "pango_h",
|
|
path = "/usr/include/pango-1.0",
|
|
build_file_content = """
|
|
package(default_visibility = ["//visibility:public"])
|
|
cc_library(
|
|
name = "headers",
|
|
hdrs = glob(['**/*.h'])
|
|
)
|
|
""",
|
|
)
|
|
|
|
new_local_repository(
|
|
name = "glib_h",
|
|
path = "/usr/include/glib-2.0",
|
|
build_file_content = """
|
|
package(default_visibility = ["//visibility:public"])
|
|
cc_library(
|
|
name = "headers",
|
|
hdrs = glob(['**/*.h'])
|
|
)
|
|
""",
|
|
)
|
|
|
|
new_local_repository(
|
|
name = "glib_config_h",
|
|
path = "/usr/lib/x86_64-linux-gnu/glib-2.0/include",
|
|
build_file_content = """
|
|
package(default_visibility = ["//visibility:public"])
|
|
cc_library(
|
|
name = "headers",
|
|
hdrs = ["glibconfig.h"],
|
|
)
|
|
""",
|
|
)
|
|
|
|
new_local_repository(
|
|
name = "harfbuzz_h",
|
|
path = "/usr/include/harfbuzz",
|
|
build_file_content = """
|
|
package(default_visibility = ["//visibility:public"])
|
|
cc_library(
|
|
name = "headers",
|
|
hdrs = glob(['**/*.h']),
|
|
)
|
|
""",
|
|
)
|
|
|
|
new_local_repository(
|
|
name = "freetype2_h",
|
|
path = "/usr/include/freetype2",
|
|
build_file_content = """
|
|
package(default_visibility = ["//visibility:public"])
|
|
cc_library(
|
|
name = "headers",
|
|
hdrs = glob(['**/*.h']),
|
|
)
|
|
""",
|
|
)
|