summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Jeremy Hansen <jebrhansen+github@gmail.com>2025-06-01 18:14:19 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2025-06-07 12:27:22 +0700
commitbcb5b5c7ab21672c620cb96c7b0e9a9fedc0c75c (patch)
treebed7561f491cb4926710533e96a31c4eec3b8748 /libraries
parent467012ca9a73d45bf180aafee6e24c2a7d51728e (diff)
downloadslackbuilds-bcb5b5c7ab21672c620cb96c7b0e9a9fedc0c75c.tar.gz
slackbuilds-bcb5b5c7ab21672c620cb96c7b0e9a9fedc0c75c.tar.xz
libraries/platform: Removed (use libraries/p8-platform)
This package was renamed 8 months, but I forgot to remove the original. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/platform/README1
-rw-r--r--libraries/platform/platform-2.1.0-install.patch10
-rw-r--r--libraries/platform/platform.SlackBuild111
-rw-r--r--libraries/platform/platform.info10
-rw-r--r--libraries/platform/slack-desc19
5 files changed, 0 insertions, 151 deletions
diff --git a/libraries/platform/README b/libraries/platform/README
deleted file mode 100644
index 2dbef83e37..0000000000
--- a/libraries/platform/README
+++ /dev/null
@@ -1 +0,0 @@
-Platform support library for libcec.
diff --git a/libraries/platform/platform-2.1.0-install.patch b/libraries/platform/platform-2.1.0-install.patch
deleted file mode 100644
index efa7ab82b3..0000000000
--- a/libraries/platform/platform-2.1.0-install.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -Naur platform-platform-2.1.0.orig/CMakeLists.txt platform-platform-2.1.0/CMakeLists.txt
---- platform-platform-2.1.0.orig/CMakeLists.txt 2016-10-24 09:56:25.000000000 +0000
-+++ platform-platform-2.1.0/CMakeLists.txt 2017-03-01 16:41:56.443161968 +0000
-@@ -81,5 +81,5 @@
- configure_file (p8-platform-config.cmake.in
- p8-platform-config.cmake @ONLY)
- install(FILES ${CMAKE_BINARY_DIR}/p8-platform-config.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/p8-platform)
-+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/p8-platform)
-
diff --git a/libraries/platform/platform.SlackBuild b/libraries/platform/platform.SlackBuild
deleted file mode 100644
index 68a879344a..0000000000
--- a/libraries/platform/platform.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for platform
-
-# Copyright 2015-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=platform
-VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Fix cmake install path.
-patch -p1 < $CWD/platform-2.1.0-install.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- -DBUILD_SHARED_LIBS=1 \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install/strip DESTDIR=$PKG
-cd ..
-
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README.md debian/copyright \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/platform/platform.info b/libraries/platform/platform.info
deleted file mode 100644
index 463fd26cc2..0000000000
--- a/libraries/platform/platform.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="platform"
-VERSION="2.1.0"
-HOMEPAGE="https://github.com/Pulse-Eight/platform"
-DOWNLOAD="https://github.com/Pulse-Eight/platform/archive/platform-2.1.0/platform-platform-2.1.0.tar.gz"
-MD5SUM="8bfdb42cdfdd39f8f3385ad801f73cb0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/platform/slack-desc b/libraries/platform/slack-desc
deleted file mode 100644
index 79d6c9b16c..0000000000
--- a/libraries/platform/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-platform: platform (support library)
-platform:
-platform: Platform support library for libcec.
-platform:
-platform: Homepage: https://github.com/Pulse-Eight/platform
-platform:
-platform:
-platform:
-platform:
-platform:
-platform: