add debian

This commit is contained in:
clcmj
2022-04-12 09:15:12 +08:00
parent 923a19eac5
commit 452b7ea2f6
18 changed files with 2075 additions and 3 deletions

View File

@ -0,0 +1,2 @@
# Triggers added by dh_makeshlibs/12.10ubuntu1
activate-noawait ldconfig

8
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,8 @@
vfeda for Debian
Please edit this to provide information specific to
this vfeda Debian package.
(Automatically generated by debmake Version 4.3.1)
-- <> Thu, 07 Apr 2022 16:09:07 +0800

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
vfeda (1.1.1-1) UNRELEASED; urgency=low
* Initial release. Closes: #nnnn
<nnnn is the bug number of your ITP>
-- <> Thu, 07 Apr 2022 16:09:07 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
11

15
debian/control vendored Normal file
View File

@ -0,0 +1,15 @@
Source: vfeda
Section: unknown
Priority: optional
Maintainer: cuilicheng <cuilicheng@uniontech.com>
Build-Depends: debhelper (>=11~)
Standards-Version: 4.1.4
Homepage: https://gitee.com/eda-development/eda_fpga
Package: vfeda
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: auto-generated package by debmake
This Debian binary package was auto-generated by the
debmake(1) command provided by the debmake package.

1976
debian/copyright vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/debhelper-build-stamp vendored Normal file
View File

@ -0,0 +1 @@
vfeda

2
debian/files vendored Normal file
View File

@ -0,0 +1,2 @@
vfeda_1.1.1-1_amd64.buildinfo unknown optional
vfeda_1.1.1-1_amd64.deb unknown optional

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
# You must remove unused comment lines for the released package.

32
debian/rules vendored Executable file
View File

@ -0,0 +1,32 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
#export JOBS= $(shell cat /proc/cpuinfo | grep 'process' | wc -l)
#export PKG=ca.littlesvr.www.isomaster
%:
dh $@
override_dh_auto_clean:
#rm -r $(CURDIR)/debian/build/
override_dh_auto_configure:
mkdir -p $(CURDIR)/debian/build
cd $(CURDIR)/debian/build && qmake $(CURDIR)/src
override_dh_auto_build:
cd $(CURDIR)/debian/build && make -j4
override_dh_auto_install:
cd $(CURDIR)/debian/build && make install INSTALL_ROOT=$(CURDIR)/debian/vfeda
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/source/local-options vendored Normal file
View File

@ -0,0 +1,2 @@
#abort-on-upstream-changes
#unapply-patches

3
debian/vfeda.substvars vendored Normal file
View File

@ -0,0 +1,3 @@
shlibs:Depends=libc6 (>= 2.14), libgcc-s1 (>= 3.0), libgl1, libqt5core5a (>= 5.12.2), libqt5gui5 (>= 5.11.0~rc1) | libqt5gui5-gles (>= 5.11.0~rc1), libqt5printsupport5 (>= 5.0.2), libqt5widgets5 (>= 5.11.0~rc1), libqt5xml5 (>= 5.0.2), libstdc++6 (>= 5.2), vfeda
misc:Depends=
misc:Pre-Depends=

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
# You must remove unused comment lines for the released package.
version=3

Binary file not shown.

View File

@ -26,6 +26,17 @@ contains(QT_ARCH, arm64){#arm64
LIBS+= "$$PWD/../libs/arm64/libqscintilla2_qt5_arm64.so"
}else{#x86
LIBS+= "$$PWD/../libs/linux/libqscintilla2_qt5.so"
target.path = /usr/bin
lib.files = $$PWD/../libs/linux/*
lib.path = $$PREFIX/usr/lib
desktop.files = $$PWD/vfeda.desktop
desktop.path = $$PREFIX/usr/share/applications
icon.files = $$PWD/icon.ico
icon.path = $$PREFIX/usr/share/icons
translations.files = $$PWD/../lang
translations.path = $$PREFIX/usr/bin/
INSTALLS += target desktop icon lib translations
}
}
RC_ICONS = icon.ico
@ -85,9 +96,9 @@ FORMS += \
new_testbench.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
#qnx: target.path = /tmp/$${TARGET}/bin
#else: unix:!android: target.path = /opt/$${TARGET}/bin
#!isEmpty(target.path): INSTALLS += target
DISTFILES += \
icon.ico \

9
src/vfeda.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Categories=Utility;Calculator;
Comment=vfeda
Exec=eda_qt
GenericName=vfeda
Icon=/usr/share/icons/icon.ico
Name=Visual FEDA
StartupNotify=true
Type=Application