Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/VLC/extras/package/snap/   (VLC Media Plyer ©)  Datei vom 23.9.2026 mit Größe 937 B image not shown  

Quelle  build.sh   Sprache: Shell

 

#! /bin/sh
set -e

SCRIPT_PATH="$( cd "$(dirname "$0")" ; pwd -P )"
ROOT_DIR="${SCRIPT_PATH}/../../.."

usage()
{
cat << EOF
usage: $0 [options]

Build vlc snap package

OPTIONS:
   -h            Show some help
   -p            Generate prebuilt contrib package
EOF
}

SAVE_PREBUILT=""
while getopts "hp" OPTION
do
    case $OPTION in
        p)
            SAVE_PREBUIT="yes"
        ;;
        h)
            usage
            exit 1
        ;;
    esac
done

if [ "$SAVE_PREBUIT" = "yes" ]; then
    touch ${ROOT_DIR}/snap-save-prebuilt
else
    if [ -e ${ROOT_DIR}/snap-save-prebuilt ]; then
        rm ${ROOT_DIR}/snap-save-prebuilt
    fi
fi

export SNAPCRAFT_BUILD_INFO=1

# snapcraft only support to be called from project root
cd ${ROOT_DIR}
# snapcraft need to have its yaml file in the project root directory
if [ ! -e .snapcraft.yaml ]; then
    ln -s -f extras/package/snap/snapcraft.yaml .snapcraft.yaml
fi

snapcraft pack

Messung
CHZG
829910093

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.