From 9f5b7a84da0db2ed95d297875150e7cdab02f3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 31 Jan 2016 00:12:29 +0100 Subject: [PATCH] libreoffice: split out version information to common file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-libreoffice/libreoffice/libreoffice-version.inc | 2 ++ recipes-libreoffice/libreoffice/libreoffice.inc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 recipes-libreoffice/libreoffice/libreoffice-version.inc diff --git a/recipes-libreoffice/libreoffice/libreoffice-version.inc b/recipes-libreoffice/libreoffice/libreoffice-version.inc new file mode 100644 index 0000000..2fe12bf --- /dev/null +++ b/recipes-libreoffice/libreoffice/libreoffice-version.inc @@ -0,0 +1,2 @@ +PV = "5.0.4.2" +DIRV = "5.0.4" diff --git a/recipes-libreoffice/libreoffice/libreoffice.inc b/recipes-libreoffice/libreoffice/libreoffice.inc index f0f0bce..3a39f8a 100644 --- a/recipes-libreoffice/libreoffice/libreoffice.inc +++ b/recipes-libreoffice/libreoffice/libreoffice.inc @@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = " \ file://COPYING.MPL;md5=9741c346eef56131163e13b9db1241b3 \ " -PV = "5.0.4.2" +require libreoffice-version.inc SRC_URI = " \ - http://download.documentfoundation.org/libreoffice/src/5.0.4/libreoffice-${PV}.tar.xz \ + http://download.documentfoundation.org/libreoffice/src/${DIRV}/libreoffice-${PV}.tar.xz \ file://0001-update-ax_boost-scripts-to-fix-configure-with-system.patch \ " SRC_URI[md5sum] = "0c6381581f93ef7142b00837002755dd"