distrho-ports(extra): Fix nasty file sharing
Seems I forgot to run cleannstate when testing transition to lv2-turtle-helper. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -40,15 +40,16 @@ do_ttl_sed() {
|
|||||||
# Seems this collection is not ready for public
|
# Seems this collection is not ready for public
|
||||||
# scripts/libs are (broken) symlinks to /usr/src/distrho) - copy 'shared'
|
# scripts/libs are (broken) symlinks to /usr/src/distrho) - copy 'shared'
|
||||||
# from distrho-ports (hack but we need to patch distrho-ports only)
|
# from distrho-ports (hack but we need to patch distrho-ports only)
|
||||||
rm -f ${S}/libs
|
rm -rf ${S}/libs
|
||||||
rm -f ${S}/scripts
|
rm -rf ${S}/scripts
|
||||||
mkdir ${S}/scripts
|
cp -r ${STAGING_BINDIR}/scripts ${S}
|
||||||
cp -r ${STAGING_BINDIR}/scripts/* ${S}/scripts
|
cp -r ${STAGING_LIBDIR}/libs ${S}
|
||||||
# manipulate scripts to keep lv2_ttl_generator-calls in script for lv2-turtle-helper
|
# manipulate scripts to keep lv2_ttl_generator-calls in script for lv2-turtle-helper
|
||||||
sed -i 's|$GEN ./$FILE|echo "`pwd`/$FILE" >> ${LV2_PLUGIN_INFO_FILE}|g' `find ${S}/scripts -name *.sh`
|
sed -i 's|$GEN ./$FILE|echo "`pwd`/$FILE" >> ${LV2_PLUGIN_INFO_FILE}|g' `find ${S}/scripts -name *.sh`
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
cd ${S}
|
||||||
# platforms supporting sse2 can override NOOPTIMIZATIONS - later todo?
|
# platforms supporting sse2 can override NOOPTIMIZATIONS - later todo?
|
||||||
NOOPTIMIZATIONS=1 ${S}/scripts/premake-update.sh linux
|
NOOPTIMIZATIONS=1 ${S}/scripts/premake-update.sh linux
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,7 +83,10 @@ do_install() {
|
|||||||
# install ttl-generator bindir for distrho-ports-extra
|
# install ttl-generator bindir for distrho-ports-extra
|
||||||
install -d ${D}/${bindir}/scripts
|
install -d ${D}/${bindir}/scripts
|
||||||
install -m 755 ${S}/libs/lv2_ttl_generator ${D}/${bindir}
|
install -m 755 ${S}/libs/lv2_ttl_generator ${D}/${bindir}
|
||||||
|
rm ${S}/libs/lv2_ttl_generator
|
||||||
cp -r ${WORKDIR}/scripts ${D}/${bindir}/
|
cp -r ${WORKDIR}/scripts ${D}/${bindir}/
|
||||||
|
cp -r ${S}/libs ${D}/${libdir}/
|
||||||
|
mv ${D}/${libdir}/libs/*.a ${D}/${libdir}
|
||||||
}
|
}
|
||||||
# ttl-generator bindir for distrho-ports-extra
|
# ttl-generator bindir for distrho-ports-extra
|
||||||
SYSROOT_DIRS_append = " ${bindir}"
|
SYSROOT_DIRS_append = " ${bindir}"
|
||||||
@@ -98,6 +101,7 @@ PACKAGES =+ "${PN}-ttl-generator"
|
|||||||
FILES_${PN}-ttl-generator += " \
|
FILES_${PN}-ttl-generator += " \
|
||||||
${bindir}/lv2_ttl_generator \
|
${bindir}/lv2_ttl_generator \
|
||||||
${bindir}/scripts \
|
${bindir}/scripts \
|
||||||
|
${libdir}/libs \
|
||||||
"
|
"
|
||||||
# ${PN}-ttl-generator is intented for build of distrho-ports-extra and
|
# ${PN}-ttl-generator is intented for build of distrho-ports-extra and
|
||||||
# definitely nothing to be installed on target
|
# definitely nothing to be installed on target
|
||||||
|
|||||||
Reference in New Issue
Block a user