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
47e228cb
Commit
47e228cb
authored
Mar 09, 2021
by
satmandu
Committed by
GitHub
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create devil.rb
parent
834ffb30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
packages/devil.rb
packages/devil.rb
+52
-0
No files found.
packages/devil.rb
0 → 100644
View file @
47e228cb
require
'package'
class
Devil
<
Package
description
'Library for reading several different image formats'
homepage
'http://openil.sourceforge.net/'
version
'1.8.0-e342'
compatibility
'all'
source_url
'https://github.com/DentonW/DevIL/archive/e34284a7e07763769f671a74b4fec718174ad862.zip'
source_sha256
'73728ff9f877b9247728ae46148866eea81092ccefb538a28640fe31b73d74ac'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/devil-1.8.0-e342-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/devil-1.8.0-e342-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/devil-1.8.0-e342-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/devil-1.8.0-e342-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'b20edfe23152ce8c1de0dc78ce1098dc5844ba23377108f93c5222101099c51c'
,
armv7l:
'b20edfe23152ce8c1de0dc78ce1098dc5844ba23377108f93c5222101099c51c'
,
i686:
'cd64e331c519a10550c774af9d9c304fa80811d482304e5889f3d0d6136489c8'
,
x86_64:
'1762d8d08c4d21a8b892864e2d18871b2f15a99a59a543faa42682e7921293f7'
})
depends_on
'libpng'
depends_on
'jasper'
depends_on
'lcms'
depends_on
'libjpeg_turbo'
def
self
.
patch
system
"find . -type f -exec sed -e 's,DESTINATION lib,DESTINATION lib
#{
CREW_LIB_SUFFIX
}
,g' \
-i {} +"
end
def
self
.
build
Dir
.
mkdir
'DevIL/builddir'
Dir
.
chdir
'DevIL/builddir'
do
system
"env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -I
#{
CREW_PREFIX
}
/include/harfbuzz' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{
CREW_CMAKE_OPTIONS
.
sub
(
/--build=.*/
,
''
)
}
\
-DBUILD_SHARED_LIBS=ON \
.."
end
system
'ninja -C DevIL/builddir'
end
def
self
.
install
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja -C DevIL/builddir install"
end
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