X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=easy-builder;h=220649fd9cf2b8d6d0a4cc2a2c074e87913377d1;hb=6790eb7048a160e04b84ee6305a9e830e23415d8;hp=9fe738b677ba4120551d6d2ba949cc45dbbef59d;hpb=de31e2b1e54ac2cb48eccb91595065eba6f16597;p=xonotic%2Fnetradiant.git diff --git a/easy-builder b/easy-builder index 9fe738b6..220649fd 100755 --- a/easy-builder +++ b/easy-builder @@ -17,10 +17,15 @@ build_type='Release' case "$(uname -s)" in # Stripping is known to make non-PIE Linux netradiant binary unusable. # Maybe that's related to the way we patch rpath? + # # Building NetRadiant as non-PIE is required because of # a mistake in the mimetype-library that prevents users # to run the application from file managers on Linux. + # # See: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11 + # + # After installation it's possible to strip manually all binaries except + # the netradiant one. 'Linux') install_target='install' ;; @@ -130,6 +135,11 @@ task_build_builtins () { make -j"${job_count}" builtins } +task_discover_builtins () { + sync + cmake "${project_source_dir}" +} + task_build () { sync make -j"${job_count}" @@ -150,6 +160,8 @@ task_configure task_build_builtins +task_discover_builtins + task_build task_install