pluma: added python build option (native on, cross off).
This commit is contained in:
parent
f6815dea1e
commit
126b787f5e
1 changed files with 11 additions and 5 deletions
|
@ -1,13 +1,14 @@
|
||||||
# Template file for 'pluma'
|
# Template file for 'pluma'
|
||||||
pkgname=pluma
|
pkgname=pluma
|
||||||
version=1.10.2
|
version=1.10.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-gtk=2.0 --enable-python"
|
configure_args="--with-gtk=2.0 $(vopt_enable python)"
|
||||||
hostmakedepends="pkg-config intltool itstool"
|
hostmakedepends="pkg-config intltool itstool glib-devel"
|
||||||
makedepends="gtk+-devel enchant-devel libSM-devel mate-desktop-devel
|
makedepends="gtk+-devel enchant-devel libSM-devel mate-desktop-devel
|
||||||
gtksourceview2-devel libsoup-devel pygtk-devel pygtksourceview iso-codes"
|
gtksourceview2-devel libsoup-devel iso-codes
|
||||||
depends="pygtksourceview desktop-file-utils iso-codes zenity"
|
$(vopt_if python 'pygtk-devel pygtksourceview')"
|
||||||
|
depends="$(vopt_if python pygtksourceview) desktop-file-utils iso-codes zenity"
|
||||||
pycompile_dirs="usr/lib/pluma/plugins"
|
pycompile_dirs="usr/lib/pluma/plugins"
|
||||||
short_desc="A powerful text editor for MATE"
|
short_desc="A powerful text editor for MATE"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -16,6 +17,11 @@ homepage="http://mate-desktop.org"
|
||||||
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=c0614334dc99e5dde73cbda6cb561cb1a5dc3e3269d74a4134095f9abf73c89a
|
checksum=c0614334dc99e5dde73cbda6cb561cb1a5dc3e3269d74a4134095f9abf73c89a
|
||||||
|
|
||||||
|
build_options="python"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="python"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# ACCESSPERMS is glibc specific... unportable.
|
# ACCESSPERMS is glibc specific... unportable.
|
||||||
sed -i 's,ACCESSPERMS,(S_IRWXU|S_IRWXG|S_IRWXO),g' tests/document-saver.c
|
sed -i 's,ACCESSPERMS,(S_IRWXU|S_IRWXG|S_IRWXO),g' tests/document-saver.c
|
||||||
|
|
Loading…
Add table
Reference in a new issue