Moises Henriquez avatar Moises Henriquez committed 336c77d

system-config-printer build with introspection support

Comments (0)

Files changed (1)

var/vabs/system-config-printer/src/system-config-printer.SlackBuild

 # Set initial variables:
 NAME="system-config-printer"
 VERSION=${VERSION:-1.3.13}
+BASEVER=$(echo $VERSION | cut -f 1-2 -d .)
 BUILDNUM=${BUILDNUM:-"1"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
-LINK=${LINK:-"http://cyberelk.net/tim/data/$NAME/1.3/$NAME-$VERSION.tar.xz"}
-MAKEDEPENDS=${MAKEDEPENDS:-"avahi cups cups-filters pycups libusb-compat desktop-file-utils pygtk pycurl dbus dbus-glib notify-python pygobject pycairo dbus-python"}
+LINK=${LINK:-"http://cyberelk.net/tim/data/$NAME/$BASEVER/$NAME-$VERSION.tar.xz"}
+MAKEDEPENDS=${MAKEDEPENDS:-"avahi cups cups-filters pycups libusb-compat desktop-file-utils pygtk pycurl dbus dbus-glib notify-python gobject-introspection pygobject pycairo dbus-python"}
 ADDRB=${ADDRB:-"pycups >= 1.9, pycairo >= 1.8 "}
 
 if [ "$NORUN" != 1 ]; then
   --mandir=/usr/man \
   --docdir=/usr/doc/$NAME-$VERSION \
   --localstatedir=/var/lib \
+  --enable-introspection \
   --sysconfdir=/etc \
   --with-udev-rules \
   --program-prefix= \
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.