You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/automoc/automoc-0.9.88-r1.ebuild

35 lines
758 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MY_PN="automoc4"
MY_P="${MY_PN}-${PV}"
inherit cmake-utils flag-o-matic
DESCRIPTION="KDE Meta Object Compiler"
HOMEPAGE="https://www.kde.org"
SRC_URI="mirror://kde/stable/${MY_PN}/${PV}/${MY_P}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
DEPEND="
dev-qt/qtcore:4
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}/${PN}-0.9.88-objc++.patch" )
src_prepare() {
cmake-utils_src_prepare
if [[ ${ELIBC} = uclibc ]]; then
append-flags -pthread
fi
}