fiddle with appimage/gstreamer
This commit is contained in:
parent
d650c6a87c
commit
8cde9ab748
@ -24,7 +24,7 @@
|
|||||||
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="4.2.4" date="2022-09-14"/>
|
<release version="4.2.4" date="2022-09-15"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.0">
|
<content_rating type="oars-1.0">
|
||||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||||
|
@ -75,13 +75,10 @@ if [ $is_linux = true ]; then
|
|||||||
|
|
||||||
# Copy Gstreamer libs.
|
# Copy Gstreamer libs.
|
||||||
install -v -Dm755 "/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" "AppDir/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
|
install -v -Dm755 "/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" "AppDir/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
|
||||||
gst_executables="--executable=./AppDir/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
|
|
||||||
gst_libs=""
|
|
||||||
|
|
||||||
for plugin in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgst*.so; do
|
for plugin in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/*; do
|
||||||
basen=$(basename "$plugin")
|
basen=$(basename "$plugin")
|
||||||
install -v -Dm755 "$plugin" "./AppDir/usr/lib/gstreamer-1.0/$basen"
|
install -v -Dm755 "$plugin" "./AppDir/usr/lib/gstreamer-1.0/$basen"
|
||||||
gst_libs="${gst_libs} --library=./AppDir/usr/lib/gstreamer-1.0/$basen"
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ "$webengine" == "ON" ]]; then
|
if [[ "$webengine" == "ON" ]]; then
|
||||||
@ -97,7 +94,7 @@ if [ $is_linux = true ]; then
|
|||||||
export LD_LIBRARY_PATH="$QTPATH/$QTVERSION/$QTOS/lib:$(pwd)/AppDir/usr/lib"
|
export LD_LIBRARY_PATH="$QTPATH/$QTVERSION/$QTOS/lib:$(pwd)/AppDir/usr/lib"
|
||||||
|
|
||||||
# Create AppImage.
|
# Create AppImage.
|
||||||
./linuxdeploy-x86_64.AppImage --output "appimage" --plugin "qt" --plugin "gstreamer" --appdir "AppDir" $gst_executables $gst_libs
|
./linuxdeploy-x86_64.AppImage --output "appimage" --plugin "qt" --appdir "AppDir"
|
||||||
|
|
||||||
# Rename AppImaage.
|
# Rename AppImaage.
|
||||||
set -- R*.AppImage
|
set -- R*.AppImage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user