diff --git a/debian/client/native/DEBIAN/control b/debian/client/native/DEBIAN/control index 6170fe2..0a56198 100644 --- a/debian/client/native/DEBIAN/control +++ b/debian/client/native/DEBIAN/control @@ -5,4 +5,5 @@ Description: Fun with Blocks Homepage: https://www.minecraft.net/en-us/edition/pi Architecture: all Depends: ${DEPENDENCIES} +Recommends: ${RECOMMENDED_DEPENDENCIES} Conflicts: minecraft-pi, minecraft-pi-virgl diff --git a/debian/client/virgl/DEBIAN/control b/debian/client/virgl/DEBIAN/control index 843e7c3..784ed7e 100644 --- a/debian/client/virgl/DEBIAN/control +++ b/debian/client/virgl/DEBIAN/control @@ -5,4 +5,5 @@ Description: Fun with Blocks Homepage: https://www.minecraft.net/en-us/edition/pi Architecture: all Depends: ${DEPENDENCIES}, virgl-server +Recommends: ${RECOMMENDED_DEPENDENCIES} Conflicts: minecraft-pi, minecraft-pi-native diff --git a/debian/server/DEBIAN/control b/debian/server/DEBIAN/control index 806cf7d..dc62216 100644 --- a/debian/server/DEBIAN/control +++ b/debian/server/DEBIAN/control @@ -5,3 +5,4 @@ Description: Fun with Blocks Homepage: https://www.minecraft.net/en-us/edition/pi Architecture: all Depends: ${DEPENDENCIES} +Recommends: ${RECOMMENDED_DEPENDENCIES} diff --git a/scripts/package.sh b/scripts/package.sh index b659cc5..2427004 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -5,8 +5,9 @@ DEB_VERSION='1.0.0' # Dependencies REQUIRED_DOCKER_VERSION='19.03' -COMMON_DEPENDENCIES="docker.io (>=${REQUIRED_DOCKER_VERSION}) | docker-ce (>=${REQUIRED_DOCKER_VERSION}), libseccomp2 (>=2.4.2), docker-compose, qemu-user-static, binfmt-support" +COMMON_DEPENDENCIES="docker.io (>=${REQUIRED_DOCKER_VERSION}) | docker-ce (>=${REQUIRED_DOCKER_VERSION}), libseccomp2 (>=2.4.2), docker-compose, binfmt-support" CLIENT_DEPENDENCIES="zenity, policykit-1, passwd, login, x11-xserver-utils" +RECOMMENDED_DEPENDENCIES="qemu-user-static" set -e @@ -25,6 +26,7 @@ mkdir debian/tmp prepare_control() { sed -i 's/${VERSION}/'"${DEB_VERSION}.$(date --utc '+%Y%m%d.%H%M')"'/g' "$1/DEBIAN/control" sed -i 's/${DEPENDENCIES}/'"${COMMON_DEPENDENCIES}$2"'/g' "$1/DEBIAN/control" + sed -i 's/${RECOMMENDED_DEPENDENCIES}/'"${RECOMMENDED_DEPENDENCIES}$2"'/g' "$1/DEBIAN/control" } # Package Client DEBs