Skip to content

Commit

Permalink
re-attempt at snapcraft packetsender
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Jun 9, 2024
1 parent 36a3075 commit bc99d3b
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 3 deletions.
7 changes: 4 additions & 3 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: |
# sudo snap install packetsender*.snap --dangerous

grade: stable
base: core22
base: core24
confinement: strict
architectures: [amd64]
environment:
Expand All @@ -32,8 +32,9 @@ apps:

parts:
packetsender:
plugin: cmake
source: https://github.com/dannagle/PacketSender.git
plugin: qmake
qt-version: qt6
source: https://github.com/dannagle/PacketSenderSnap.git
source-branch: master
cmake-parameters:
- $SNAPCRAFT_PART_SRC/src
Expand Down
74 changes: 74 additions & 0 deletions src/PacketSenderSnap.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Project file used by snapcraft

QT += core gui network widgets

DEFINES += "ISSNAP=1"


TARGET = packetsender
TEMPLATE = app
DEFINES += GUI_BUILD

TRANSLATIONS += languages/packetsender_en.ts \
languages/packetsender_es.ts \
languages/packetsender_fr.ts \
languages/packetsender_de.ts \
languages/packetsender_hi.ts \
languages/packetsender_it.ts

SOURCES += mainwindow.cpp \
languagechooser.cpp \
panel.cpp \
sendpacketbutton.cpp \
brucethepoodle.cpp \
irisandmarigold.cpp \
persistentconnection.cpp \
about.cpp \
subnetcalc.cpp \
cloudui.cpp \
multicastsetup.cpp \
udpflooding.cpp \
packetlogmodel.cpp \
postdatagen.cpp \
panelgenerator.cpp \
persistenthttp.cpp \
wakeonlan.cpp

HEADERS += mainwindow.h \
languagechooser.h \
panel.h \
sendpacketbutton.h \
brucethepoodle.h \
irisandmarigold.h \
persistentconnection.h \
about.h \
subnetcalc.h \
cloudui.h \
multicastsetup.h \
udpflooding.h \
packetlogmodel.h \
postdatagen.h\
panelgenerator.h \
persistenthttp.h \
wakeonlan.h



FORMS += mainwindow.ui \
brucethepoodle.ui \
irisandmarigold.ui \
languagechooser.ui \
persistentconnection.ui \
settings.ui \
about.ui \
subnetcalc.ui \
cloudui.ui \
multicastsetup.ui \
udpflooding.ui \
persistenthttp.ui \
postdatagen.ui \
panelgenerator.ui \
wakeonlan.ui


include(packetsender_main.pri)

0 comments on commit bc99d3b

Please sign in to comment.