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 29 30 31 32 33
|
#! /usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.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 += \
--enable-ipv6 \
--with-avahi \
--with-jpeg \
--with-libnotify \
--with-gcrypt \
--with-gnutls \
--with-gnome-keyring \
--with-telepathy \
--with-zlib
# Request NetworkManager support only for Linux
ifeq ($(DEB_HOST_ARCH_OS),linux)
DEB_CONFIGURE_EXTRA_FLAGS += \
--with-network-manager
endif
# drop unneeded ELF deps
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
binary-install/vino::
# Move the autostart file to /usr/share/gnome/autostart
mkdir -p debian/vino/usr/share/gnome/autostart
mv debian/vino/etc/xdg/autostart/vino-server.desktop \
debian/vino/usr/share/gnome/autostart
cd debian/vino && rmdir -p etc/xdg/autostart
|