From 986cce66d08e2a990bc0e5d61135bf64215a9dca Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 2 Jun 2024 19:37:17 +0800 Subject: [PATCH] add deepin build script --- packages/debian/builddeb-deepin.sh | 25 ++++++++++++++++++++++++ packages/debian/control.deepin | 31 ++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 packages/debian/builddeb-deepin.sh create mode 100644 packages/debian/control.deepin diff --git a/packages/debian/builddeb-deepin.sh b/packages/debian/builddeb-deepin.sh new file mode 100644 index 00000000..862d2bce --- /dev/null +++ b/packages/debian/builddeb-deepin.sh @@ -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 diff --git a/packages/debian/control.deepin b/packages/debian/control.deepin new file mode 100644 index 00000000..d4795740 --- /dev/null +++ b/packages/debian/control.deepin @@ -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. + + +