This commit is contained in:
2018-12-23 15:52:08 -03:00
parent 7f24927c95
commit 9c5c7f1e7d
15 changed files with 230 additions and 496 deletions

View File

@@ -1,15 +0,0 @@
#!/bin/sh -eu
libdir="${MESON_INSTALL_DESTDIR_PREFIX}/lib"
mkdir -p $libdir
#libfile=`ldd ${MESON_INSTALL_DESTDIR_PREFIX}/bin/sernatur | grep libpq | cut -d ' ' -f 3`
#cp $libfile "${libdir}"
#strip "${libdir}/libpq"*
if [ -f "${MESON_INSTALL_DESTDIR_PREFIX}"/bin/sernatur ]; then
echo "Copying linked dynamic libs..."
ldd "${MESON_INSTALL_DESTDIR_PREFIX}"/bin/sernatur | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' "${libdir}"
fi
echo "Stripping libs..."
strip --strip-debug "${libdir}/"*

View File

@@ -1,7 +1,2 @@
bundle_libs = get_option('bundle_libs')
if bundle_libs
install_data('sernatur.sh', install_dir: '.')
meson.add_install_script('linux_bundler.sh')
endif
valadoc = find_program('glib-compile-schemas')
meson.add_install_script('compile_schemas.sh')

View File

@@ -1,7 +0,0 @@
#!/bin/bash
cd "${0%/*}"
export LD_LIBRARY_PATH="`pwd`/lib"
export GSETTINGS_SCHEMA_DIR="`pwd`/share/glib-2.0/schemas"
bin/sernatur