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
2485869b
Commit
2485869b
authored
Oct 23, 2020
by
satmandu
Committed by
GitHub
Oct 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add adwaita_icon_theme (#4488)
* Add adwaita * Update depends and fix ruby variables. * remove ldconfig
parent
d60d60a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
packages/adwaita_icon_theme.rb
packages/adwaita_icon_theme.rb
+47
-0
No files found.
packages/adwaita_icon_theme.rb
0 → 100644
View file @
2485869b
require
'package'
class
Adwaita_icon_theme
<
Package
description
'Theme consisting of a set of icons for GTK+'
homepage
'https://gitlab.gnome.org/GNOME/adwaita-icon-theme'
version
'3.38.0'
compatibility
'all'
source_url
'https://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/3.38/adwaita-icon-theme-3.38.0.tar.xz'
source_sha256
'6683a1aaf2430ccd9ea638dd4bfe1002bc92b412050c3dba20e480f979faaf97'
depends_on
'gtk3'
depends_on
'librsvg'
depends_on
'gdk_pixbuf'
depends_on
'vala'
=>
:build
depends_on
'llvm'
=>
:build
depends_on
'xdg_base'
def
self
.
build
ENV
[
'CFLAGS'
]
=
"-fuse-ld=lld"
ENV
[
'CXXFLAGS'
]
=
"-fuse-ld=lld"
ENV
[
'GDK_PIXBUF_MODULEDIR'
]
=
"
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders"
ENV
[
'GDK_PIXBUF_MODULE_FILE'
]
=
"
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders.cache"
ENV
[
'LIBRARY_PATH'
]
=
"
#{
CREW_LIB_PREFIX
}
:/usr/
#{
ARCH_LIB
}
:/
#{
ARCH_LIB
}
"
# Need to make sure svg support is properly loaded otherwise build fails.
system
"gdk-pixbuf-query-loaders >
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders.cache"
system
"./configure
#{
CREW_OPTIONS
}
"
system
'make'
end
def
self
.
install
system
"make install DESTDIR=
#{
CREW_DEST_DIR
}
"
end
def
self
.
postinstall
puts
"To add basic settings, execute the following:"
.
lightblue
puts
"Note that this will overwrite any existing ~/.config/gtk-3.0/settings.ini file!"
.
lightred
puts
puts
"mkdir
#{
HOME
}
/.config/gtk-3.0"
.
lightblue
puts
"cat << 'EOF' >
#{
HOME
}
/.config/gtk-3.0/settings.ini
[Settings]
gtk-application-prefer-dark-theme = false
gtk-icon-theme-name = adwaita
gtk-fallback-icon-theme = gnome
gtk-font-name = Arial 10
EOF"
.
lightblue
puts
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