Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[spec] Improve spec files parametrization. Contributes to MER#1443
- Loading branch information
Showing
4 changed files
with
85 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
for x in nogl xcomposite_egl; do | ||
cp qtwayland.spec qtwayland-$x.spec | ||
sed -i "s/wayland_egl/$x/g" qtwayland-$x.spec | ||
sed -i "s/define _qtwayland_variant .*/define _qtwayland_variant $x/g" qtwayland-$x.spec | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters