From 145417c0d744f53d5ce37a6871ab8b9f77b53c32 Mon Sep 17 00:00:00 2001 From: Tobi Sim Date: Sat, 21 Feb 2015 16:53:25 +0100 Subject: [PATCH] dependencies --- Makefile | 2 +- README | 2 +- dependencies.txt | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 dependencies.txt 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