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
4fddc192
Commit
4fddc192
authored
Mar 15, 2021
by
satmandu
Committed by
GitHub
Mar 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update adwaita_icon_theme.rb
parent
69947025
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
37 deletions
+20
-37
packages/adwaita_icon_theme.rb
packages/adwaita_icon_theme.rb
+20
-37
No files found.
packages/adwaita_icon_theme.rb
View file @
4fddc192
...
@@ -3,58 +3,41 @@ require 'package'
...
@@ -3,58 +3,41 @@ require 'package'
class
Adwaita_icon_theme
<
Package
class
Adwaita_icon_theme
<
Package
description
'Theme consisting of a set of icons for GTK+'
description
'Theme consisting of a set of icons for GTK+'
homepage
'https://gitlab.gnome.org/GNOME/adwaita-icon-theme'
homepage
'https://gitlab.gnome.org/GNOME/adwaita-icon-theme'
version
'3.38.0'
version
'3.38.0
-c5be
'
compatibility
'
all
'
compatibility
'
x86_64
'
source_url
'https://
ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/3.38/adwaita-icon-theme-3.38.0.tar.xz
'
source_url
'https://
gitlab.gnome.org/GNOME/adwaita-icon-theme/-/archive/c5bed6840332a7539b175feb4ec7ecf957fb1399/adwaita-icon-theme-c5bed6840332a7539b175feb4ec7ecf957fb1399.tar.bz2
'
source_sha256
'
6683a1aaf2430ccd9ea638dd4bfe1002bc92b412050c3dba20e480f979faaf97
'
source_sha256
'
54d67549cb7b295dd649460a22af9d2f436dd73386068eb20ce888f6f4bee0fb
'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/adwaita_icon_theme-3.38.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/adwaita_icon_theme-3.38.0-c5be-chromeos-i686.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/adwaita_icon_theme-3.38.0-chromeos-armv7l.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/adwaita_icon_theme-3.38.0-c5be-chromeos-x86_64.tar.xz'
i686:
'https://dl.bintray.com/chromebrew/chromebrew/adwaita_icon_theme-3.38.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/adwaita_icon_theme-3.38.0-chromeos-x86_64.tar.xz'
,
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'14e772b1659a40a0021bc31592c844109514a5193af60771bdde68619d401773'
,
i686:
'f5e0d629d2b99eb18cfa2a6d991a33e0efb4efe206b6510d884bf8d96ee3d9af'
,
armv7l:
'14e772b1659a40a0021bc31592c844109514a5193af60771bdde68619d401773'
,
x86_64:
'bd03ca46fc6310ea449362b95e0032e800fdda4f86252e02f64502407cd29adc'
i686:
'80b7ddd46eab62bb102415ce354e8931362a0757cf498c6eefc1d80bcf55cb63'
,
x86_64:
'049d7fdb6a435484ae5a2cca69b203dd6b8ee6bae088edb3a04c6de2c2c13ecf'
,
})
})
depends_on
'cantarell_fonts'
depends_on
'gtk3'
depends_on
'gtk3'
depends_on
'librsvg'
depends_on
'librsvg'
depends_on
'gdk_pixbuf'
depends_on
'gdk_pixbuf'
depends_on
'vala'
=>
:build
depends_on
'vala'
=>
:build
depends_on
'llvm'
=>
:build
depends_on
'xdg_base'
depends_on
'xdg_base'
def
self
.
build
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.
# 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
"env GDK_PIXBUF_MODULEDIR='
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders' \
system
"./configure
#{
CREW_OPTIONS
}
"
GDK_PIXBUF_MODULE_FILE='
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders.cache' \
gdk-pixbuf-query-loaders >
#{
CREW_LIB_PREFIX
}
/gdk-pixbuf-2.0/2.10.0/loaders.cache"
system
'NOCONFIGURE=1 ./autogen.sh'
system
"env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure
#{
CREW_OPTIONS
}
"
system
'make'
system
'make'
end
end
def
self
.
install
def
self
.
install
system
"make install DESTDIR=
#{
CREW_DEST_DIR
}
"
system
"make install DESTDIR=
#{
CREW_DEST_DIR
}
"
end
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
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