1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/kl222-RabbitRemoteControl

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
build_debpackage.sh 2.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Kang Lin Отправлено 11.11.2024 05:29 9a67b47
#!/bin/bash
if [ -f "/usr/lib/`uname -a`-linux-gnu/cmake/Qt6" -a -z "$QT_ROOT" ]; then
QT_ROOT=/usr/lib/`uname -a`-linux-gnu/cmake/Qt6
fi
if [ -n "$1" -a -z "$QT_ROOT" ]; then
export QT_ROOT=$1
fi
if [ -z "$QT_ROOT" ]; then
echo "$0 QT_ROOT RabbitCommon_ROOT"
exit -1
fi
if [ -n "$2" -a -z "$RabbitCommon_ROOT" ]; then
export RabbitCommon_ROOT=$2
fi
if [ -z "$RabbitCommon_ROOT" ]; then
export RabbitCommon_ROOT=`pwd`/../RabbitCommon
fi
if [ ! -d "$RabbitCommon_ROOT" ]; then
echo "$0 QT_ROOT RabbitCommon_ROOT"
fi
if [ -z "$BUILD_TYPE" ]; then
export BUILD_TYPE=Release
fi
export PATH=$QT_ROOT/bin:$PATH
export LD_LIBRARY_PATH=$QT_ROOT/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$QT_ROOT/lib/pkgconfig:$PKG_CONFIG_PATH
#fakeroot debian/rules binary
# -p, --sign-command=sign-command
# When dpkg-buildpackage needs to execute GPG to sign a source
# control (.dsc) file or a .changes file it will run sign-command
# (searching the PATH if necessary) instead of gpg (long option since
# dpkg 1.18.8). sign-command will get all the arguments that gpg
# would have gotten. sign-command should not contain spaces or any
# other shell metacharacters.
# -k, --sign-key=key-id
# Specify a key-ID to use when signing packages (long option since
# dpkg 1.18.8).
# -us, --unsigned-source
# Do not sign the source package (long option since dpkg 1.18.8).
# -ui, --unsigned-buildinfo
# Do not sign the .buildinfo file (since dpkg 1.18.19).
# -uc, --unsigned-changes
# Do not sign the .buildinfo and .changes files (long option since
# dpkg 1.18.8).
# -b Equivalent to --build=binary or --build=any,all.
# -S Equivalent to --build=source
# -d, --no-check-builddeps do not check build dependencies and conflicts.
# --ignore-builtin-builddeps
# do not check builtin build dependencies.
#The -us -uc tell it there is no need to GPG sign the package. the -b is build binary
dpkg-buildpackage -us -uc -b -d
#The -us -uc tell it there is no need to GPG sign the package. the -S is build source package
#dpkg-buildpackage -us -uc -S
#dpkg-buildpackage -S
# build source and binary package
#dpkg-buildpackage -us -uc
#dpkg-buildpackage -b
1
https://api.gitlife.ru/oschina-mirror/kl222-RabbitRemoteControl.git
git@api.gitlife.ru:oschina-mirror/kl222-RabbitRemoteControl.git
oschina-mirror
kl222-RabbitRemoteControl
kl222-RabbitRemoteControl
master