summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-12-03 15:06:11 +0000
committerVincent Sanders <vince@kyllikki.org>2019-12-03 22:12:37 +0000
commit492b28c439ce4694aff20dd0a14936af62b9c9d7 (patch)
tree792da36525473966f5a95337eab0fa2a91720e3f /rules
parentc1828cce0bfac32491a2721b33900ba01687f20a (diff)
downloaddebian-492b28c439ce4694aff20dd0a14936af62b9c9d7.tar.gz
debian-492b28c439ce4694aff20dd0a14936af62b9c9d7.tar.bz2
build both gtk3 and gtk2 versionsHEADmaster
Diffstat (limited to 'rules')
-rwxr-xr-xrules18
1 files changed, 13 insertions, 5 deletions
diff --git a/rules b/rules
index 49c27e9..ec16557 100755
--- a/rules
+++ b/rules
@@ -12,21 +12,29 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
dh $@
override_dh_auto_build:
- dh_auto_build -- V=1 PREFIX=/usr TARGET=gtk
+ dh_auto_build -- V=1 PREFIX=/usr TARGET=gtk2
+ dh_auto_build -- V=1 PREFIX=/usr TARGET=gtk3
dh_auto_build -- V=1 PREFIX=/usr TARGET=framebuffer
override_dh_auto_install:
- dh_auto_install -- PREFIX=/usr TARGET=gtk
+ dh_auto_install -- PREFIX=/usr TARGET=gtk3
mkdir -p debian/netsurf-gtk/usr/share/pixmaps
mkdir -p debian/netsurf-gtk/usr/share/applications
- convert netsurf/frontends/gtk/res/netsurf.xpm -resize \!32x\!32 debian/netsurf-gtk/usr/share/pixmaps/netsurf.xpm
- convert netsurf/frontends/gtk/res/netsurf.xpm +set date:create +set date:modify -define png:exclude-chunk=time debian/netsurf-gtk/usr/share/pixmaps/netsurf.png
+ convert netsurf/frontends/gtk/res/netsurf.xpm -resize \!32x\!32 debian/netsurf-gtk/usr/share/pixmaps/netsurf3.xpm
+ convert netsurf/frontends/gtk/res/netsurf.xpm +set date:create +set date:modify -define png:exclude-chunk=time debian/netsurf-gtk/usr/share/pixmaps/netsurf3.png
install -m 644 debian/netsurf-gtk.desktop debian/netsurf-gtk/usr/share/applications
+ dh_auto_install -- PREFIX=/usr TARGET=gtk2
+ mkdir -p debian/netsurf-gtk2/usr/share/pixmaps
+ mkdir -p debian/netsurf-gtk2/usr/share/applications
+ convert netsurf/frontends/gtk/res/netsurf.xpm -resize \!32x\!32 debian/netsurf-gtk2/usr/share/pixmaps/netsurf2.xpm
+ convert netsurf/frontends/gtk/res/netsurf.xpm +set date:create +set date:modify -define png:exclude-chunk=time debian/netsurf-gtk2/usr/share/pixmaps/netsurf2.png
+ install -m 644 debian/netsurf-gtk2.desktop debian/netsurf-gtk2/usr/share/applications
dh_auto_install -- PREFIX=/usr TARGET=framebuffer
rm debian/tmp/usr/share/netsurf/ca-bundle.txt
ln -s /etc/ssl/certs/ca-certificates.crt debian/tmp/usr/share/netsurf/ca-bundle.txt
override_dh_auto_clean:
- dh_auto_clean -- PREFIX=/usr TARGET=gtk
+ dh_auto_clean -- PREFIX=/usr TARGET=gtk2
+ dh_auto_clean -- PREFIX=/usr TARGET=gtk3
dh_auto_clean -- PREFIX=/usr TARGET=framebuffer