Сравнение mcomix-2.2.1 с mcomix-3.0.0-r1
/usr/portage/media-gfx/mcomix/mcomix-3.0.0-r1.ebuild 2023-10-09 14:52:31.636368404 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 | 7 |
PYTHON_COMPAT=( python3_{9..12} ) |
8 |
inherit distutils-r1 optfeature xdg |
|
8 |
inherit desktop distutils-r1 optfeature xdg |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="GTK image viewer for comic book archives" |
11 | 11 |
HOMEPAGE="https://mcomix.sourceforge.net" |
... | ... | |
31 | 31 |
default |
32 | 32 | |
33 | 33 |
# Uncompress man page |
34 |
gunzip mcomix.1.gz || die |
|
35 |
sed -e "s/mcomix.1.gz/mcomix.1/" -i setup.py || die |
|
34 |
gunzip share/man/man1/mcomix.1.gz || die |
|
35 |
} |
|
36 | ||
37 |
src_install() { |
|
38 |
distutils-r1_src_install |
|
39 | ||
40 |
# Application meta files are not installed automatically anymore |
|
41 |
domenu share/applications/*.desktop |
|
42 |
local x |
|
43 |
for x in 16 22 24 32 48 256 scalable; do |
|
44 |
doicon -s ${x} share/icons/hicolor/${x}*/* |
|
45 |
done |
|
46 |
doman share/man/man1/mcomix.1 |
|
47 |
insinto /usr/share/metainfo |
|
48 |
doins share/metainfo/*.xml |
|
49 |
insinto /usr/share/mime/packages |
|
50 |
doins share/mime/packages/*.xml |
|
36 | 51 |
} |
37 | 52 | |
38 | 53 |
pkg_postinst() { |