dev-libs/libplatform: Version bump
authorIan Whyman <thev00d00@gentoo.org>
Sat, 2 Apr 2016 10:17:15 +0000 (11:17 +0100)
committerIan Whyman <thev00d00@gentoo.org>
Sat, 2 Apr 2016 10:18:56 +0000 (11:18 +0100)
Package-Manager: portage-2.2.27

dev-libs/libplatform/Manifest
dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch [new file with mode: 0644]
dev-libs/libplatform/libplatform-2.0.1.ebuild [new file with mode: 0644]

index 697e6f06578b614e213e9d4159369fbce89df617..c4a24d4dbdd88ca75e7db9b4c9bc5965b478ce77 100644 (file)
@@ -1 +1,2 @@
 DIST libplatform-1.0.10.tar.gz 77558 SHA256 6ba3239cb1c0a5341efcf9488f4d3dfad8c26d6b2994b2b2247e5a61568ab5cd SHA512 3fceea9287c4460d916971fb97475b96115d922a8882bce80d0cbbdf961f2848008c06ad7f6eac67c36be5e8486370ec9412a954840608332deca2ff6fb3cedc WHIRLPOOL 4db0338a5536fcb44859a6262628f90ade80190c06a7d98ba838c1dfb590cfc68676ffb6672c22f1b685fd33c0ebae0afde384b9324b02dec0071b96c96c6fe4
+DIST libplatform-2.0.1.tar.gz 74676 SHA256 e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf SHA512 ac397ffc741617be4371dc2a4b44cdddd07f2bdbd54e20e91a77e7d00b90b4d54f9aa5d2908c389638f548a7b6f9aa0a93bb10697eaecfc23117dee6f789f555 WHIRLPOOL 978775ff748797c4780f97f98c43f17044deab51929ad94a48c136df4bc0cc5269f0251a6fdd2099797760e222c4fdfe7870388077be799e370972df5f1b7597
diff --git a/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch b/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch
new file mode 100644 (file)
index 0000000..fce47f4
--- /dev/null
@@ -0,0 +1,31 @@
+From 21317bf0bb90f16d591aec580fe70d58cb43e65e Mon Sep 17 00:00:00 2001
+From: Balint Reczey <balint@balintreczey.hu>
+Date: Sun, 21 Feb 2016 23:06:28 +0100
+Subject: [PATCH] Install pkg-config and .cmake files in arch-specific libdirs
+
+They contain arch-specific strings thus they can't be in
+architecture-independent dirs. This would prevent co-installing
+i386 and amd64 versions for example, since the files would differ.
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a577410..6b5586f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -74,12 +74,12 @@ install(FILES src/util/atomic.h
+ IF(NOT WIN32)
+   configure_file(p8-platform.pc.in p8-platform.pc @ONLY)
+   install(FILES ${CMAKE_BINARY_DIR}/p8-platform.pc
+-          DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig)
++          DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ ENDIF(NOT WIN32)
+ # config mode
+ configure_file (p8-platform-config.cmake.in
+                 p8-platform-config.cmake @ONLY)
+ install(FILES ${CMAKE_BINARY_DIR}/p8-platform-config.cmake
+-        DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/p8-platform)
++        DESTINATION ${CMAKE_INSTALL_LIBDIR}/p8-platform)
diff --git a/dev-libs/libplatform/libplatform-2.0.1.ebuild b/dev-libs/libplatform/libplatform-2.0.1.ebuild
new file mode 100644 (file)
index 0000000..b9ab84c
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+MY_PN="platform"
+MY_PN_PREFIX="p8"
+
+DESCRIPTION="Platform support library used by libCEC and binary add-ons for Kodi"
+HOMEPAGE="https://github.com/Pulse-Eight/platform"
+SRC_URI="https://github.com/Pulse-Eight/${MY_PN}/archive/${MY_PN_PREFIX}-${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/${P}-arch-specific-libdirs.patch" )
+
+S="${WORKDIR}/${MY_PN}-${MY_PN_PREFIX}-${MY_PN}-${PV}"