diff --git a/.travis.yml b/.travis.yml index c372f6a0..9eb077a3 100755 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,7 @@ sudo: required services: - docker -before_install: - - sudo apt-get update - - sudo apt-get install -y gpg + addons: apt: sources: diff --git a/debian/control b/debian/control index 5fc4532a..0c9693d4 100755 --- a/debian/control +++ b/debian/control @@ -11,7 +11,8 @@ Build-Depends: cmake (>= 2.8), libvte-2.91-dev, libgranite-dev, libgee-0.8-dev, - libunity-dev + libunity-dev, + gpg Standards-Version: 3.9.3 Package: com.github.muriloventuroso.easyssh diff --git a/meson.build b/meson.build index 27b700ce..2acacbac 100755 --- a/meson.build +++ b/meson.build @@ -33,11 +33,9 @@ if get_option('libunity') endif if with_gpg + gpg = find_program('gpg', 'gpg2', required: true) + add_project_arguments(['--define', 'WITH_GPG'], language : 'vala') - gpg = find_program('gpg', 'gpg2', required: false) - if gpg.found() - add_project_arguments(['--define', 'WITH_GPG'], language : 'vala') - endif endif