Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Leo
aports
Commits
f407984d
Commit
f407984d
authored
Oct 23, 2019
by
Leo
Browse files
main/libglade: drop python2
parent
88d8cf36
Pipeline
#1382
passed with stages
in 1 minute and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
main/libglade/APKBUILD
View file @
f407984d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
libglade
pkgver
=
2.6.4
pkgrel
=
1
4
pkgrel
=
1
5
pkgdesc
=
"Allows you to load glade interface files in a program at runtime"
url
=
"http://www.gnome.org"
arch
=
"all"
license
=
"LGPL"
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
python2
autoconf automake libtool"
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/
$pkgname
/2.6/
$pkgnam
e
-
$pkgver
.tar.bz2
source
=
"https://download.gnome.org/sources/
libglade/2.6/libglad
e-
$pkgver
.tar.bz2
$pkgname
-2.0.1-nowarning.patch
libglade-gmodule.patch
"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
cd
"
$_builddir
"
update_config_sub
||
return
1
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
cd
"
$builddir
"
default_prepare
update_config_sub
libtoolize
--force
&&
aclocal
&&
autoheader
&&
autoconf
\
&&
automake
--add-missing
||
return
1
&&
automake
--add-missing
}
build
()
{
cd
"
$
_
builddir
"
sed
-i
'/DG_DISABLE_DEPRECATED/d'
glade/Makefile.in
||
return
1
cd
"
$builddir
"
sed
-i
'/DG_DISABLE_DEPRECATED/d'
glade/Makefile.in
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--sysconfdir
=
/etc
\
--prefix
=
/usr
\
--disable-static
\
--localstatedir
=
/var
\
||
return
1
make
||
return
1
--localstatedir
=
/var
make
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
install
-m755
libglade-convert
"
$pkgdir
"
/usr/bin/
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
install
-m755
libglade-convert
"
$pkgdir
"
/usr/bin/
}
md5sums
=
"d1776b40f4e166b5e9c107f1c8fe4139 libglade-2.6.4.tar.bz2
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment