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>
This commit is contained in:
B. Watson 2022-03-04 14:16:23 -05:00 committed by Willy Sudiarto Raharjo
parent 6d11638bf9
commit 280af76d29
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 21 additions and 24 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"