From cb55d0fb2b8d5718e4504d9600e8a95a5da19f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 27 Sep 2022 00:04:16 +0700 Subject: [PATCH] codeblocks: no needs GTK+ --- srcpkgs/codeblocks/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/codeblocks/template b/srcpkgs/codeblocks/template index 26487b40f79..02e1e255730 100644 --- a/srcpkgs/codeblocks/template +++ b/srcpkgs/codeblocks/template @@ -4,10 +4,12 @@ version=20.03 revision=2 build_style=gnu-configure configure_args="--with-wx-config=wx-config-gtk3 --with-contrib-plugins - --with-boost=${XBPS_CROSS_BASE}/usr --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib" + --with-boost=${XBPS_CROSS_BASE}/usr + --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib + ac_cv_exeext=no --with-gnu-ld" hostmakedepends="libtool pkg-config zip" makedepends="gtk+3-devel wxWidgets-gtk3-devel tinyxml-devel hunspell-devel - gamin-devel boost-devel boost-build" + gamin-devel boost-devel boost-build tinyxml-devel" short_desc="Free C, C++ and Fortran IDE" maintainer="Orphaned " license="GPL-3.0-only" @@ -15,11 +17,6 @@ homepage="http://www.codeblocks.org" distfiles="${SOURCEFORGE_SITE}/${pkgname}/Sources/${version}/${pkgname}-${version}.tar.xz" checksum=15eeb3e28aea054e1f38b0c7f4671b4d4d1116fd05f63c07aa95a91db89eaac5 -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" wxWidgets-devel tinyxml-devel" - configure_args+=" ac_cv_exeext=no --with-gnu-ld" -fi - post_install() { vinstall debian/codeblocks.sharedmime 644 /usr/share/mime/packages codeblocks.xml vinstall src/mime/codeblocks.desktop 644 /usr/share/applications