Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
e2a7e1a8
Commit
e2a7e1a8
authored
Jul 12, 2021
by
Ed Reel
Committed by
GitHub
Jul 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add natron package (#5953)
parent
ecb6b26d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
packages/natron.rb
packages/natron.rb
+57
-0
No files found.
packages/natron.rb
0 → 100644
View file @
e2a7e1a8
require
'package'
class
Natron
<
Package
description
'Open Source Compositing Software For VFX and Motion Graphics.'
homepage
'https://natrongithub.github.io/'
version
'2.4.0'
license
'GPL-2'
compatibility
'x86_64'
source_url
'https://github.com/NatronGitHub/Natron/releases/download/v2.4.0/Natron-2.4.0-Linux-64.tgz'
source_sha256
'7e8f2ec343f553799f34dce89aa250c410024f17e2c9ccfb5e22544db3e46bb4'
binary_url
({
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/natron/2.4.0_x86_64/natron-2.4.0-chromeos-x86_64.tpxz'
})
binary_sha256
({
x86_64:
'35b3c22b67f74d285e71f619179cf36a3a475d0df37dd7dcb104d22a318edce4'
})
depends_on
'desktop_file_utils'
depends_on
'libglu'
depends_on
'sommelier'
@strip
=
ENV
[
'CREW_NOT_STRIP'
]
@shrink
=
ENV
[
'CREW_SHRINK_ARCHIVE'
]
ENV
[
'CREW_NOT_STRIP'
]
=
'1'
ENV
[
'CREW_SHRINK_ARCHIVE'
]
=
'0'
def
self
.
install
# IMPORTANT BUILD/INSTALL FROM SOURCE INSTRUCTIONS BELOW:
# Enter /usr/local/tmp/crew/dest/usr/local/share/Natron-#{version} for the install directory.
# Uncheck 'Run Natron now' at the end of the install wizard.
system
"./Natron-
#{
version
}
-Linux-64"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/share/Natron-
#{
version
}
/Natron"
,
"
#{
CREW_DEST_PREFIX
}
/bin/natron"
end
def
self
.
postinstall
puts
"
\n
Type 'natron' to get started.
\n
"
.
lightblue
end
def
self
.
remove
config_dir
=
"
#{
HOME
}
/.Natron"
if
Dir
.
exists?
config_dir
print
"Would you like to remove the config directory
#{
config_dir
}
? [y/N] "
case
STDIN
.
getc
when
"y"
,
"Y"
FileUtils
.
rm_rf
config_dir
puts
"
#{
config_dir
}
removed."
.
lightred
else
puts
"
#{
config_dir
}
saved."
.
lightgreen
end
end
end
ENV
[
'CREW_SHRINK_ARCHIVE'
]
=
@shrink
ENV
[
'CREW_NOT_STRIP'
]
=
@strip
end
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