From 80fac0aceb0b778938a14224faeb2172d3d946bc Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 9 Dec 2018 15:29:30 +0100 Subject: Rebuild all deps/telepathy packages --- .../telepathy-farstream/telepathy-farstream.SlackBuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'deps/telepathy/telepathy-farstream') diff --git a/deps/telepathy/telepathy-farstream/telepathy-farstream.SlackBuild b/deps/telepathy/telepathy-farstream/telepathy-farstream.SlackBuild index fbc79be..6f891b6 100755 --- a/deps/telepathy/telepathy-farstream/telepathy-farstream.SlackBuild +++ b/deps/telepathy/telepathy-farstream/telepathy-farstream.SlackBuild @@ -21,19 +21,19 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified 2015, 2016 by Eric Hameleers +# Modified 2015, 2016, 2018 by Eric Hameleers PKGNAM=telepathy-farstream VERSION=${VERSION:-0.6.2} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} -NUMJOBS=${NUMJOBS:--j7} +NUMJOBS=${NUMJOBS:-" -j$(nproc) "} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; @@ -45,8 +45,8 @@ CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" SLKLDFLAGS="" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then @@ -101,6 +101,9 @@ LDFLAGS="$SLKLDFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -- cgit v1.2.3