summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-06-29 00:58:19 +0200
committerSebastian Reichel <sre@ring0.de>2018-07-15 22:59:57 +0200
commit22df08c29f6e4566d418e2a80a8279303406a733 (patch)
treedecb3029284b966635855e1684bc07ef9d3c1a6f /configure
parent17560f8bf49a0be2e0b490159e29f4894fe12cba (diff)
downloadserial-barcode-scanner-22df08c29f6e4566d418e2a80a8279303406a733.tar.bz2
build: switch to meson buildsystem
We build the project with 'meson' now instead of using custom configure script + GNU Makefiles. To build the project, go to the project root directory and use the following commands: Building: meson build cd build ninja Update Language Files: ninja shopsystem-pot ninja shopsystem-update-po Install: DESTDIR=./tmp ninja install
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure56
1 files changed, 0 insertions, 56 deletions
diff --git a/configure b/configure
deleted file mode 100755
index cdadf59..0000000
--- a/configure
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-. ./configure-functions.sh
-
-NAME="serial-barcode-scanner"
-AUTHOR="Sebastian Reichel <sre@ring0.de>"
-VERSION="0.1"
-
-check_dependencies() {
- VALA_VERSION=`valac --api-version`
- GPGME_VERSION=`gpgme-config --version`
- ESMTP_VERSION=`libesmtp-config --version`
-
- echo "Checking software dependencies:"
- check_prg_version valac 0.16 $VALA_VERSION "force"
-
- echo "Checking library dependencies:"
- check_pkg_version ncursesw 5.9 "force"
- check_pkg_version gee-0.8 0.6 "force"
- check_pkg_version gio-2.0 2.36 "force"
- check_pkg_version gmime-3.0 3.0 "force"
- check_prg_version gpgme 1.2 $GPGME_VERSION "force"
- check_pkg_version gstreamer-1.0 1.0 "force"
- check_pkg_version libarchive 3.0 "force"
- check_prg_version libesmtp 0.1 $ESMTP_VERSION "force"
- check_pkg_version librsvg-2.0 2.36 "force"
- check_pkg_version libsoup-2.4 2.48 "force"
- check_pkg_version pangocairo 1.32 "force"
- check_pkg_version sqlite3 3.7 "force"
- check_pkg_version libssl 1.0.0 "force"
-
- echo "Checking font dependencies:"
- check_font LMSans10 "force"
- check_font LMRoman10 "force"
-}
-
-extra_options() {
- case $1 in
- *)
- DESC="not available"
- CMD="not-available"
- esac
-}
-
-BASE=`dirname $0`
-
-check_parameters $@
-check_compiler
-check_install
-check_pkgconfig
-
-check_dependencies
-
-create_config $BASE/config.mk VALAC
-create_header $BASE/config.h VERSION
-
-final_report CC PREFIX