~gnome3-team/gnome-screensaver/ubuntu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

DEB_CONFIGURE_EXTRA_FLAGS += \
			--with-xscreensaverdir=/usr/share/xscreensaver/config \
			--with-xscreensaverhackdir=/usr/lib/xscreensaver \
			--enable-locking \
			--with-libgl \
			--enable-docbook-docs

LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

binary-post-install/gnome-screensaver::
	mv debian/gnome-screensaver/etc/xdg/autostart \
		debian/gnome-screensaver/usr/share/gnome/autostart
	rm -rf debian/gnome-screensaver/usr/share/doc/gnome-screensaver-*

install/gnome-screensaver::
	rm debian/gnome-screensaver/usr/lib/gnome-screensaver/gnome-screensaver/popsquares
	rm debian/gnome-screensaver/usr/share/applications/screensavers/popsquares.desktop