-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
patches/proton/0008-Makefile.in-redist-dir-to-build-name.patch
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/Makefile.in b/Makefile.in | ||
index fe870e2..c001a16 100644 | ||
--- a/Makefile.in | ||
+++ b/Makefile.in | ||
@@ -41,7 +41,7 @@ DST_LIBDIR64 := $(DST_DIR)/lib64 | ||
DIST_PREFIX := $(DST_DIR)/share/default_pfx/ | ||
DIST_VERSION := $(DST_BASE)/version | ||
DEPLOY_DIR := ./deploy | ||
-REDIST_DIR := ./redist | ||
+REDIST_DIR := ./$(BUILD_NAME) | ||
|
||
ifneq ($(UNSTRIPPED_BUILD),) | ||
STRIP := | ||
@@ -1344,7 +1344,6 @@ redist: all | ||
cp -a $(PROTONFIXES_TARGET)/libmspack.so $(REDIST_DIR)/files/lib64/ | ||
cp -a $(PROTONFIXES_TARGET)/libmspack.so.0 $(REDIST_DIR)/files/lib64/ | ||
cp $(PROTONFIXES_TARGET)/libmspack.so.0.1.0 $(REDIST_DIR)/files/lib64/ | ||
- mv $(REDIST_DIR) $(BUILD_NAME) | ||
XZ_OPT="-9 -T0" tar -Jcf $(BUILD_NAME).tar.xz --numeric-owner --owner=0 --group=0 --null $(BUILD_NAME) | ||
sha512sum $(BUILD_NAME).tar.xz > $(BUILD_NAME).sha512sum | ||
@echo "Proton build available at $(BUILD_NAME).tar.xz" |
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