add deepin build script

This commit is contained in:
Roy Qu 2024-06-02 19:37:17 +08:00
parent 7a0514786b
commit 986cce66d0
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#!/bin/bash
set -xeuo pipefail
TMP_FOLDER=/tmp/redpandaide
[[ -d $TMP_FOLDER ]] && rm -rf $TMP_FOLDER
mkdir -p "$TMP_FOLDER"
cp -r packages/debian $TMP_FOLDER
cp -r tools $TMP_FOLDER
cp -r libs $TMP_FOLDER
cp -r RedPandaIDE $TMP_FOLDER
cp README.md $TMP_FOLDER
cp LICENSE $TMP_FOLDER
cp NEWS.md $TMP_FOLDER
cp version.inc $TMP_FOLDER
cp -r platform $TMP_FOLDER
cp Red_Panda_CPP.pro $TMP_FOLDER
cd $TMP_FOLDER
rm control
cp control.deepin control
command -v mk-build-deps && mk-build-deps -i -t "apt -y --no-install-recommends" debian/control
sed -i '/CONFIG += ENABLE_LUA_ADDON/ { s/^#\s*// }' RedPandaIDE/RedPandaIDE.pro
dpkg-buildpackage -us -uc

View File

@ -0,0 +1,31 @@
Source: redpanda-cpp
Section: devel
Priority: optional
Maintainer: royqh1979@gmail.com
Build-Depends: debhelper (>= 12~),
qtbase5-dev,
qtbase5-dev-tools,
qttools5-dev-tools,
libqt5svg5-dev
Standards-Version: 4.3.0
Homepage: https://github.com/royqh1979/RedPanda-CPP
Package: redpanda-cpp
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
gcc,
g++,
make,
gdb,
gdbserver,
astyle,
qterminal
Recommends: konsole | gnome-terminal | terminator | lxterminal | mate-terminal | terminology | xfce4-terminal | alacritty | cool-retro-term | kitty | sakura | termit | tilix
Description: A lightweight but powerful C/C++ IDE
Red Panda C++ (Old name Red Panda Dev-C++ 7) is a full featured C/C++ IDE.
It's the succesor of Red Panda Dev-C++ 6, which is developed by Delphi 7 and
can only running under Windows.