mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-03 02:37:46 +01:00
bundle gstreamer in a better way
This commit is contained in:
parent
854ca304a1
commit
0e38a917dc
@ -75,10 +75,13 @@ if [ $is_linux = true ]; then
|
||||
|
||||
# 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"
|
||||
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
|
||||
basen=$(basename "$plugin")
|
||||
install -v -Dm755 "$plugin" "AppDir/usr/lib/gstreamer-1.0/$basen"
|
||||
#basen=$(basename "$plugin")
|
||||
#install -v -Dm755 "$plugin" "AppDir/usr/lib/gstreamer-1.0/$basen"
|
||||
gst_libs="${gst_libs} --library=$plugin"
|
||||
done
|
||||
|
||||
if [[ "$webengine" == "ON" ]]; then
|
||||
@ -94,7 +97,7 @@ if [ $is_linux = true ]; then
|
||||
export LD_LIBRARY_PATH="$QTPATH/$QTVERSION/$QTOS/lib:$(pwd)/AppDir/usr/lib"
|
||||
|
||||
# Create AppImage.
|
||||
./linuxdeploy-x86_64.AppImage --output "appimage" --plugin "qt" --plugin "gstreamer" --appdir "AppDir"
|
||||
./linuxdeploy-x86_64.AppImage --output "appimage" --plugin "qt" --plugin "gstreamer" --appdir "AppDir" $gst_executables $gst_libs
|
||||
|
||||
# Rename AppImaage.
|
||||
set -- R*.AppImage
|
||||
|
Loading…
x
Reference in New Issue
Block a user