2021-07-24 21:03:58 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2021-03-09 11:02:05 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-07-24 21:03:58 +02:00
|
|
|
EAPI=7
|
2021-03-09 11:02:05 +01:00
|
|
|
|
|
|
|
URELEASE="groovy"
|
2021-07-24 21:03:58 +02:00
|
|
|
inherit cmake
|
2021-03-09 11:02:05 +01:00
|
|
|
|
|
|
|
# Handle version strings here so as not to use 'ubuntu-versionator' eclass #
|
|
|
|
MY_PV="${PV:0:5}"
|
|
|
|
MY_P="${PN}-${MY_PV}"
|
|
|
|
UVER="-${PVR_PL_MINOR}"
|
|
|
|
|
|
|
|
DESCRIPTION="Simple convenience library for handling properties and signals in C++11"
|
|
|
|
HOMEPAGE="https://launchpad.net/properties-cpp"
|
|
|
|
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="LGPL-3"
|
|
|
|
SLOT="0"
|
2021-07-24 21:03:58 +02:00
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
2021-07-27 19:01:17 +02:00
|
|
|
IUSE="doc"
|
|
|
|
RESTRICT="mirror"
|
2021-03-09 11:02:05 +01:00
|
|
|
|
2021-07-27 19:01:17 +02:00
|
|
|
DEPEND="
|
|
|
|
dev-libs/boost
|
2021-03-09 11:02:05 +01:00
|
|
|
doc? ( app-doc/doxygen )
|
2021-07-24 21:03:58 +02:00
|
|
|
"
|
2021-03-09 11:02:05 +01:00
|
|
|
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
MAKEOPTS="${MAKEOPTS} -j1"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
use !doc && truncate -s0 doc/CMakeLists.txt
|
2021-07-29 23:48:15 +02:00
|
|
|
|
|
|
|
#Remove the test from the build
|
|
|
|
truncate -s0 test/CMakeLists.txt
|
|
|
|
|
2021-07-24 21:03:58 +02:00
|
|
|
cmake_src_prepare
|
2021-03-09 11:02:05 +01:00
|
|
|
}
|