wxWidgets-gtk3: fix -devel config, add hard dependencies
This commit is contained in:
parent
90cde7211e
commit
326b9cacee
1 changed files with 9 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wxWidgets-gtk3'
|
# Template file for 'wxWidgets-gtk3'
|
||||||
pkgname=wxWidgets-gtk3
|
pkgname=wxWidgets-gtk3
|
||||||
version=3.2.4
|
version=3.2.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
cmake_builddir="build-gtk3"
|
cmake_builddir="build-gtk3"
|
||||||
configure_args="-DwxBUILD_TOOLKIT=gtk3 -DwxUSE_OPENGL=ON -DwxUSE_LIBMSPACK=ON
|
configure_args="-DwxBUILD_TOOLKIT=gtk3 -DwxUSE_OPENGL=ON -DwxUSE_LIBMSPACK=ON
|
||||||
|
@ -36,11 +36,12 @@ post_install() {
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Remove $XBPS_CROSS_TRIPLET from cmake helper...
|
# Remove $XBPS_CROSS_TRIPLET from cmake helper...
|
||||||
sed -i -e "s@/usr/${XBPS_CROSS_TRIPLET}@@g" \
|
local _xprefix="${XBPS_CROSS_BASE}/usr/"
|
||||||
|
sed -i -e "s@${_xprefix}@\${_IMPORT_PREFIX}/@g" \
|
||||||
${DESTDIR}/usr/lib/cmake/wxWidgets/wxWidgetsTargets.cmake
|
${DESTDIR}/usr/lib/cmake/wxWidgets/wxWidgetsTargets.cmake
|
||||||
|
|
||||||
# ...and the output of the wx-config utility
|
# ...and the output of the wx-config utility
|
||||||
sed -i -e "s@/usr/${XBPS_CROSS_TRIPLET}@@g" \
|
sed -i -e "s@${_xprefix}@\${prefix}/@g" \
|
||||||
${DESTDIR}/usr/lib/wx/config/${_config}
|
${DESTDIR}/usr/lib/wx/config/${_config}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,7 +75,11 @@ wxWidgets-common-devel_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
wxWidgets-gtk3-devel_package() {
|
wxWidgets-gtk3-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} wxWidgets-common-devel>=${version}_${revision}"
|
depends="
|
||||||
|
${sourcepkg}>=${version}_${revision}
|
||||||
|
wxWidgets-common-devel>=${version}_${revision}
|
||||||
|
gtk+3-devel glib-devel SDL2-devel gspell-devel libnotify-devel
|
||||||
|
"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin
|
vmove usr/bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue