Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
ed0303bd
Commit
ed0303bd
authored
May 18, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add blender
parent
616f63a6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
0 deletions
+81
-0
blender.sh
pack.d/blender.sh
+48
-0
blender.sh
play.d/blender.sh
+17
-0
blender.sh
repack.d/blender.sh
+16
-0
No files found.
pack.d/blender.sh
0 → 100755
View file @
ed0303bd
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
#VERSION="$3"
.
$(
dirname
$0
)
/common.sh
# blender-$pkgver-linux-x64
PKGNAME
=
"
$(
basename
$TAR
|
sed
-e
"s|-linux.*||"
)
"
mkdir
-p
opt/
erc unpack
$TAR
mv
$PRODUCT
*
opt/
$PRODUCT
mv_as
()
{
local
tdir
=
"
$(
dirname
"
$2
"
)
"
mkdir
-p
".
$tdir
"
mv
opt/
$PRODUCT
/
"
$1
"
.
"
$2
"
}
cat
<<
EOF
>x-blender.xml
<?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-blender">
<!--Created automatically by update-mime-database. DO NOT EDIT!-->
<comment>Blender scene</comment>
<glob pattern="*.blend"/>
</mime-type>
EOF
mv_as blender-symbolic.svg
"/usr/share/icons/hicolor/symbolic/apps/blender-symbolic.svg"
mv_as blender.svg
"/usr/share/icons/hicolor/scalable/apps/blender.svg"
mv_as blender.desktop
"/usr/share/applications/blender.desktop"
mv_as x-blender.xml
"/usr/share/mime/application/x-blender.xml"
erc pack
$PKGNAME
.tar opt usr
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Graphics
license: GPLv2
url: https://blender.org
summary: A fully integrated 3D graphics creation suite
description: A fully integrated 3D graphics creation suite
EOF
return_tar
$PKGNAME
.tar
play.d/blender.sh
0 → 100755
View file @
ed0303bd
#!/bin/sh
PKGNAME
=
blender
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"A fully integrated 3D graphics creation suite"
URL
=
"https://blender.org"
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
"
$(
snap_get_version
$PKGNAME
)
"
fi
PKGURL
=
"https://download.blender.org/release/Blender
${
VERSION
:0:3
}
/blender-
${
VERSION
}
-linux-x64.tar.xz"
install_pack_pkgurl
repack.d/blender.sh
0 → 100755
View file @
ed0303bd
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
add_bin_link_command blender
$PRODUCTDIR
/blender-launcher
add_bin_link_command blender-softwaregl
$PRODUCTDIR
/blender-softwaregl
add_bin_link_command blender-system-info
$PRODUCTDIR
/blender-system-info.sh
add_bin_link_command blender-thumbnailer
$PRODUCTDIR
/blender-thumbnailer
ignore_lib_requires libamdhip64.so.6 libze_loader.so.1
add_libs_requires
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment