From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9767659CAF for ; Sat, 2 Apr 2016 10:19:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61C59E0802; Sat, 2 Apr 2016 10:19:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E02C1E0802 for ; Sat, 2 Apr 2016 10:19:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FF88340E29 for ; Sat, 2 Apr 2016 10:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F18AD77 for ; Sat, 2 Apr 2016 10:19:12 +0000 (UTC) From: "Ian Whyman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Whyman" Message-ID: <1459592336.eb6db67db013083706bae2a0997984d9e5063b16.thev00d00@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libplatform/files/, dev-libs/libplatform/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libplatform/Manifest dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch dev-libs/libplatform/libplatform-2.0.1.ebuild X-VCS-Directories: dev-libs/libplatform/ dev-libs/libplatform/files/ X-VCS-Committer: thev00d00 X-VCS-Committer-Name: Ian Whyman X-VCS-Revision: eb6db67db013083706bae2a0997984d9e5063b16 X-VCS-Branch: master Date: Sat, 2 Apr 2016 10:19:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: aca78e4b-f4c2-4f47-88a7-22e943507beb X-Archives-Hash: dfcd5e0a97bf6ac56f8e8eb4af425438 commit: eb6db67db013083706bae2a0997984d9e5063b16 Author: Ian Whyman gentoo org> AuthorDate: Sat Apr 2 10:17:15 2016 +0000 Commit: Ian Whyman gentoo org> CommitDate: Sat Apr 2 10:18:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb6db67d dev-libs/libplatform: Version bump Package-Manager: portage-2.2.27 dev-libs/libplatform/Manifest | 1 + .../libplatform-2.0.1-arch-specific-libdirs.patch | 31 ++++++++++++++++++++++ dev-libs/libplatform/libplatform-2.0.1.ebuild | 23 ++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-libs/libplatform/Manifest b/dev-libs/libplatform/Manifest index 697e6f0..c4a24d4 100644 --- a/dev-libs/libplatform/Manifest +++ b/dev-libs/libplatform/Manifest @@ -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 index 0000000..fce47f4 --- /dev/null +++ b/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch @@ -0,0 +1,31 @@ +From 21317bf0bb90f16d591aec580fe70d58cb43e65e Mon Sep 17 00:00:00 2001 +From: Balint Reczey +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 index 0000000..b9ab84c --- /dev/null +++ b/dev-libs/libplatform/libplatform-2.0.1.ebuild @@ -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}"