app: rename gst_pipeline_studio to gst-pipeline-studio

This commit is contained in:
Stéphane Cerveau 2024-01-04 14:32:17 +01:00
parent 3aded523c2
commit af317eee96
11 changed files with 37 additions and 37 deletions

42
Cargo.lock generated
View file

@ -534,6 +534,27 @@ dependencies = [
"system-deps", "system-deps",
] ]
[[package]]
name = "gst-pipeline-studio"
version = "0.3.4"
dependencies = [
"anyhow",
"chrono",
"futures-channel",
"futures-executor",
"gst-plugin-gtk4",
"gstreamer",
"gtk4",
"lazy_static",
"log 0.4.14",
"once_cell",
"serde",
"serde_any",
"simplelog",
"structopt",
"xml-rs 0.8.4",
]
[[package]] [[package]]
name = "gst-plugin-gtk4" name = "gst-plugin-gtk4"
version = "0.11.0" version = "0.11.0"
@ -559,27 +580,6 @@ dependencies = [
"chrono", "chrono",
] ]
[[package]]
name = "gst_pipeline_studio"
version = "0.3.4"
dependencies = [
"anyhow",
"chrono",
"futures-channel",
"futures-executor",
"gst-plugin-gtk4",
"gstreamer",
"gtk4",
"lazy_static",
"log 0.4.14",
"once_cell",
"serde",
"serde_any",
"simplelog",
"structopt",
"xml-rs 0.8.4",
]
[[package]] [[package]]
name = "gstreamer" name = "gstreamer"
version = "0.21.0" version = "0.21.0"

View file

@ -1,5 +1,5 @@
[package] [package]
name = "gst_pipeline_studio" name = "gst-pipeline-studio"
version = "0.3.4" version = "0.3.4"
edition = "2018" edition = "2018"
rust-version = "1.70.0" rust-version = "1.70.0"

View file

@ -51,7 +51,7 @@ brew install gstreamer gst-plugins-base gst-plugins-bad
```sh ```sh
$ meson builddir -Dbuildtype=release $ meson builddir -Dbuildtype=release
$ ninja -C builddir $ ninja -C builddir
$ ./builddir/target/release/gst_pipeline_studio $ ./builddir/target/release/gst-pipeline-studio
``` ```
## Flatpak ## Flatpak

View file

