Skip to content

Commit

Permalink
umpf: special-case version fixup for Mesa >= 24.2.0
Browse files Browse the repository at this point in the history
libgallium is versioned with project_version, so patch PACKAGE_VERSION
instead.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
pH5 committed Aug 15, 2024
1 parent b10a8fb commit b5028f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions umpf
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,11 @@ rebase_end() {
# the project version is used in library names
sed -i "s/@VCS_TAG@/\0.${version}/" src/version/version.h.in &&
git add src/version/version.h.in
elif grep -sq "'gallium-@0@'.format(meson.project_version())" src/gallium/targets/dri/meson.build; then
# for Mesa >= 24.2.0 fixup PACKAGE_VERSION
# the project version is used in library names
sed -i "s/-DPACKAGE_VERSION=\"@0@/\0.${version}/" meson.build &&
git add meson.build
elif [ -e "${meson_build}" ]; then
case "${project}" in
libcamera)
Expand Down

0 comments on commit b5028f0

Please sign in to comment.