mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: update xz to 5.4.5
This commit is contained in:
parent
9a6360d968
commit
1a78bf14c1
1 changed files with 2 additions and 13 deletions
|
@ -228,19 +228,8 @@ class XzTarget(base.CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://tukaani.org/xz/xz-5.2.5.tar.gz',
|
||||
'f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10',
|
||||
patches='lzma-add-cmake')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('src/liblzma/liblzma.pc.in')
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
super().post_build(state)
|
||||
|
||||
self.write_pc_file(state, 'liblzma.pc', name='liblzma',
|
||||
description='General purpose data compression library',
|
||||
version='5.2.5', libs='-llzma')
|
||||
'https://tukaani.org/xz/xz-5.4.5.tar.gz',
|
||||
'135c90b934aee8fbc0d467de87a05cb70d627da36abe518c357a873709e5b7d6')
|
||||
|
||||
|
||||
class ZipTarget(base.SingleExeCTarget):
|
||||
|
|
Loading…
Reference in a new issue