EAPI=6
-inherit eutils gnome2-utils toolchain-funcs qmake-utils
+inherit desktop gnome2-utils toolchain-funcs qmake-utils
MY_COMMIT=41efdba45afa770db99bc7484a8ad340ccc597d2
S=${WORKDIR}/${PN}-${MY_COMMIT}-${MY_COMMIT}
+PATCHES=(
+ "${FILESDIR}"/${P}-header-locations.patch
+ "${FILESDIR}"/${P}-QA.patch
+)
+
disable_module() {
sed -i \
-e "s|$1\b||" \
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-header-locations.patch
- epatch "${FILESDIR}"/${P}-QA.patch
-
+ default
sed -i \
-e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
nall/dl.hpp || die "fixing libdir failed!"
- eapply_user
-
# audio modules
use ao || disable_module audio.ao
use openal || disable_module audio.openal