Skip to content

Commit

Permalink
add weechat
Browse files Browse the repository at this point in the history
  • Loading branch information
tinywrkb committed Dec 8, 2020
1 parent 3e71d67 commit f336a50
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions org.weechat.weechat/org.weechat.weechat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# TODO: add ruby
app-id: org.weechat.weechat
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk: org.freedesktop.Sdk
command: weechat
rename-desktop-file: weechat.desktop
rename-icon: weechat
finish-args:
- --env=WEECHAT_HOME=~/.config/weechat
- --persist=.config/weechat
- --share=network
cleanup:
- /include
- /lib/pkgconfig
- '*.a'
- '*.la'
modules:
- name: weechat
buildsystem: cmake
config-opts:
- -DENABLE_PHP=OFF
- -DENABLE_RUBY=OFF
sources:
- type: archive
url: https://github.com/weechat/weechat/archive/v3.0.tar.gz
sha256: bd23fe4c775fea5e140ad6aed696daa22dee97a298a37211d0da2b45935bf076
modules:
- ../flathub-shared-modules/lua5.1/lua-5.1.5.json
- name: tcl
subdir: unix
build-options:
no-debuginfo: true
strip: false
config-opts:
- --enable-threads
- --enable-64bit
post-install:
- ln -s tclsh8.6 /app/bin/tclsh
sources:
- type: archive
url: https://downloads.sourceforge.net/sourceforge/tcl/tcl8.6.10-src.tar.gz
sha256: 5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed
- type: shell
commands:
- rm -rf pkgs/sqlite3*
#- 'sed -i ''s/^\(\.PHONY: install\) install-strip/\1/'' unix/Makefile.in'
- name: guile
config-opts:
- --disable-static
- --disable-error-on-warning
sources:
- type: archive
url: https://ftp.gnu.org/pub/gnu/guile/guile-2.2.6.tar.gz
sha256: 08c0e7487777740b61cdd97949b69e8a5e2997d8c2fe6c7e175819eb18444506
modules:
- name: gc
config-opts:
- --enable-cplusplus
- --disable-static
sources:
- type: archive
url: https://github.com/ivmai/bdwgc/releases/download/v8.0.4/gc-8.0.4.tar.gz
sha256: 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d

0 comments on commit f336a50

Please sign in to comment.