110 lines
4.0 KiB
YAML
110 lines
4.0 KiB
YAML
id: org.xfce.Thunar
|
|
runtime: org.gnome.Platform
|
|
runtime-version: 3.28
|
|
sdk: org.gnome.Sdk
|
|
branch: master
|
|
separate-locales: false
|
|
|
|
modules:
|
|
- name: xfce-dev-tools
|
|
sources:
|
|
- type: archive
|
|
url: https://git.xfce.org/xfce/xfce4-dev-tools/snapshot/xfce4-dev-tools-4.12.0.tar.gz
|
|
sha256: a9ef192f0de6560b19831f1783d9e77d7e31dfd8c08e3e69c82754dbd3cca0a0
|
|
- name: perl5
|
|
sources:
|
|
- type: archive
|
|
url: https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz
|
|
sha256: 7e929f64d4cb0e9d1159d4a59fc89394e27fa1f7004d0836ca0d514685406ea8
|
|
- type: shell
|
|
commands:
|
|
- ./Configure -des -Dprefix=/app
|
|
build-options:
|
|
no-debuginfo: true
|
|
strip: false
|
|
no-autogen: true
|
|
cleanup:
|
|
- "*"
|
|
- name: perl5-moduels-xfce4util
|
|
build-options:
|
|
build-args:
|
|
- --share=network
|
|
buildsystem: simple
|
|
build-commands:
|
|
- cpan URI::Escape
|
|
- cpan URI::file
|
|
- cpan URI::URL
|
|
cleanup:
|
|
- "*"
|
|
- name: xfce4util
|
|
sources:
|
|
- type: archive
|
|
url: https://git.xfce.org/xfce/libxfce4util/snapshot/libxfce4util-4.13.2.tar.gz
|
|
sha256: 96a396df9ba3ca63e541e3b6f773dc17b0d03432049e9cab914cb5c0082b9821
|
|
config-opts:
|
|
- --enable-maintainer-mode
|
|
- name: xfconf
|
|
sources:
|
|
- type: archive
|
|
url: https://git.xfce.org/xfce/xfconf/snapshot/xfconf-4.13.5.tar.gz
|
|
sha256: b50e4e5cf9ed58aa556a38edf188f2ff9576389a345950b643f4113c6aea26de
|
|
- name: xfce4ui
|
|
sources:
|
|
- type: archive
|
|
url: https://git.xfce.org/xfce/libxfce4ui/snapshot/libxfce4ui-4.13.4.tar.gz
|
|
sha256: c8d4bd61f9f1e5afc0aa72f86e53483637dba52bf3412070705de7e130c42319
|
|
config-opts:
|
|
- --enable-maintainer-mode
|
|
- name: exo
|
|
sources:
|
|
- type: archive
|
|
url: https://git.xfce.org/xfce/exo/snapshot/exo-0.12.2.tar.gz
|
|
sha256: ef24f354305d48217da2926705208ef2ba3933e26699b9df6f88c6b33d871fde
|
|
config-opts:
|
|
- --enable-maintainer-mode
|
|
- name: perl5-moduels-thunar
|
|
build-options:
|
|
build-args:
|
|
- --share=network
|
|
no-debuginfo: true
|
|
strip: false
|
|
buildsystem: simple
|
|
build-commands:
|
|
- cpan XML::Parser
|
|
cleanup:
|
|
- "*"
|
|
- name: thunar
|
|
sources:
|
|
- type: archive
|
|
url: https://git.xfce.org/xfce/thunar/snapshot/thunar-1.8.1.tar.gz
|
|
sha256: edc318cac77aa196e397a95b2aa635fd568660e016b3663b18d9b0e92d1cc9e0
|
|
- type: patch
|
|
path: opendialog.patch
|
|
config-opts:
|
|
- --enable-maintainer-mode
|
|
- name: fix-starter
|
|
buildsystem: simple
|
|
build-commands:
|
|
- mv /app/share/applications/Thunar.desktop .; rm -v /app/share/applications/*; mv Thunar.desktop /app/share/applications/org.xfce.Thunar.desktop
|
|
- bash -c "for x in /app/share/icons/hicolor/*/apps/Thunar.png; do mv -v \$x \${x%Thunar.png}org.xfce.Thunar.png; done"
|
|
- bash -c "for x in /app/share/icons/hicolor/*/apps/Thunar.svg; do mv -v \$x \${x%Thunar.svg}org.xfce.Thunar.svg; done"
|
|
- perl -pi -e s/Icon\\=Thunar/Icon\\=org\\.xfce\\.Thunar/g /app/share/applications/org.xfce.Thunar.desktop
|
|
- rm -v /app/bin/exo-open; echo "exec gio open \\$@" > /app/bin/exo-open; chmod +x /app/bin/exo-open
|
|
cleanup:
|
|
- /include
|
|
- /lib/debug
|
|
- /lib/pkgconfig
|
|
- /lib/systemd
|
|
- /share/doc
|
|
- /share/man
|
|
command: thunar
|
|
finish-args:
|
|
- --filesystem=host
|
|
- --share=ipc
|
|
- --share=network
|
|
- --socket=x11
|
|
- --socket=wayland
|
|
- --device=all
|
|
- --own-name=org.xfce.FileManager
|
|
- --socket=system-bus
|