aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-28 14:18:29 -0300
committerprspkt <prspkt@protonmail.com>2019-04-29 09:22:05 +0300
commit95e445add6552d5828e3b3231aae7a87a15d358c (patch)
tree32963415dc9308a5184a1535bd899ec1d0726a07 /community
parent74871b6afa0e5b2de011301d9febac6f17d7f595 (diff)
downloadaports-95e445add6552d5828e3b3231aae7a87a15d358c.tar.bz2
aports-95e445add6552d5828e3b3231aae7a87a15d358c.tar.xz
community/wxgtk: modernize
- Drop gconf dependency - Use modern style
Diffstat (limited to 'community')
-rw-r--r--community/wxgtk/APKBUILD27
1 files changed, 11 insertions, 16 deletions
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 <scrumpyjack@st.ilet.to>
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() {