summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-03-04 20:16:23 +0100
committer Willy Sudiarto Raharjo2022-03-07 02:45:21 +0100
commit280af76d29ff723fe0c9be2787ac0cdd5e384594 (patch)
tree9446f2333489dbf542d7676910333368a143ba3d
parent6d11638bf94c4d97d6ff2c77205f106116a5d3cd (diff)
downloadslackbuilds-280af76d29ff723fe0c9be2787ac0cdd5e384594.tar.gz
graphics/makehuman: Updated for version 1.2.0+20201105183027.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/makehuman/README5
-rw-r--r--graphics/makehuman/makehuman.SlackBuild32
-rw-r--r--graphics/makehuman/makehuman.info8
3 files changed, 21 insertions, 24 deletions
diff --git a/graphics/makehuman/README b/graphics/makehuman/README
index 4cf570d28b..37e4c0a385 100644
--- a/graphics/makehuman/README
+++ b/graphics/makehuman/README
@@ -1,2 +1,3 @@
-MakeHuman is an open source (so it's completely free), innovative and
-professional software for the modelling of 3-Dimensional humanoid characters.
+MakeHuman is an open source (so it's completely free), innovative
+and professional software for the modelling of 3-Dimensional humanoid
+characters.
diff --git a/graphics/makehuman/makehuman.SlackBuild b/graphics/makehuman/makehuman.SlackBuild
index 93002995c8..0cd3d589a5 100644
--- a/graphics/makehuman/makehuman.SlackBuild
+++ b/graphics/makehuman/makehuman.SlackBuild
@@ -22,25 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220304 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to the latest release.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=makehuman
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.2.0+20201105183027}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,20 +46,22 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
+SRCNAM=makehuman-community
+DEBTAG="${DEBTAG:-1ppa1_all}"
+DEB="${SRCNAM}_${VERSION}-${DEBTAG}.deb"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-ar vx $CWD/$PRGNAM-$VERSION\_all.deb
cd $PKG
-tar -xvjf $TMP/data.tar.bz2
-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
+ar p $CWD/$DEB data.tar.xz | tar xvfJ -
-rm -rf $PKG/var
+# 20220304 bkw: no need to strip anything (it's all python, no compiled code).
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/licenses $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/$SRCNAM/licenses $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/makehuman/makehuman.info b/graphics/makehuman/makehuman.info
index 2a674a8947..472b03b399 100644
--- a/graphics/makehuman/makehuman.info
+++ b/graphics/makehuman/makehuman.info
@@ -1,8 +1,8 @@
PRGNAM="makehuman"
-VERSION="1.0.2"
-HOMEPAGE="http://www.makehuman.org"
-DOWNLOAD="http://download.tuxfamily.org/makehuman/releases/1.0.2/makehuman-1.0.2_all.deb"
-MD5SUM="d04ab2a7b7968d77d97dc5b91df93412"
+VERSION="1.2.0+20201105183027"
+HOMEPAGE="http://www.makehumancommunity.org/"
+DOWNLOAD="https://ppa.launchpadcontent.net/makehuman-official/makehuman-community/ubuntu/pool/main/m/makehuman-community/makehuman-community_1.2.0+20201105183027-1ppa1_all.deb"
+MD5SUM="94887d0ccb20df88145b7fbf2deb5c95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="PyOpenGL"