Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : openlp | name : openlp | ||||
| version : 2.4.5 | version : 2.4.6 | ||||
| release : 1 | release : 2 | ||||
| source : | source : | ||||
| - https://get.openlp.org/2.4.5/OpenLP-2.4.5.tar.gz : a6724a2200d4b46e02f75a68f3c4075021162cfca449624c52f3c59935ba3345 | - https://get.openlp.org/2.4.6/OpenLP-2.4.6.tar.gz : f63dcf5f1f8a8199bf55e806b44066ad920d26c9cf67ae432eb8cdd1e761fc30 | ||||
| license : GPL-2.0 | license : GPL-2.0 | ||||
| component : multimedia.graphics | component : multimedia.graphics | ||||
| summary : OpenLP is a feature rich open-source church presentation platform | summary : OpenLP is a feature rich open-source church presentation platform | ||||
| description: | | description: | | ||||
| OpenLP is a feature rich open-source church presentation platform | OpenLP is a feature rich open-source church presentation platform | ||||
| builddeps : | builddeps : | ||||
| - qt5-tools | - qt5-tools | ||||
| rundeps : | rundeps : | ||||
| - python3-qt5 | |||||
| - pyenchant | |||||
| - python-alembic | - python-alembic | ||||
| - python-qt5 | - python-beautifulsoup4 | ||||
| - python-chardet | |||||
| - python-lxml | |||||
| - pyxdg | |||||
| build : | | build : | | ||||
| %python3_setup | %python3_setup | ||||
| install : | | install : | | ||||
| %python3_install | %python3_install | ||||
| # Fix the binary name so that python will run | # Fix the binary name so that python will run | ||||
| mv $installdir/usr/bin/openlp.py $installdir/usr/bin/openlp | mv $installdir/usr/bin/openlp.py $installdir/usr/bin/openlp | ||||
| # Assets and .desktop | # Assets and .desktop | ||||
| install -D -m 00644 resources/openlp.desktop $installdir/usr/share/applications/openlp.desktop | install -D -m 00644 resources/openlp.desktop $installdir/usr/share/applications/openlp.desktop | ||||
| for px in 16 32 48 64 128 256; do | for px in 16 32 48 64 128 256; do | ||||
| install -D -m 00644 resources/images/openlp-logo-${px}x${px}.png $installdir/usr/share/icons/hicolor/${px}x${px}/apps/openlp.png | install -D -m 00644 resources/images/openlp-logo-${px}x${px}.png $installdir/usr/share/icons/hicolor/${px}x${px}/apps/openlp.png | ||||
| done | done | ||||
| install -D -m 00644 resources/images/openlp-logo.svg $installdir/usr/share/icons/hicolor/scalable/apps/openlp.svg | install -D -m 00644 resources/images/openlp-logo.svg $installdir/usr/share/icons/hicolor/scalable/apps/openlp.svg | ||||
| # Translations | # Translations | ||||
| install -d $installdir/usr/share/openlp/i18n | install -d $installdir/usr/share/openlp/i18n | ||||
| cd resources/i18n | cd resources/i18n | ||||
| for t in *.ts; do | for t in *.ts; do | ||||
| lconvert -i $t -o $installdir/usr/share/openlp/i18n/${t%%ts}qm | lconvert -i $t -o $installdir/usr/share/openlp/i18n/${t%%ts}qm | ||||
| done | done | ||||
| # Remove the tests | # Remove the tests | ||||
| rm -rf /usr/lib/python3.5/site-packages/tests | rm -rf /usr/lib/python3.5/site-packages/tests | ||||
| No newline at end of file | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.