aboutsummaryrefslogtreecommitdiffstats
path: root/community/libglade/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-27 06:47:37 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-29 15:55:32 +0000
commitaaebd10e3a3225c2720dad72e6481c9646b2beb4 (patch)
treea376bc92c3651aa102e64b48afa1987e3c56c050 /community/libglade/APKBUILD
parente5c3881cb1745dfe693372d7d372f15205225d51 (diff)
downloadaports-aaebd10e3a3225c2720dad72e6481c9646b2beb4.tar.gz
aports-aaebd10e3a3225c2720dad72e6481c9646b2beb4.tar.bz2
aports-aaebd10e3a3225c2720dad72e6481c9646b2beb4.tar.xz
community/libglade: move from main
Diffstat (limited to 'community/libglade/APKBUILD')
-rw-r--r--community/libglade/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/community/libglade/APKBUILD b/community/libglade/APKBUILD
new file mode 100644
index 0000000000..8f0dfec2b4
--- /dev/null
+++ b/community/libglade/APKBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libglade
+pkgver=2.6.4
+pkgrel=15
+pkgdesc="Allows you to load glade interface files in a program at runtime"
+url="http://www.gnome.org"
+arch="all"
+license="LGPL-2.0-or-later"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="libxml2-utils"
+depends_dev="gtk+2.0-dev libxml2-dev"
+makedepends="$depends_dev autoconf automake libtool"
+install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade
+ $pkgname.post-deinstall"
+source="https://download.gnome.org/sources/libglade/2.6/libglade-$pkgver.tar.bz2
+ $pkgname-2.0.1-nowarning.patch
+ libglade-gmodule.patch
+ "
+
+
+prepare() {
+ default_prepare
+ update_config_sub
+ libtoolize --force && aclocal && autoheader && autoconf \
+ && automake --add-missing
+}
+
+build() {
+ sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --prefix=/usr \
+ --disable-static \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ install -m755 libglade-convert "$pkgdir"/usr/bin/
+}
+
+sha512sums="b725842febaf4c1f0d305a629ae1c61ea2de24dd6f41937e806c078fada2cea483195ef40f5238ce2045e47130c92559e984f677de667b840dd7fff0f8559735 libglade-2.6.4.tar.bz2
+5ab9dfb85938fb7e9ec637a9d68f3db961f3986e1eb9eec0d684af4ce2361c83d6998283b2bd5b4e1bd7950ca456cc3ea7fae567ac52ae391f6c9d5456c6dd2e libglade-2.0.1-nowarning.patch
+8ab898ca484ebcf2fbb39a9f6e59f214f8c378f1b50c9abd1553a8dfb1e087f4bd7c90d74b5a02d2f92994707fcb3c351203669193b6511c493486e676023224 libglade-gmodule.patch"