mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-07-01 10:57:43 +02:00
Add deb package
This commit is contained in:
3
dist/deb/debian.changelog
vendored
Normal file
3
dist/deb/debian.changelog
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
systray-x (0.0.1-1) unstable; urgency=low
|
||||
|
||||
* Initial Release
|
||||
1
dist/deb/debian.compat
vendored
Normal file
1
dist/deb/debian.compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
20
dist/deb/debian.control
vendored
Normal file
20
dist/deb/debian.control
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
Source: systray-x
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
Build-Depends: debhelper (>= 4.1.16), zip, qt5-default, qtbase5-dev, thunderbird
|
||||
|
||||
Package: systray-x
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, thunderbird
|
||||
Description: SysTray-X is a system tray extension for Thunderbird 68+.
|
||||
The add-on uses the WebExtension API's to control an external system
|
||||
dependent system tray application.
|
||||
The add-on and system tray application can do:
|
||||
* custom new mail icon
|
||||
* display number of unread mails
|
||||
* show / hide Thunderbird (minimize)
|
||||
* minimizing hides to tray
|
||||
* minimize on startup
|
||||
* to be implemented: start a new mail
|
||||
* to be implemented: open the last used account
|
||||
94
dist/deb/debian.rules
vendored
Normal file
94
dist/deb/debian.rules
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# This is the debhelper compatibility version to use.
|
||||
#export DH_COMPAT=4
|
||||
|
||||
CFLAGS = -g
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|/usr/bin/SysTray-X|' > SysTray_X.json
|
||||
make
|
||||
# --- end custom part for compiling
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
make clean || true
|
||||
# --- end custom part for cleaning up
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package
|
||||
# The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/<nameOfPackage>
|
||||
|
||||
mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/bin
|
||||
cp -f SysTray-X /usr/src/packages/BUILD/debian/systray-x/usr/bin/SysTray-X
|
||||
|
||||
mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/mozilla/native-messaging-hosts
|
||||
cp -f SysTray_X.json /usr/src/packages/BUILD/debian/systray-x/usr/lib/mozilla/native-messaging-hosts/SysTray_X.json
|
||||
|
||||
mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions
|
||||
cp -f systray-x.xpi /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi
|
||||
# --- end custom part for installing
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
# dh_installdebconf
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installmenu
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# dh_installinit
|
||||
dh_installcron
|
||||
dh_installman
|
||||
dh_installinfo
|
||||
# dh_undocumented
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
# dh_perl
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary installing
|
||||
7
dist/deb/systray-x.dsc
vendored
Normal file
7
dist/deb/systray-x.dsc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Format: 1.0
|
||||
Source: systray-x
|
||||
Version: 0
|
||||
Binary: SysTray-X
|
||||
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
|
||||
Architecture: any
|
||||
Build-Depends: debhelper (>= 4.1.16), zip, qt5-default, qtbase5-dev, thunderbird
|
||||
Reference in New Issue
Block a user