Source: platform-api
Priority: optional
Section: devel
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Build-Depends: cmake,
               debhelper (>= 9),
               doxygen,
               graphviz,
               libgles2-mesa-dev,
               gcc-4.7,
               g++-4.7,
               libhybris-common-dev,
               pkg-config,
               libmirclient-dev (>= 0.1.7),
               libmirserver-dev (>= 0.1.7),
               liburl-dispatcher1-dev,
               libdbus-1-dev,
               libdbus-cpp-dev (>= 2.0.0),
               libubuntu-location-service-dev,
               libgtest-dev,
               libprocess-cpp-dev (>= 0.0.1+14.04.20131212),
               libproperties-cpp-dev,
               protobuf-compiler,
Standards-Version: 3.9.4
Homepage: https://launchpad.net/platform-api
Vcs-Bzr: lp:platform-api
# If you aren't a member of ~phablet-team but need to upload packaging changes,
# just go ahead.  ~phablet-team will notice and sync up the code again.
Vcs-Browser: https://code.launchpad.net/platform-api

Package: libplatform-api-headers
Section: libdevel
Architecture: any
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
Description: Platform API for system level capabilities (API headers)
 This package provides the library headers for the Platform API.
 .
 Unless a new backend for the Platform API is developed, packages
 should build depend on the libplatform-api-dev package instead, which
 will pull this package as well.

Package: libplatform-hardware-api-headers
Section: libdevel
Architecture: any
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
	 libplatform-api-headers,
Description: Platform API for system level capabilities (API headers)
 This package provides the library headers for the hw-access parts of the Platform API.
 .
 Unless a new backend for the Platform API is developed, packages
 should build depend on the libplatform-hardware-api-dev package instead, which
 will pull this package as well.

Package: libplatform-api1-dev
Section: libdevel
Architecture: any
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
         libgles2-mesa-dev,
         libplatform-api-headers (= ${binary:Version}),
         libubuntu-application-api1 | libplatform-api1,
         libubuntu-application-api-mirserver1 (= ${binary:Version}),
         libubuntu-application-api-mirclient1 (= ${binary:Version}),
         ${misc:Depends},
Suggests: libplatform-api1-doc,
Description: Platform API for system level capabilities (development)
 This package provides the development library and headers (via
 dependency) for the Platform API.

Package: libubuntu-application-api-mirserver1
Section: libs
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Architecture: any
Depends: ${misc:Depends},
         ${shlibs:Depends},
Description: Implementation of the Platform API for a Mir server
 This package provides the implementation of the Platform API to
 provide a server instance of Mir.

Package: libubuntu-application-api-mirclient1
Section: libs
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Architecture: any
Depends: ${misc:Depends},
         ${shlibs:Depends},
Description: Implementation of the Platform API for a Mir client
 This package provides the implementation of the Platform API to
 allow a client to connect to a Mir server.

Package: libplatform-hardware-api1-dev
Section: libdevel
Architecture: any
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
         libgles2-mesa-dev,
         libplatform-hardware-api-headers (= ${binary:Version}),
         libubuntu-platform-hardware-api1 | libplatform-hardware-api1,
Suggests: libplatform-api1-doc,
Description: Platform API for system level capabilities (development)
 This package provides the development library and headers (via
 dependency) for the hw-access portions of the Platform API.

Package: libplatform-api1-doc
Section: doc
Architecture: all
Depends: ${misc:Depends},
         libplatform-api1-dev,
Description: Platform API for system level capabilities (development)
 This package provides the developer documentation for the Platform API.

Package: libubuntu-platform-hardware-api1
Section: libs
Architecture: any
Replaces: libplatform-hardware-api1-hybris (<< 0.18.3)
Breaks: libplatform-hardware-api1-hybris (<< 0.18.3)
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
         ${shlibs:Depends},
Description: Hybris implementation of the hw-access parts of the Platform API (runtime)
 This package provides the hybris implementation of the hw-access parts of the Platform API.
 .
 The produced library should be used via libhybris, to communicate with the
 Android userspace, which is where the device drivers live.

Package: libubuntu-application-api1
Section: libs
Architecture: any
Replaces: libplatform-api1-hybris (<< 0.18.3)
Breaks: libplatform-api1-hybris (<< 0.18.3)
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
         ${shlibs:Depends},
Description: Hybris implementation of the Platform API (runtime)
 This package provides the hybris implementation of the Platform API.
 .
 The produced library should be used via libhybris, to communicate with the
 Android userspace, which is where the Ubuntu Application Manager lives.

Package: libubuntu-application-api-test1
Section: libs
Architecture: any
Pre-Depends: ${misc:Pre-Depends},
Multi-Arch: same
Depends: ${misc:Depends},
         ${shlibs:Depends},
Description: test implementation of the Platform API
 This package provides an implementation of the Platform API for testing. It
 does not communicate with actual hardware, but reads input from a text file.
 .
 You need to explicitly enable this at runtime. Please see the README for
 details.
 .
 For now this provides simulated sensors.

Package: libplatform-api1-hybris-tests
Architecture: any
Depends: ${misc:Depends},
         ${shlibs:Depends},
         libubuntu-application-api1 (= ${binary:Version}),
Description: Hybris implementation of the Platform API (tests)
 This package provides the test cases for the hybris implementation
 of the Platform API.

Package: libubuntu-platform-api1-dev
Section: oldlibs
Architecture: all
Depends: ${misc:Depends},
         libplatform-api1-dev (= ${binary:Version}),
Description: dummy transitional package for libplatform-api1-dev
 This is dummy transitional package, please use libplatform-api1-dev instead.
 .
 This package can be safely removed.

Package: libplatform-api1-hybris
Section: oldlibs
Architecture: all
Depends: libubuntu-application-api1,
         ${misc:Depends},
Description: dummy transitional package for libplatform-api1-hybris
 This is a dummy transitional package, please use libubuntu-application-api1
 instead.

Package: libplatform-hardware-api1-hybris
Section: oldlibs
Architecture: all
Depends: libubuntu-platform-hardware-api1,
         ${misc:Depends},
Description: dummy transitional package for libplatform-hardware-api1-hybris
 This is a dummy transitional package, please use libubuntu-platform-hardware-api1
 instead.

