improve build tools

This commit is contained in:
Manuel Dewald
2021-03-11 09:02:55 +01:00
parent 0b31eda1c2
commit 128796c9e8
5 changed files with 76 additions and 27 deletions

View File

@@ -5,6 +5,7 @@ Simple, lightweight slideshow selecting random images from specified directory.
Tested versions:
* Raspberry Pi 3 running Raspbian Stretch.
* Raspberry Pi 3 running Raspbian Buster.
* Raspberry Pi Zero running Raspbian Buster.
Screen background is filled with a scaled version of the image to prevent pure black background.
@@ -44,27 +45,34 @@ slide [-t rotation_seconds] [-o background_opacity(0..255)] [-b blur_radius] -p
## Dependencies
* libexif
* qt5-qmake
* qt5
* qt5-image-formats-plugins for tiff
* qt5-image-formats-plugins
* libexif
Ubuntu/Raspbian:
```
sudo apt install libexif12 qt5-default
sudo apt install qt5-image-formats-plugins
sudo make install-deps-deb
```
## Build
dev libs needed to build slide on from source:
Install dependencies
```
sudo apt install libexif-dev
make install-deps-deb
```
Build project
```
mkdir -p make
cd make
qmake ../src/slide.pro
make
```
Install binaries
```
sudo make install
```
@@ -75,9 +83,7 @@ Prerequisite: brew
```
brew install qt5
brew install libexif
mkdir -p build
cd build
qmake ../src/slide.pro
brew install libexif
make
```
@@ -88,7 +94,7 @@ This article has more helpful ways that you could use this repo as a picture fra
https://opensource.com/article/19/2/wifi-picture-frame-raspberry-pi
```
## Removing black border
## Removing black border (Raspberry Pi)
```
if you find that you have a black border around your screen you can remove it by disabling overscan. This is done by editing /boot/config.txt and uncommenting disable_overscan=1