diff options
| author | Matt Corallo <[email protected]> | 2017-05-04 17:15:16 -0400 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2017-06-03 21:59:36 +0000 |
| commit | e9a0d89bf7593a1ae7ac9b059793281f0b754540 (patch) | |
| tree | 96fec13ff46f9370fca0acfa46ccc9ac04c25ec9 | |
| parent | Bump minimum boost version in contrib/debian (diff) | |
| download | discoin-e9a0d89bf7593a1ae7ac9b059793281f0b754540.tar.xz discoin-e9a0d89bf7593a1ae7ac9b059793281f0b754540.zip | |
Build with QT5 on Debian-based systems using contrib/debian
Github-Pull: #10328
Rebased-From: c5071e1f03085b4025f2a33fb2c3079d823d660c
| -rw-r--r-- | contrib/debian/changelog | 6 | ||||
| -rw-r--r-- | contrib/debian/control | 4 | ||||
| -rwxr-xr-x | contrib/debian/rules | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/contrib/debian/changelog b/contrib/debian/changelog index f38d6da83..1bef91039 100644 --- a/contrib/debian/changelog +++ b/contrib/debian/changelog @@ -1,3 +1,9 @@ +bitcoin (0.14.1-trusty3) trusty; urgency=medium + + * Build with qt5 if we are on a non-Ubuntu (ie non-Unity) distro. + + -- Matt Corallo (BlueMatt) <[email protected]> Thu, 04 May 2017 17:13:00 -0400 + bitcoin (0.14.1-trusty2) trusty; urgency=medium * Bump minimum boost version in deps. diff --git a/contrib/debian/control b/contrib/debian/control index 53dd4faf4..523b4f936 100644 --- a/contrib/debian/control +++ b/contrib/debian/control @@ -18,8 +18,8 @@ Build-Depends: debhelper, libboost-thread1.48-dev | libboost-thread-dev (>> 1.47), libboost-test1.48-dev | libboost-test-dev (>> 1.47), libboost-chrono1.48-dev | libboost-chrono-dev (>> 1.47), - qt4-qmake, - libqt4-dev, + qt4-qmake, libqt4-dev, + qttools5-dev-tools, qttools5-dev, libqrencode-dev, libprotobuf-dev, protobuf-compiler, python, diff --git a/contrib/debian/rules b/contrib/debian/rules index 8db0b2dba..354f15f32 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -12,10 +12,12 @@ override_dh_auto_clean: if [ -f Makefile ]; then $(MAKE) distclean; fi rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in +QT=$(shell dpkg-vendor --derives-from Ubuntu && echo qt4 || echo qt5) + # Yea, autogen should be run on the source archive, but I like doing git archive override_dh_auto_configure: ./autogen.sh - ./configure --without-miniupnpc --with-gui=qt4 + ./configure --without-miniupnpc --with-gui=$(QT) override_dh_auto_test: make check |