From c6b119a8c3489250e329d85177f9ad274d1ff70f Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 12 Nov 2021 15:25:42 +0100 Subject: [PATCH] libvorbis: update 1.2.3 to 1.3.7 - be0ify - build static and shared libs - fix lib symlink creation. Only symlink libvorbis.so and file libvorbis.so.x.y.z got installed, ldconfig fails to create libvorbis.so.x so we'll do that manually. --- libvorbis-1.2.3-0.bee | 30 ----------------------------- libvorbis.be0 | 45 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 30 deletions(-) delete mode 100755 libvorbis-1.2.3-0.bee create mode 100755 libvorbis.be0 diff --git a/libvorbis-1.2.3-0.bee b/libvorbis-1.2.3-0.bee deleted file mode 100755 index a1855cbcf..000000000 --- a/libvorbis-1.2.3-0.bee +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/env beesh - -SRCURL[0]="http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.bz2" - -PATCHURL[0]="" - -PGRP=( uncategorized ) - - - -# BEE_CONFIGURE=compat - -EXCLUDE="^/usr/share/doc" - -mee_patch() { - bee_patch -} - -mee_configure() { - bee_configure -} - -mee_build() { - bee_build -} - -mee_install() { - bee_install -} - diff --git a/libvorbis.be0 b/libvorbis.be0 new file mode 100755 index 000000000..3451d370d --- /dev/null +++ b/libvorbis.be0 @@ -0,0 +1,45 @@ +#!/bin/env beesh + +# BEE_VERSION libvorbis-1.3.7-0 + +# SRCURL[0]="https://downloads.xiph.org/releases/vorbis/libvorbis-${PKGVERSION}.tar.gz" +SRCURL[0]="https://beehive.molgen.mpg.de/9b8034da6edc1a17d18b9bc4542015c7/libvorbis-1.3.7.tar.gz" + +#PATCHURL[0]="" + +#mee_patch() { +# bee_patch +#} + +mee_configure() { + # build static libs + bee_configure + bee_build + bee_install + + # build static libs + bee_configure \ + -DBUILD_SHARED_LIBS=ON +} + +#mee_build() { +# bee_build +#} + +mee_install() { + bee_install + + cd ${D}/usr/lib + + for baselib in *.so.*.*.* + do + shortlib=$baselib + while extn=$(echo $shortlib | sed -n 's/.*\(\.[0-9][0-9]*\.[0-9][0-9]*\)$/\1/p') + [ -n "$extn" ] + do + shortlib=$(basename $shortlib $extn) + ln -v -f -s $baselib $shortlib + done + done +} +