Add pop-icon-theme-extra, and Pop-Extra icons directory
This commit is contained in:
parent
9eba381ebd
commit
6c226051f9
6
Makefile
6
Makefile
|
@ -14,11 +14,15 @@ install:
|
|||
$(DESTDIR)/usr/share/icons/Pop
|
||||
./icons-recolor.sh $(DESTDIR)/usr/share/icons/Pop/
|
||||
|
||||
mkdir -p $(DESTDIR)/usr/share/icons/Pop-Extra
|
||||
./icons-split.sh $(DESTDIR)/usr/share/icons/Pop/ $(DESTDIR)/usr/share/icons/Pop-Extra/
|
||||
|
||||
post-install:
|
||||
-gtk-update-icon-cache -q $(DESTDIR)/usr/share/icons/Pop
|
||||
-gtk-update-icon-cache -q $(DESTDIR)/usr/share/icons/Pop-Extra
|
||||
|
||||
uninstall:
|
||||
-rm -rf $(DESTDIR)/usr/share/icons/Pop
|
||||
-rm -rf $(DESTDIR)/usr/share/icons/Pop $(DESTDIR)/usr/share/icons/Pop-Extra
|
||||
|
||||
_get_version:
|
||||
$(eval VERSION := $(shell git show -s --format=%cd --date=format:%Y%m%d HEAD))
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
pop-icon-theme (1.3.0) bionic; urgency=medium
|
||||
|
||||
* Split out application icons to separate icon theme
|
||||
|
||||
-- Jeremy Soller <jeremy@system76.com> Mon, 21 May 2018 11:16:32 -0600
|
||||
|
||||
pop-icon-theme (1.2.2) artful; urgency=medium
|
||||
|
||||
* GOA Nextcloud Icon workaround.
|
||||
|
|
|
@ -10,5 +10,11 @@ Homepage: https://github.com/system76/pop-icon-theme
|
|||
Package: pop-icon-theme
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Suggests: pop-icon-theme-extra
|
||||
Conflicts: system76-pop-icon-theme
|
||||
Description: Pop Icons
|
||||
|
||||
Package: pop-icon-theme-extra
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends} pop-icon-theme (>= ${binary:Version})
|
||||
Description: Pop Icon theme additional
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/usr/share/icons/Pop-Extra
|
|
@ -0,0 +1 @@
|
|||
/usr/share/icons/Pop
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
APPS=(
|
||||
builder
|
||||
org.gnome.builder
|
||||
org.gnome.Builder
|
||||
)
|
||||
|
||||
if [ ! -d "$1" -o ! -d "$2" ]
|
||||
then
|
||||
echo "$0 [original] [new]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ORIGINAL="$(realpath "$1")"
|
||||
NEW="$(realpath "$2")"
|
||||
|
||||
cd "$ORIGINAL"
|
||||
for app in "${APPS[@]}"
|
||||
do
|
||||
for folder in */apps
|
||||
do
|
||||
file="$folder/$app.svg"
|
||||
if [ -f "$file" ]
|
||||
then
|
||||
mkdir -pv "$NEW/$folder"
|
||||
mv -v "$file" "$NEW/$file"
|
||||
fi
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue