mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -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:
parent
7850f8bd74
commit
b56948f392
12
debian/control
vendored
12
debian/control
vendored
@ -247,9 +247,7 @@ Description: The Staging Edition is a special build of the popular Wine software
|
||||
|
||||
Package: wine-compholio
|
||||
Architecture: i386 amd64
|
||||
Depends: wine-staging, ${misc:Depends},
|
||||
wine-compholio-i386 (= ${binary:Version}) [i386 amd64],
|
||||
wine-compholio-amd64 (= ${binary:Version}) [amd64],
|
||||
Depends: wine-staging, ${misc:Depends}
|
||||
Priority: extra
|
||||
Section: oldlibs
|
||||
Description: Transitional dummy package
|
||||
@ -273,9 +271,7 @@ Description: Transitional dummy package
|
||||
|
||||
Package: wine-compholio-dev
|
||||
Architecture: i386 amd64
|
||||
Depends: wine-staging-dev, ${misc:Depends},
|
||||
wine-compholio-i386 (= ${binary:Version}) [i386 amd64],
|
||||
wine-compholio-amd64 (= ${binary:Version}) [amd64],
|
||||
Depends: wine-staging-dev, ${misc:Depends}
|
||||
Priority: extra
|
||||
Section: oldlibs
|
||||
Description: Transitional dummy package
|
||||
@ -283,9 +279,7 @@ Description: Transitional dummy package
|
||||
|
||||
Package: wine-compholio-dbg
|
||||
Architecture: i386 amd64
|
||||
Depends: wine-staging-dbg, ${misc:Depends},
|
||||
wine-compholio-i386 (= ${binary:Version}) [i386 amd64],
|
||||
wine-compholio-amd64 (= ${binary:Version}) [amd64],
|
||||
Depends: wine-staging-dbg, ${misc:Depends}
|
||||
Priority: extra
|
||||
Section: oldlibs
|
||||
Description: Transitional dummy package
|
||||
|
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
|
||||
|
Loading…
Reference in New Issue
Block a user