wok-next rev 17916

fontforge: add desktop integration, remove included fonts.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 09 10:20:05 2015 +0300 (2015-04-09)
parents 6d29d11020a4
children 0630049293f5
files fontforge/receipt
line diff
     1.1 --- a/fontforge/receipt	Thu Apr 09 09:04:31 2015 +0200
     1.2 +++ b/fontforge/receipt	Thu Apr 09 10:20:05 2015 +0300
     1.3 @@ -37,4 +37,17 @@
     1.4  	cp -a $install/usr/lib/*.so* $fs/usr/lib
     1.5  	cp -a $install/usr/lib/python2.7/site-packages/*.so $fs/usr/lib/python2.7/site-packages
     1.6  	cp -a $install/usr/share/fontforge $fs/usr/share
     1.7 +
     1.8 +	# Desktop integration not auto-installed
     1.9 +	mkdir -p \
    1.10 +		$fs/usr/share/applications \
    1.11 +		$fs/usr/share/mime/packages \
    1.12 +		$fs/usr/share/icons/hicolor
    1.13 +	cp -a $src/desktop/fontforge.desktop $fs/usr/share/applications
    1.14 +	cp -a $src/desktop/fontforge.xml $fs/usr/share/mime/packages
    1.15 +	cp -a $src/desktop/icons/16x16 $src/desktop/icons/48x48 \
    1.16 +		$fs/usr/share/icons/hicolor
    1.17 +
    1.18 +	# Remove included fonts
    1.19 +	rm -r $fs/usr/share/fontforge/pixmaps/*.ttf
    1.20  }