~ubuntu-branches/ubuntu/trusty/nvidia-prime/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2013-07-03 11:42:17 UTC
  • Revision ID: package-import@ubuntu.com-20130703114217-lv28e6ke66ro03kx
Tags: 0.2
* debian/control:
  - Conflict/replace/provide the hybrid-graphics virtual
    package.
* Make sure to start X instead of XMir or hybrid graphics
  won't work, at least for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
PKG_lightdm_custom_config_dir := /usr/share/$(PKG_name)
18
18
PKG_lightdm_custom_config_file := $(PKG_lightdm_custom_config_dir)/lightdm.conf
19
19
LIGHTDM_CUSTOM_CONF_DIR := $(TMP)$(PKG_lightdm_custom_config_dir)
 
20
# This doesn't work in Precise but it's harmless
 
21
# We need it to disable XMir
 
22
PKG_lightdm_config_filename_d := 90-nvidia.conf
 
23
PKG_lightdm_config_dir_d := $(PKG_lightdm_config_dir)/lightdm.conf.d
 
24
PKG_lightdm_config_file_d := $(PKG_lightdm_config_dir_d)/$(PKG_lightdm_config_filename_d)
 
25
 
20
26
XORG_CONF := /etc/X11/xorg.conf
21
27
 
22
28
%:
34
40
                        -e "s|#LIGHTDM_CONF_DIR#|$(PKG_lightdm_config_dir)|g" \
35
41
                        -e "s|#LIGHTDM_CUSTOM_CONF_FILE#|$(PKG_lightdm_custom_config_file)|g" \
36
42
                        -e "s|#LIGHTDM_CUSTOM_CONF_DIR#|$(PKG_lightdm_custom_config_dir)|g" \
 
43
                        -e "s|#LIGHTDM_CONF_FILE_D#|$(PKG_lightdm_config_file_d)|g" \
 
44
                        -e "s|#LIGHTDM_CONF_DIR_D#|$(PKG_lightdm_config_dir_d)|g" \
 
45
                        -e "s|#LIGHTDM_CONF_FILENAME_D#|$(PKG_lightdm_config_filename_d)|g" \
37
46
                $$i.in > $$i; \
38
47
        done
39
48