Changeset View
Changeset View
Standalone View
Standalone View
package.yml
- This file was added.
| name : ganttproject | |||||
| version : 2.8.5 | |||||
| release : 1 | |||||
| source : | |||||
| - https://github.com/bardsoftware/ganttproject/archive/ganttproject-2.8.5.tar.gz : f15a5fad24989fa712b79319276c212cdb68107051585e889a54c56c81c7bca9 | |||||
| license : GPL-3.0 | |||||
| component : office | |||||
| summary : GanttProject is an open-source desktop project scheduling and management tool | |||||
| description: GanttProject is an open-source desktop project scheduling and management tool | |||||
| networking: yes | |||||
| builddeps : | |||||
| - gradle | |||||
| - openjdk-8 | |||||
| - openjfx-8 | |||||
| rundeps : | |||||
| - openjdk-8 | |||||
| - openjfx-8 | |||||
| setup: | | |||||
| cd ganttproject-builder | |||||
| # Bypass the need for gradle to get build information from git | |||||
| sed -e 's/ext\.buildNum = getBuildNum()/ext\.buildNum = 3680/g' -i build.gradle | |||||
| sed -e "s/def getBuildNum/def __getBuildNum/g" -i build.gradle | |||||
| sed -e "s/{getBuildNum()}/{'3680'}/g" -i build.gradle | |||||
joebonrichie: I don't like this, you can instead change the source to build from git if it removes the need… | |||||
| build: | | |||||
| cd ganttproject-builder | |||||
| gradle -g $workdir --no-daemon --debug distBin | |||||
| install: | | |||||
| cd ganttproject-builder | |||||
| install -d $installdir/usr/share/ganttproject | |||||
joebonrichieUnsubmitted Not Done Inline ActionsYou can use install -dm755 instead and remove the need for line 36 joebonrichie: You can use `install -dm755` instead and remove the need for line 36 | |||||
sunnyflunkUnsubmitted Not Done Inline Actions@joebonrichie Please use 5 octal 00755 with install. The extra 00 does make a difference. Ditto for below (00644) sunnyflunk: @joebonrichie Please use 5 octal 00755 with install. The extra 00 does make a difference. Ditto… | |||||
| # Remove unused launch files | |||||
| rm dist-bin/ganttproject.bat | |||||
| rm dist-bin/ganttproject.command | |||||
| rm dist-bin/ganttproject.exe | |||||
| cp -R dist-bin/* $installdir/usr/share/ganttproject | |||||
| cp ganttproject.svg $installdir/usr/share/ganttproject | |||||
joebonrichieUnsubmitted Not Done Inline ActionsThis should be an install command joebonrichie: This should be an `install` command | |||||
| chmod 00755 $installdir/usr/share/ganttproject/ganttproject | |||||
joebonrichieUnsubmitted Not Done Inline ActionsNot necessary if the change at line 29 is implemented. joebonrichie: Not necessary if the change at line 29 is implemented. | |||||
| install -D -m00644 $pkgfiles/ganttproject.desktop $installdir/usr/share/applications/ganttproject.desktop | |||||
joebonrichieUnsubmitted Not Done Inline ActionsNitpick, but can this just be -Dm644 joebonrichie: Nitpick, but can this just be `-Dm644` | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
I don't like this, you can instead change the source to build from git if it removes the need for this e.g.
git|https://github.com/bardsoftware/ganttproject.git : ganttproject-2.8.5