mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
Compile with sassc
This commit is contained in:
parent
7feeeb7514
commit
ea2f84450a
@ -44,6 +44,7 @@ It is strongly encouraged to submit pull-requests to suggest fixes and enhanceme
|
||||
To build the theme the follwing packages are required
|
||||
* `autoconf`
|
||||
* `automake`
|
||||
* `sassc` (not for Ubuntu 16.04 - this distro assumes you have compiled with gulp)
|
||||
* `pkg-config` or `pkgconfig` for Fedora
|
||||
* `libgtk-3-dev` for Debian based distros or `gtk3-devel` for RPM based distros
|
||||
* `git` to clone the source directory
|
||||
@ -92,6 +93,7 @@ Other options to pass to autogen.sh are
|
||||
option should not be needed.
|
||||
Note 2: For GNOME 3.24 and 3.26, use --with-gnome-version=3.22
|
||||
(this works for now, the build system will be improved in the future)
|
||||
--with-custom=<script> run the executable script file in the custom subfolder
|
||||
|
||||
After the installation is complete the theme can be activated with `gnome-tweak-tool` or a similar program by selecting `Arc`, `Arc-Darker` or `Arc-Dark` as Window/GTK+ theme and `Arc` or `Arc-Dark` as GNOME Shell/Cinnamon theme.
|
||||
|
||||
|
@ -140,6 +140,11 @@ if ENABLE_LIGHT
|
||||
|
||||
cd $(srcdir)/gtk-3.0 && cp thumbnail.png $(ithemedir)/gtk-3.0
|
||||
|
||||
@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
|
||||
fi
|
||||
|
||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
|
||||
assets \
|
||||
gtk.css \
|
||||
@ -152,6 +157,12 @@ if ENABLE_DARKER
|
||||
|
||||
cd $(srcdir)/gtk-3.0 && cp thumbnail.png $(ithemedarkerdir)/gtk-3.0
|
||||
|
||||
@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-darker.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-darker.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
|
||||
fi
|
||||
|
||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
|
||||
assets \
|
||||
gtk-dark.css \
|
||||
@ -171,6 +182,11 @@ if ENABLE_DARK
|
||||
assets \
|
||||
$(ithemedarkdir)/gtk-3.0
|
||||
|
||||
@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
|
||||
fi
|
||||
|
||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
|
||||
gtk-dark.css \
|
||||
$(ithemedarkdir)/gtk-3.0/gtk.css
|
||||
@ -179,6 +195,13 @@ endif # ENABLE_DARK
|
||||
if !ENABLE_TRANSPARENCY
|
||||
|
||||
if ENABLE_LIGHT
|
||||
@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-dark.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
|
||||
fi
|
||||
|
||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
|
||||
gtk-solid.css \
|
||||
$(ithemedir)/gtk-3.0/gtk.css
|
||||
@ -189,6 +212,13 @@ if ENABLE_LIGHT
|
||||
endif # ENABLE_LIGHT
|
||||
|
||||
if ENABLE_DARKER
|
||||
@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-darker.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-darker.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-dark.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
|
||||
fi
|
||||
|
||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
|
||||
gtk-solid-darker.css \
|
||||
$(ithemedarkerdir)/gtk-3.0/gtk.css
|
||||
@ -199,6 +229,11 @@ if ENABLE_DARKER
|
||||
endif # ENABLE_DARKER
|
||||
|
||||
if ENABLE_DARK
|
||||
@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-dark.css;\
|
||||
sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
|
||||
fi
|
||||
|
||||
cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
|
||||
gtk-solid-dark.css \
|
||||
$(ithemedarkdir)/gtk-3.0/gtk.css
|
||||
|
@ -1,6 +1,6 @@
|
||||
AC_INIT(
|
||||
[arc-theme],
|
||||
[20161119],
|
||||
[20171105],
|
||||
[https://github.com/horst3180/Arc-theme/issues],
|
||||
[arc-theme],
|
||||
[https://github.com/horst3180/Arc-theme],
|
||||
|
Loading…
Reference in New Issue
Block a user