Flatpak: Don't do an in-tree build
This commit is contained in:
parent
8d9ec2fde9
commit
89016834cf
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
DATE=$(git log -1 --pretty=%cd --date=iso8601 --date=format:'%Y-%m-%d')
|
DATE=$(git log -1 --pretty=%cd --date=iso8601 --date=format:'%Y-%m-%d')
|
||||||
sed -i -e "s/@DATE_PLACEHOLDER/${DATE}/" org.DolphinEmu.dolphin-emu.metainfo.xml
|
sed -i -e "s/@DATE_PLACEHOLDER/${DATE}/" ../org.DolphinEmu.dolphin-emu.metainfo.xml
|
||||||
VERSION=$(git describe --tags | sed -E 's/^([0-9]+-[0-9]+).*/\1/')
|
VERSION=$(git describe --tags | sed -E 's/^([0-9]+-[0-9]+).*/\1/')
|
||||||
sed -i -e "s/@VERSION_PLACEHOLDER/${VERSION}/" org.DolphinEmu.dolphin-emu.metainfo.xml
|
sed -i -e "s/@VERSION_PLACEHOLDER/${VERSION}/" ../org.DolphinEmu.dolphin-emu.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@ modules:
|
||||||
|
|
||||||
- name: dolphin-emu
|
- name: dolphin-emu
|
||||||
buildsystem: cmake-ninja
|
buildsystem: cmake-ninja
|
||||||
|
builddir: true
|
||||||
config-opts:
|
config-opts:
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
- -DENABLE_ALSA=OFF
|
- -DENABLE_ALSA=OFF
|
||||||
|
@ -61,9 +62,9 @@ modules:
|
||||||
cleanup:
|
cleanup:
|
||||||
- /share/man
|
- /share/man
|
||||||
post-install:
|
post-install:
|
||||||
- install -D -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
|
- install -D -t ${FLATPAK_DEST}/bin/ ../dolphin-emu-wrapper
|
||||||
- "${FLATPAK_BUILDER_BUILDDIR}/Flatpak/fill_release_node.sh"
|
- "${FLATPAK_BUILDER_BUILDDIR}/Flatpak/fill_release_node.sh"
|
||||||
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ org.DolphinEmu.dolphin-emu.metainfo.xml
|
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ ../org.DolphinEmu.dolphin-emu.metainfo.xml
|
||||||
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
|
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
|
||||||
/app/share/applications/dolphin-emu.desktop
|
/app/share/applications/dolphin-emu.desktop
|
||||||
sources:
|
sources:
|
||||||
|
|
Loading…
Reference in New Issue