Simplify rules: Stop resolve binary dependencies in rules file.
Jonas Smedegaard
5 years ago
16 | 16 |
|
17 | 17 |
Package: sugar-read-activity
|
18 | 18 |
Architecture: all
|
19 | |
Depends: ${cdbs:Depends},
|
|
19 |
Depends:
|
|
20 |
gir1.2-evince-3.0,
|
|
21 |
gir1.2-gdkpixbuf-2.0,
|
|
22 |
gir1.2-glib-2.0,
|
|
23 |
gir1.2-gtk-3.0,
|
|
24 |
gir1.2-pango-1.0,
|
|
25 |
python,
|
|
26 |
python-cairo,
|
|
27 |
python-dbus,
|
|
28 |
python-gi,
|
|
29 |
python-sugar3,
|
|
30 |
python-telepathy,
|
20 | 31 |
${misc:Depends},
|
21 | 32 |
${python:Depends}
|
22 | |
Recommends: ${cdbs:Recommends}
|
23 | |
Suggests: ${cdbs:Suggests}
|
24 | 33 |
Description: Sugar Learning Platform - document viewer activity
|
25 | 34 |
Sugar Learning Platform promotes collaborative learning through Sugar
|
26 | 35 |
Activities that encourage critical thinking, the heart of a quality
|
3 | 3 |
include /usr/share/cdbs/1/rules/debhelper.mk
|
4 | 4 |
|
5 | 5 |
pkg = $(DEB_SOURCE_PACKAGE)
|
6 | |
|
7 | |
# Needed (always/often) at runtime
|
8 | |
python-deps = sugar3 gi dbus cairo telepathy
|
9 | |
gir-deps = evince-3.0 glib-2.0 gtk-3.0 gdkpixbuf-2.0 pango-1.0
|
10 | |
CDBS_DEPENDS_$(pkg) = python
|
11 | |
CDBS_DEPENDS_$(pkg) +=, $(patsubst %,$(comma) python-%,$(python-deps))
|
12 | |
CDBS_DEPENDS_$(pkg) +=, $(patsubst %,$(comma) gir1.2-%,$(gir-deps))
|
13 | 6 |
|
14 | 7 |
binary-post-install/$(pkg)::
|
15 | 8 |
rm -rf debian/$(cdbs_curpkg)/usr/share/mime/
|