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
c458de42
Commit
c458de42
authored
Apr 01, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add DVJ2
parent
62c755c4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
djv.sh
play.d/djv.sh
+27
-0
DJV2.sh
repack.d/DJV2.sh
+34
-0
No files found.
play.d/djv.sh
0 → 100755
View file @
c458de42
#!/bin/sh
PKGNAME
=
DJV2
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"DVJ - Professional media review software for VFX, animation, and film production"
.
$(
dirname
$0
)
/common.sh
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
mask
=
"DJV2-*.x86_64.rpm"
;;
deb
)
mask
=
"DJV2_*_amd64.deb"
;;
esac
arch
=
amd64
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/darbyjohnston/DJV/releases
$mask
)
||
fatal
"Can't get package URL"
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
epm
install
$repack
"
$PKGURL
"
repack.d/DJV2.sh
0 → 100755
View file @
c458de42
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
djv
PRODUCTCUR
=
DVJ2
PRODUCTDIR
=
/opt/DVJ2
.
$(
dirname
$0
)
/common.sh
move_to_opt /usr/local/DJV2
subst
'1iAutoProv:no'
$SPEC
rm
-v
$BUILDROOT
/usr/bin/djv
add_bin_exec_command
$PRODUCT
$PRODUCTDIR
/bin/
$PRODUCT
add_bin_link_command
$PRODUCTCUR
$PRODUCT
fix_desktop_file /usr/local/DJV2/bin/djv.sh
$PRODUCT
remove_file
$PRODUCTDIR
/etc/Color/nuke-default/make.py
remove_file
$PRODUCTDIR
/etc/Color/spi-anim/makeconfig_anim.py
remove_file
$PRODUCTDIR
/etc/Color/spi-vfx/make_vfx_ocio.py
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$PRODUCTDIR
/bin/
{
djv,djv_
*
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/../lib'
$i
done
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
#epm install --skip-installed at-spi2-atk coreutils findutils gawk glib2 libalsa libatk libat-spi2-core libcairo libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libxkbfile libXrandr libXrender libXScrnSaver libXtst sed
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