From 22df08c29f6e4566d418e2a80a8279303406a733 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 29 Jun 2018 00:58:19 +0200 Subject: 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 --- configure | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100755 configure (limited to 'configure') 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 " -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 -- cgit v1.2.3