From 0f016bb89e8c06f293dffaacdd325ca77ab9fc85 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 27 Feb 2016 09:27:29 +0100 Subject: [PATCH] libosmocore: Split the package into one package per library This will allow us to have multiple versions installed at the same time. Use a HACK to not have package.bbclass renamed the RREPLACE we need for the upgrade. Fixes: SYS#217 --- recipes-osmocom/libosmocore/libosmocore_git.bb | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/recipes-osmocom/libosmocore/libosmocore_git.bb b/recipes-osmocom/libosmocore/libosmocore_git.bb index 9101886c66..e482f8c538 100644 --- a/recipes-osmocom/libosmocore/libosmocore_git.bb +++ b/recipes-osmocom/libosmocore/libosmocore_git.bb @@ -4,9 +4,23 @@ S = "${WORKDIR}/git" SRCREV = "70fcbda6dd733a503e9a046e01986d8bfc2e2bb2" SRC_URI = "git://git.osmocom.org/libosmocore.git;protocol=git;nobranch=1" PV = "0.9.0+gitr${SRCPV}" -PR = "r0" +PR = "r1" -PACKAGES =+ "libosmoctrl" +PACKAGES =+ "libosmoctrl libosmocodec libosmogb libosmogsm libosmovty osmo-arfcn osmo-auc-gen" FILES_libosmoctrl = "${libdir}/libosmoctrl${SOLIBS}" +FILES_libosmocodec = "${libdir}/libosmocodec${SOLIBS}" +FILES_libosmogb = "${libdir}/libosmogb${SOLIBS}" +FILES_libosmogsm = "${libdir}/libosmogsm${SOLIBS}" +FILES_libosmovty = "${libdir}/libosmovty${SOLIBS}" +FILES_osmo-arfcn = "${bindir}/osmo-arfcn" +FILES_osmo-auc-gen = "${bindir}/osmo-auc-gen" + +# Requires fix for upgrades +RREPLACES_libosmocore = "DONOTREPLACElibosmocore" +RREPLACES_libosmoctrl = "DONOTREPLACElibosmocore" +RREPLACES_libosmocodec = "DONOTREPLACElibosmocore" +RREPLACES_libosmogb = "DONOTREPLACElibosmocore" +RREPLACES_libosmogsm = "DONOTREPLACElibosmocore" +RREPLACES_libosmovty = "DONOTREPLACElibosmocore" EXTRA_OECONF += "--disable-pcsc"