@ -6,7 +6,7 @@
"sdk-extensions": [ "sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable" "org.freedesktop.Sdk.Extension.rust-stable"
], ],
"command": "gst_pipeline_studio", "command": "gst-pipeline-studio",
"finish-args": [ "finish-args": [
"--socket=fallback-x11", "--socket=fallback-x11",
"--socket=wayland", "--socket=wayland",
@ -45,7 +45,7 @@
] ]
}, },
{ {
"name": "gst_pipeline_studio", "name": "gst-pipeline-studio",
"buildsystem": "meson", "buildsystem": "meson",
"run-tests": true, "run-tests": true,
"config-opts": [ "config-opts": [

View file

@ -3,7 +3,7 @@ Name=GstPipelineStudio
GenericName=GPS GenericName=GPS
Comment=A GUI for GStreamer Comment=A GUI for GStreamer
Type=Application Type=Application
Exec=gst_pipeline_studio Exec=gst-pipeline-studio
Terminal=false Terminal=false
Categories=AudioVideo;Audio;Video;Midi;Settings;GNOME;GTK; Categories=AudioVideo;Audio;Video;Midi;Settings;GNOME;GTK;
Icon=@icon@ Icon=@icon@

View file

@ -93,7 +93,7 @@ function lib_dependency_analyze
# copy app dependency library to target dir # copy app dependency library to target dir
echo -n "Copy app dependency library......" echo -n "Copy app dependency library......"
lib_dependency_copy ${TARGETDIR}/bin/gst_pipeline_studio "${TARGETDIR}/bin" lib_dependency_copy ${TARGETDIR}/bin/gst-pipeline-studio "${TARGETDIR}/bin"
lib_dependency_copy ${TARGETDIR}/lib/libgobject-2.0.0.dylib "${TARGETDIR}/bin" lib_dependency_copy ${TARGETDIR}/lib/libgobject-2.0.0.dylib "${TARGETDIR}/bin"
lib_dependency_copy ${TARGETDIR}/lib/libsoup-2.4.1.dylib "${TARGETDIR}/bin" lib_dependency_copy ${TARGETDIR}/lib/libsoup-2.4.1.dylib "${TARGETDIR}/bin"
lib_dependency_copy "${TARGETDIR}/bin/libgtk-4.1.dylib" "${TARGETDIR}/bin" lib_dependency_copy "${TARGETDIR}/bin/libgtk-4.1.dylib" "${TARGETDIR}/bin"

View file

@ -18,7 +18,7 @@
<key>GtkOSXLaunchScriptFile</key> <key>GtkOSXLaunchScriptFile</key>
<string>launcher.sh</string> <string>launcher.sh</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>gst_pipeline_studio</string> <string>gst-pipeline-studio</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>GstPipelineStudio.icns</string> <string>GstPipelineStudio.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
@ -38,6 +38,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>1</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string>NSApplication</string> <string>NSApplication</string>
</dict> </dict>
</plist> </plist>

View file

@ -93,10 +93,10 @@ cp -rf "$APP_BUILD/etc" "$APP_RES_DIR"
cp -rf "$APP_BUILD/lib" "$APP_RES_DIR" cp -rf "$APP_BUILD/lib" "$APP_RES_DIR"
cp -rf "$APP_BUILD/share" "$APP_RES_DIR" cp -rf "$APP_BUILD/share" "$APP_RES_DIR"
cp -rf "$APP_BUILD/libexec" "$APP_RES_DIR" cp -rf "$APP_BUILD/libexec" "$APP_RES_DIR"
cp $APP_BUILD/bin/gst_pipeline_studio $APP_EXE_DIR/gst_pipeline_studio-real cp $APP_BUILD/bin/gst-pipeline-studio $APP_EXE_DIR/gst-pipeline-studio-real
cp $APP_BUILD/bin/launcher.sh $APP_EXE_DIR/gst_pipeline_studio cp $APP_BUILD/bin/launcher.sh $APP_EXE_DIR/gst-pipeline-studio
chmod 766 "$APP_EXE_DIR/gst_pipeline_studio" chmod 766 "$APP_EXE_DIR/gst-pipeline-studio"
chmod 766 "$APP_EXE_DIR/gst_pipeline_studio-real" chmod 766 "$APP_EXE_DIR/gst-pipeline-studio-real"
chmod -R 766 "$APP_RES_DIR"/libexec/gstreamer-1.0 chmod -R 766 "$APP_RES_DIR"/libexec/gstreamer-1.0
@ -123,7 +123,7 @@ done
lib_change_paths \ lib_change_paths \
@executable_path/../Resources/lib \ @executable_path/../Resources/lib \
$APP_LIB_DIR \ $APP_LIB_DIR \
$APP_EXE_DIR/gst_pipeline_studio-real $APP_EXE_DIR/gst-pipeline-studio-real
lib_change_siblings $APP_LIB_DIR @loader_path lib_change_siblings $APP_LIB_DIR @loader_path

View file

@ -167,4 +167,4 @@ if /bin/expr "x$1" : '^x-psn_' > /dev/null; then
shift 1 shift 1
fi fi
$EXEC "$bundle_contents/MacOS/gst_pipeline_studio-real" "$@" $EXTRA_ARGS $EXEC "$bundle_contents/MacOS/gst-pipeline-studio-real" "$@" $EXTRA_ARGS

View file

@ -5,4 +5,4 @@ set PATH=%MYDIR%bin;%PATH%
echo %PATH% echo %PATH%
set GST_PLUGIN_PATH=%MYDIR%\lib\gstreamer-1.0 set GST_PLUGIN_PATH=%MYDIR%\lib\gstreamer-1.0
echo %GST_PLUGIN_PATH% echo %GST_PLUGIN_PATH%
gst_pipeline_studio.exe gst-pipeline-studio.exe

View file

@ -1,4 +1,4 @@
project('gst_pipeline_studio', project('gst-pipeline-studio',
version: '0.3.4', version: '0.3.4',
meson_version: '>= 0.63.0', meson_version: '>= 0.63.0',
default_options: [ 'warning_level=2', default_options: [ 'warning_level=2',