mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[AppImageBuilder.yml] -~50% size reduction
This commit is contained in:
@@ -26,7 +26,6 @@ AppDir:
|
|||||||
- python3
|
- python3
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
- python3-wheel
|
|
||||||
- python3-requests
|
- python3-requests
|
||||||
- python3-colorama
|
- python3-colorama
|
||||||
- python3-dateutil
|
- python3-dateutil
|
||||||
@@ -36,19 +35,20 @@ AppDir:
|
|||||||
- python3-lxml
|
- python3-lxml
|
||||||
- python3-bs4
|
- python3-bs4
|
||||||
- sqlite3
|
- sqlite3
|
||||||
- axel
|
|
||||||
- aria2
|
|
||||||
- wget
|
- wget
|
||||||
- libfreetype6
|
- libfreetype6
|
||||||
- libfontconfig1
|
- libfontconfig1
|
||||||
exclude: []
|
exclude: []
|
||||||
|
|
||||||
after_bundle:
|
after_bundle:
|
||||||
- pip3 install bauh==$BAUH_VERSION --prefix=/usr --root=AppDir
|
|
||||||
- mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps
|
- mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps
|
||||||
- cp AppDir/usr/lib/python3.8/site-packages/bauh/view/resources/img/logo.svg AppDir/usr/share/icons/hicolor/scalable/apps/bauh.svg
|
|
||||||
- mkdir -p AppDir/usr/share/applications
|
- mkdir -p AppDir/usr/share/applications
|
||||||
- cp AppDir/usr/lib/python3.8/site-packages/bauh/desktop/bauh.desktop AppDir/usr/share/applications
|
- wget https://github.com/vinifmor/bauh/archive/${BAUH_VERSION}.tar.gz || exit 1
|
||||||
|
- tar -xf ${BAUH_VERSION}.tar.gz || exit 1
|
||||||
|
- cd bauh-${BAUH_VERSION} || exit 1
|
||||||
|
- cp bauh/view/resources/img/logo.svg ../AppDir/usr/share/icons/hicolor/scalable/apps/bauh.svg || exit 1
|
||||||
|
- cp bauh/desktop/bauh.desktop ../AppDir/usr/share/applications || exit 1
|
||||||
|
- BAUH_SETUP_NO_REQS=1 python3 setup.py install --prefix=/usr --root=../AppDir --optimize=1 || exit 1
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
version: "continuous"
|
version: "continuous"
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- Setup
|
- Setup
|
||||||
- able to install bauh with python/pip without enforcing requirements through the environment variable `BAUH_SETUP_NO_REQS=1`
|
- able to install bauh with python/pip without enforcing requirements through the environment variable `BAUH_SETUP_NO_REQS=1`
|
||||||
|
|
||||||
|
- Distribution
|
||||||
|
- AppImage: -~50% size reduction (141.93 MB -> 72.20 MB)
|
||||||
|
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Arch
|
- Arch
|
||||||
- silent crash when handling and displaying transaction sub-status
|
- silent crash when handling and displaying transaction sub-status
|
||||||
|
|||||||
Reference in New Issue
Block a user