+libcec (2.2.0-4~trusty) trusty; urgency=low
+
+ * Reintroduce CEC_HDMI_PORT for exynos platform
+
+ -- Piment Noir Packaging <contact@piment-noir.org> Tue, 27 Jan 2015 22:30:00 +0100
+
libcec (2.2.0-3~trusty) trusty; urgency=low
* Backport some fixes
--- /dev/null
+diff -Nur a/src/lib/adapter/Exynos/ExynosCECAdapterCommunication.cpp b/src/lib/adapter/Exynos/ExynosCECAdapterCommunication.cpp
+--- a/src/lib/adapter/Exynos/ExynosCECAdapterCommunication.cpp 2014-10-28 15:20:50.000000000 +0000
++++ b/src/lib/adapter/Exynos/ExynosCECAdapterCommunication.cpp 2015-01-25 23:42:05.324537990 +0000
+@@ -161,16 +161,14 @@
+
+ uint16_t CExynosCECAdapterCommunication::GetPhysicalAddress(void)
+ {
+- uint16_t phys_addr = CEC_DEFAULT_PADDR;
++ char* addr_string = getenv("CEC_HDMI_PORT");
++ if (addr_string == NULL)
++ return CEC_DEFAULT_PHYSICAL_ADDRESS;
++ int addr_int = atoi(addr_string);
++ if (addr_int == 0)
++ return CEC_DEFAULT_PHYSICAL_ADDRESS;
+
+- FILE *f = fopen(CEC_PADDR_NAME, "r");
+- if(f) {
+- if(fscanf(f, "%hu", &phys_addr) != 1)
+- phys_addr = CEC_DEFAULT_PADDR;
+-
+- fclose(f);
+- }
+- return phys_addr;
++ return 0x1000 * addr_int;
+ }
+
+
+++ /dev/null
---- a/debian/changelog
-+++ b/debian/changelog
-@@ -154,7 +154,7 @@
-
- -- Pulse-Eight Packaging <packaging@pulse-eight.com> Fri, 8 Mar 2013 17:21:00 +0100
-
-- libcec (2.1.0-1) unstable; urgency=low
-+libcec (2.1.0-1) unstable; urgency=low
-
- * changed / added:
- * added vendor id for Denon
---- a/debian/libcec-get-orig-source
-+++ b/debian/libcec-get-orig-source
-@@ -4,7 +4,7 @@
-
- LIBCEC_GIT_URL="git://github.com/Pulse-Eight/libcec.git"
- LIBCEC_GIT_BRANCH="release"
--LIBCEC_VERSION="1.6.1"
-+LIBCEC_VERSION="2.2.0"
-
- rm -rf "libcec-${LIBCEC_VERSION}"
- git clone "$LIBCEC_GIT_URL" "libcec-${LIBCEC_VERSION}"
+++ /dev/null
---- a/debian/rules
-+++ b/debian/rules
-@@ -6,3 +6,8 @@
- %:
- dh $@ --parallel
-
-+DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
-+ifeq ($(DEB_HOST_ARCH),armhf)
-+override_dh_auto_configure:
-+ dh_auto_configure -- --enable-exynos
-+endif
+++ /dev/null
---- a/debian/gbp.conf
-+++ b/debian/gbp.conf
-@@ -1,2 +1,2 @@
- [DEFAULT]
--pristine-tar = True
-+pristine-tar = False
-# upstreamed
-#gbp.conf.patch
-#debian-packages-fixes.patch
-# backported
-#exynos-dpkg.patch
abi_fix.patch
thread_proto_fix.patch
+0001_libcec_add-exynos-cec-variable.patch