You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
debian/rules: Second attempt to fix Debian/Ubuntu dependencies, this time by providing the compatibility symlinks in the main package.
This commit is contained in:
23
debian/rules
vendored
23
debian/rules
vendored
@@ -60,19 +60,16 @@ override_dh_install:
|
||||
ln -s "/opt/wine-staging/bin/$$_file" "debian/wine-compholio/opt/wine-compholio/bin/$$_file"; \
|
||||
done
|
||||
|
||||
if [ -e debian/wine-staging-i386 ]; then \
|
||||
mkdir -p debian/wine-compholio-i386/opt/wine-compholio/bin; \
|
||||
for _file in $$(ls "debian/wine-staging-i386/opt/wine-staging/bin"); do \
|
||||
ln -s "/opt/wine-staging/bin/$$_file" "debian/wine-compholio-i386/opt/wine-compholio/bin/$$_file"; \
|
||||
done \
|
||||
fi
|
||||
|
||||
if [ -e debian/wine-staging-amd64 ]; then \
|
||||
mkdir -p debian/wine-compholio-amd64/opt/wine-compholio/bin; \
|
||||
for _file in $$(ls "debian/wine-staging-amd64/opt/wine-staging/bin"); do \
|
||||
ln -s "/opt/wine-staging/bin/$$_file" "debian/wine-compholio-amd64/opt/wine-compholio/bin/$$_file"; \
|
||||
done \
|
||||
fi
|
||||
# Architecture specific compatibility symlinks
|
||||
ifeq ($(DEB_HOST_ARCH),amd64)
|
||||
for _file in wine wine-preloader wine64 wine64-preloader; do \
|
||||
ln -s "/opt/wine-staging/bin/$$_file" "debian/wine-compholio/opt/wine-compholio/bin/$$_file"; \
|
||||
done
|
||||
else
|
||||
for _file in wine wine-preloader; do \
|
||||
ln -s "/opt/wine-staging/bin/$$_file" "debian/wine-compholio/opt/wine-compholio/bin/$$_file"; \
|
||||
done
|
||||
endif
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip -Xwine-pthread -Xwine-kthread --dbg-package=wine-staging-dbg
|
||||
|
Reference in New Issue
Block a user