forked from ports/contrib
gtksourceview: fixes bugs FS#1149 and FS#1150, glade a vala are now optional, gtk3 is required
This commit is contained in:
parent
720e27c848
commit
d97746daeb
@ -48,9 +48,6 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/gir-1.0/
|
||||
-rw-r--r-- root/root usr/share/gir-1.0/GtkSource-3.0.gir
|
||||
drwxr-xr-x root/root usr/share/glade/
|
||||
drwxr-xr-x root/root usr/share/glade/catalogs/
|
||||
-rw-r--r-- root/root usr/share/glade/catalogs/gtksourceview.xml
|
||||
drwxr-xr-x root/root usr/share/gtksourceview-3.0/
|
||||
drwxr-xr-x root/root usr/share/gtksourceview-3.0/language-specs/
|
||||
-rw-r--r-- root/root usr/share/gtksourceview-3.0/language-specs/R.lang
|
||||
@ -177,7 +174,3 @@ drwxr-xr-x root/root usr/share/gtksourceview-3.0/styles/
|
||||
-rw-r--r-- root/root usr/share/gtksourceview-3.0/styles/solarized-light.xml
|
||||
-rw-r--r-- root/root usr/share/gtksourceview-3.0/styles/styles.rng
|
||||
-rw-r--r-- root/root usr/share/gtksourceview-3.0/styles/tango.xml
|
||||
drwxr-xr-x root/root usr/share/vala/
|
||||
drwxr-xr-x root/root usr/share/vala/vapi/
|
||||
-rw-r--r-- root/root usr/share/vala/vapi/gtksourceview-3.0.deps
|
||||
-rw-r--r-- root/root usr/share/vala/vapi/gtksourceview-3.0.vapi
|
||||
|
@ -2,25 +2,30 @@
|
||||
# URL: http://www.gnome.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Packager: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: glade vala
|
||||
# Depends on: gtk3
|
||||
# Optional: glade vala
|
||||
|
||||
name=gtksourceview
|
||||
version=3.14.3
|
||||
release=1
|
||||
release=2
|
||||
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version:0:4}/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
if [ -n "$(pkginfo -i | grep '^glade ')" ]; then
|
||||
local glade=--enable-glade-catalog
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--enable-glade-catalog \
|
||||
--disable-dependency-tracking
|
||||
--disable-nls \
|
||||
--disable-dependency-tracking \
|
||||
"$glade"
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/share/locale
|
||||
rm -r $PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user