dev-libs/libplatform: Version bump

Package-Manager: portage-2.2.27
This commit is contained in:
Ian Whyman
2016-04-02 11:17:15 +01:00
parent e9cac45475
commit eb6db67db0
3 changed files with 55 additions and 0 deletions

View 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

View File

@@ -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)

View File

@@ -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}"