diff --git a/Makefile b/Makefile index 224162b..c4078e8 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ prefix:=/usr temp:=/tmp/fpm builddir:=./build sdkpath:=$(HOME)/SailfishOS -dependencies:=-d libsailfishapp-launcher -d python3-base -d pyotherside-qml-plugin-python3-qt5 +dependencies=$(shell for file in `cat dependencies.txt`;do echo "-d "$${file};done;) arch:=noarch rpmname:=$(Appname)-$(arch).rpm jolla_usb_ip:=192.168.2.15 diff --git a/README b/README index 39714f3..4f6c5d8 100644 --- a/README +++ b/README @@ -21,7 +21,7 @@ build your package, and install it on your jolla phone, considering your develop Adding dependencies: -a basic set of dependencies are already added to the Makefile, but you can still add other ones to the list. +a basic set of dependencies for python3 apps are already added to dependencies.txt, but you can still add other ones to the list. Adding python Modules: all python Modules in pyPackages are included in the package. diff --git a/dependencies.txt b/dependencies.txt new file mode 100644 index 0000000..18c5b4b --- /dev/null +++ b/dependencies.txt @@ -0,0 +1,3 @@ +libsailfishapp-launcher +python3-base +pyotherside-qml-plugin-python3-qt5