diff --git a/srcpkgs/openbox/template b/srcpkgs/openbox/template index 0ed3bdf10b..e5b4c5f355 100644 --- a/srcpkgs/openbox/template +++ b/srcpkgs/openbox/template @@ -1,12 +1,13 @@ # Template file for 'openbox' pkgname=openbox version=3.5.2 -revision=4 +revision=5 build_style=gnu-configure -configure_args="--enable-startup-notification" +configure_args="--enable-startup-notification $(vopt_enable svg librsvg)" hostmakedepends="automake libtool pkg-config gettext-devel" makedepends="startup-notification-devel libxml2-devel libXrandr-devel - libXcursor-devel>=1.1.14_2 libXinerama-devel libSM-devel imlib2-devel pango-devel" + libXcursor-devel>=1.1.14_2 libXinerama-devel libSM-devel imlib2-devel + pango-devel $(vopt_if svg librsvg-devel)" conf_files=" /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml @@ -22,13 +23,6 @@ checksum=128fb4ef11f83f6edb1685cfc04f44a16a5322082fc519f9d7cac84fc658af33 # Package build options build_options="svg" -if [ "$build_option_svg" ]; then - configure_args+=" --enable-librsvg" - makedepends+=" librsvg-devel" -else - configure_args+=" --disable-librsvg" -fi - pre_configure() { autoreconf -fi } @@ -51,7 +45,6 @@ openbox-devel_package() { vmove usr/lib/pkgconfig } } - libopenbox_package() { short_desc="openbox runtime shared libraries" pkg_install() {