From 95e445add6552d5828e3b3231aae7a87a15d358c Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 28 Apr 2019 14:18:29 -0300 Subject: community/wxgtk: modernize - Drop gconf dependency - Use modern style --- community/wxgtk/APKBUILD | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'community/wxgtk') diff --git a/community/wxgtk/APKBUILD b/community/wxgtk/APKBUILD index dd818e9d89..b71e6ebbef 100644 --- a/community/wxgtk/APKBUILD +++ b/community/wxgtk/APKBUILD @@ -2,28 +2,25 @@ # Maintainer: ScrumpyJack pkgname=wxgtk pkgver=3.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="GTK2 port of wxWidgets GUI library" -url="http://www.wxwidgets.org/" +url="https://www.wxwidgets.org/" arch="all" license="wxWidgets" -depends="" depends_dev="gtk+2.0-dev mesa-dev zlib-dev tiff-dev libjpeg-turbo-dev expat-dev libsm-dev" makedepends="$depends_dev glu-dev sdl-dev gst-plugins-base0.10-dev - gstreamer0.10-dev gconf-dev" -install="" + gstreamer0.10-dev" subpackages="$pkgname-dev $pkgname-lang $pkgname-media $pkgname-base" source="https://github.com/wxWidgets/wxWidgets/releases/download/v${pkgver}/wxWidgets-${pkgver}.tar.bz2" builddir="$srcdir/wxWidgets-$pkgver" prepare() { - default_prepare || return 1 - update_config_sub || return 1 + default_prepare + update_config_sub } build() { -cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -37,21 +34,19 @@ cd "$builddir" --enable-sound \ --enable-mediactrl \ --disable-rpath \ - --disable-optimise \ - || return 1 - make || return 1 + --disable-optimise + make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } dev() { default_dev - mv "$pkgdir"/usr/lib/wx/config "$subpkgdir"/usr/lib/wx/ || return 1 - mv "$pkgdir"/usr/bin/wxrc* "$subpkgdir"/usr/bin/ || return 1 - mv "$pkgdir"/usr/share/bakefile "$subpkgdir"/usr/share/ || return 1 + mv "$pkgdir"/usr/lib/wx/config "$subpkgdir"/usr/lib/wx/ + mv "$pkgdir"/usr/bin/wxrc* "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/share/bakefile "$subpkgdir"/usr/share/ } media() { -- cgit v1.2.3