Skip to content

Commit

Permalink
Zotero 7.0 beta build
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-de committed Oct 22, 2023
1 parent 05ca795 commit 5da56ee
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 63 deletions.
63 changes: 0 additions & 63 deletions org.zotero.Zotero.json

This file was deleted.

55 changes: 55 additions & 0 deletions org.zotero.Zotero.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
id: org.zotero.Zotero
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: zotero
rename-desktop-file: zotero.desktop
finish-args:
- --filesystem=home
- --filesystem=xdg-desktop
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-pictures
- --filesystem=xdg-public-share
- --filesystem=xdg-videos
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
modules:
- shared-modules/dbus-glib/dbus-glib.json
- name: zotero
buildsystem: simple
sources:
- type: archive
url: https://download.zotero.org/client/beta/7.0.0-beta.46%2Bc27bac2ad/Zotero-7.0.0-beta.46%2Bc27bac2ad_linux-x86_64.tar.bz2
sha512: 4190f1ed880118d9301fe963810ad67235a2ecabbce0d5c946c96c0b49dcebc9e8615426c9d175a4e504de262ff118f34b5c82b76dc2b97a2105c844a3f4b885
only-arches:
- x86_64
- type: archive
url: https://download.zotero.org/client/beta/7.0.0-beta.46%2Bc27bac2ad/Zotero-7.0.0-beta.46%2Bc27bac2ad_linux-i686.tar.bz2
sha512: aeb86ed29e6e88707b2cd33a783af4afadc09e1d51567d8e0654cdced891fb1f56f6dcd6a0d7f6f33b6089ef6cb18dd09d5727d769ce3c28f5aaa45ff74e6fa9
only-arches:
- i386
- type: file
path: org.zotero.Zotero.appdata.xml
build-commands:
- 'mkdir -p /app/{bin,share}'
- cp -R . /app/share/zotero
- install -D chrome/icons/default/default16.png /app/share/icons/hicolor/16x16/apps/${FLATPAK_ID}.png
- install -D chrome/icons/default/default32.png /app/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png
- install -D chrome/icons/default/default48.png /app/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png
- install -D chrome/icons/default/default256.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- >-
desktop-file-install
--dir=/app/share/applications
--set-key=Exec --set-value='zotero -url %U'
--set-key=Icon --set-value=org.zotero.Zotero
--add-mime-type=x-scheme-handler/zotero
zotero.desktop
- install -D org.zotero.Zotero.appdata.xml /app/share/appdata/${FLATPAK_ID}.appdata.xml
- ln -s /app/share/zotero/zotero /app/bin/zotero
# TODO: Find out how to correctly disable the auto-updater in Zotero 7
# The command below has no effect
# - echo "pref("app.update.auto", false);" >> /app/share/zotero/app/prefs.js

0 comments on commit 5da56ee

Please sign in to comment.