aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2021-05-19 11:50:48 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:39:56 +0700
commit090f515758b5d6a62824ef3b304ca8b9576d32bc (patch)
tree81c0dbcb5ea248f21da38bde6d06d56ff1ff15f3 /development
parent16f1ead043ea3057e73a1c6449d024ced4c2a760 (diff)
development/Pivy: Updated for version 0.6.6
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/Pivy/Pivy.SlackBuild25
-rw-r--r--development/Pivy/Pivy.info8
-rw-r--r--development/Pivy/slack-desc2
3 files changed, 23 insertions, 12 deletions
diff --git a/development/Pivy/Pivy.SlackBuild b/development/Pivy/Pivy.SlackBuild
index d5b40188c38e2..a1950f4f58a42 100644
--- a/development/Pivy/Pivy.SlackBuild
+++ b/development/Pivy/Pivy.SlackBuild
@@ -23,10 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2011/08/10
+# Revision date: 2021/05/19
PRGNAM=Pivy
-VERSION=${VERSION:-hg_20101207}
+SRCNAM=pivy
+VERSION=${VERSION:-0.6.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -72,14 +73,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root $PKG
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG | xargs 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 \
- AUTHORS HACKING LICENSE NEWS README THANKS docs \
+ AUTHORS HACKING LICENSE NEWS README* THANKS docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
diff --git a/development/Pivy/Pivy.info b/development/Pivy/Pivy.info
index 74f011c302311..eaa1427eabfff 100644
--- a/development/Pivy/Pivy.info
+++ b/development/Pivy/Pivy.info
@@ -1,8 +1,8 @@
PRGNAM="Pivy"
-VERSION="hg_20101207"
-HOMEPAGE="https://pypi.python.org/pypi/Pivy"
-DOWNLOAD="http://www.nielshorn.net/_download/slackware/source/Pivy-hg_20101207.tar.bz2"
-MD5SUM="ba6e9960f7cf0f9624d7b4f14172725a"
+VERSION="0.6.6"
+HOMEPAGE="https://coin3d.github.io"
+DOWNLOAD="https://github.com/coin3d/pivy/archive/0.6.6/pivy-0.6.6.tar.gz"
+MD5SUM="1b3d07aab6eccf2eba05479639825d86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SoQt"
diff --git a/development/Pivy/slack-desc b/development/Pivy/slack-desc
index ea330d24cde02..f41d1bacf3a2a 100644
--- a/development/Pivy/slack-desc
+++ b/development/Pivy/slack-desc
@@ -11,7 +11,7 @@ Pivy:
Pivy: Pivy is an extension to the Python programming language,
Pivy: wrapping Coin C++ scene graph library for usage from Python.
Pivy:
-Pivy: Homepage: https://pypi.python.org/pypi/Pivy
+Pivy: Homepage: https://coin3d.github.io
Pivy:
Pivy:
Pivy: