Changeset View
Changeset View
Standalone View
Standalone View
package.yml
- This file was added.
| name : zotero | |||||
| version : 5.0.96.3 | |||||
| release : 1 | |||||
| source : | |||||
| - git|https://github.com/zotero/zotero.git : 5.0.96.3 | |||||
| - git|https://github.com/zotero/zotero-build.git : 87e125bedcb3a01194013e207eff39d4e6deec92 | |||||
| - git|https://github.com/zotero/zotero-standalone-build.git : 5.0.96.3 | |||||
| license : AGPL-3.0-or-later | |||||
| component : office.scientific | |||||
joebonrichie: Use a SPDX correct licence identifier e.g. `AGPL-3.0-only` or `AGPL-3.0-or-later` https://spdx. | |||||
| summary : Free, easy-to-use tool to help you collect, organize, cite, and share your research sources | |||||
| description: | | |||||
| Free, easy-to-use tool to help you collect, organize, cite, and share your research sources | |||||
| networking : yes | |||||
| builddeps : | |||||
| - pkgconfig(python3) | |||||
| - nodejs | |||||
Done Inline Actionsnit: unneeded builddep joebonrichie: nit: unneeded builddep | |||||
| - rsync | |||||
| - wget | |||||
Done Inline Actionsnit: would prefer you to pull in the pkgconfig e.g. pkgconfig(python3) just for consistency across the solus repo. joebonrichie: nit: would prefer you to pull in the pkgconfig e.g. `pkgconfig(python3)` just for consistency… | |||||
| rundeps : | |||||
GirtabluluUnsubmitted Not Done Inline ActionsFor what are these needed? I test build it without all the rundeps and it seems to run totally fine Girtablulu: For what are these needed? I test build it without all the rundeps and it seems to run totally… | |||||
| - dbus-glib | |||||
Done Inline ActionsAre these needed? Fine if they are, just feels a bit weird. Also remember alphabetical order 0-9A-za-z pkgconfigs first. joebonrichie: Are these needed? Fine if they are, just feels a bit weird. Also remember alphabetical order 0… | |||||
| - gdk-pixbuf | |||||
| - libatk | |||||
| - libcairo | |||||
| - libgtk-2 | |||||
| - libgtk-3 | |||||
| - libnss | |||||
| - libxcomposite | |||||
| - libxcursor | |||||
| - libxdamage | |||||
| - libxfixes | |||||
| - libxi | |||||
| - libxt | |||||
| - pango | |||||
| setup : | | |||||
| mkdir -p $workdir/zotero-client | |||||
| mv `ls -A | grep -v zotero-client` $workdir/zotero-client | |||||
| cp -R $sources/zotero-build.git $workdir/zotero-build | |||||
| cp -R $sources/zotero-standalone-build.git $workdir/zotero-standalone-build | |||||
| cd $workdir/zotero-client | |||||
| git submodule init && git submodule update | |||||
| cd $workdir/zotero-build | |||||
| git submodule init && git submodule update | |||||
| cd $workdir/zotero-standalone-build | |||||
| git submodule init && git submodule update | |||||
| build : | | |||||
| cd $workdir/zotero-client/ | |||||
| npm i | |||||
| npm run build | |||||
| cd $workdir/zotero-standalone-build/ | |||||
| ./fetch_xulrunner.sh -p l | |||||
| ./fetch_pdftools | |||||
| ./scripts/dir_build | |||||
| install : | | |||||
| install -dDm00755 $installdir/usr/{bin,lib/zotero} | |||||
| mv $workdir/zotero-standalone-build/staging/Zotero_linux-x86_64/* $installdir/usr/lib/zotero | |||||
| ln -s /usr/lib/zotero/zotero $installdir/usr/bin/zotero | |||||
Done Inline ActionsPlease use octal permissions for solus packaging e.g. 00755, 00644, etc. joebonrichie: Please use octal permissions for solus packaging e.g. 00755, 00644, etc. | |||||
| install -Dm00755 $pkgfiles/zotero.desktop $installdir/usr/share/applications/zotero.desktop | |||||
| rm $installdir/usr/lib/zotero/zotero.desktop | |||||
Done Inline ActionsYou install from $installdir to another location in $installdir meaning you duplicate the files. Is it required to have the files twice? Also the .desktop file is broken (path to the zotero binary, .ico file for the icon) kyrios123: You install from $installdir to another location in $installdir meaning you duplicate the files. | |||||
| sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' $installdir/usr/lib/zotero/defaults/preferences/prefs.js | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
Use a SPDX correct licence identifier e.g. AGPL-3.0-only or AGPL-3.0-or-later https://spdx.org/licenses/ In this case it looks like or-later.