wok-6.x annotate openbox-imlib2/receipt @ rev 25010
updated ode and ode-dev (0.16.1 -> 0.16.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 17:33:55 2022 +0100 (2022-05-16) |
parents | 4888cf6f4513 |
children |
rev | line source |
---|---|
pankso@13564 | 1 # SliTaz package receipt. |
pankso@13564 | 2 |
pankso@13564 | 3 PACKAGE="openbox-imlib2" |
devl547@18340 | 4 VERSION="3.6.1" |
pankso@13564 | 5 SOURCE="openbox" |
pankso@13564 | 6 CATEGORY="x-window" |
pankso@13564 | 7 SHORT_DESC="Small-footprint and standard compliant Window Manager (Allow icons in menus)." |
pankso@13564 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
pankso@13564 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@13564 | 11 WEB_SITE="http://openbox.org/" |
pankso@13564 | 12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL" |
al@17501 | 13 TAGS="window-manager" |
pankso@13564 | 14 PROVIDE="openbox" |
pankso@13564 | 15 |
pankso@19864 | 16 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky" |
pankso@13564 | 17 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \ |
al@16541 | 18 xorg-libXrandr xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 imlib2 \ |
pankso@15919 | 19 slitaz-configs" |
pankso@13564 | 20 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \ |
pascal@19728 | 21 xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev xcb-util-dev" |
pankso@13564 | 22 |
pascal@24545 | 23 # What is the latest version available today? |
pascal@24545 | 24 current_version() |
pascal@24545 | 25 { |
pascal@24545 | 26 wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \ |
pascal@24545 | 27 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24545 | 28 } |
pascal@24545 | 29 |
pankso@13564 | 30 # Rules to configure and make the package. |
pankso@13564 | 31 compile_rules() |
pankso@13564 | 32 { |
pankso@13564 | 33 chmod +x install-sh |
pankso@19864 | 34 patch -p1 < ${stuff}/openbox-rounded.patch || exit 1 |
pankso@13564 | 35 ./configure \ |
pankso@13564 | 36 --prefix=/usr \ |
pankso@13564 | 37 --sysconfdir=/etc \ |
pankso@13564 | 38 --libexecdir=/usr/lib/openbox \ |
pankso@13564 | 39 $CONFIGURE_ARGS && |
pankso@13564 | 40 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && |
pankso@13564 | 41 make && |
pankso@13564 | 42 make -j1 DESTDIR=$DESTDIR install && |
pankso@13564 | 43 rm -rf $install/usr/share/applications |
pankso@13564 | 44 } |
pankso@13564 | 45 |
pankso@13564 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13564 | 47 genpkg_rules() |
pankso@13564 | 48 { |
pankso@13564 | 49 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes |
pankso@13564 | 50 cp -a $install/usr/bin $fs/usr |
pankso@13564 | 51 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13564 | 52 cp -a $install/usr/lib/openbox $fs/usr/lib |
pankso@13564 | 53 |
pankso@13564 | 54 # We dont have GNOME or KDE |
pankso@13564 | 55 rm $fs/usr/bin/openbox-gnome-session |
pankso@13564 | 56 rm $fs/usr/bin/openbox-kde-session |
pankso@13564 | 57 rm $fs/usr/bin/gnome-panel-control |
pankso@13564 | 58 rm $fs/usr/bin/gdm-control |
pankso@13564 | 59 chmod 0755 $fs/usr/bin/openbox-session |
pankso@13564 | 60 |
pankso@13564 | 61 # Python XDG script --> openbox-python |
pankso@13564 | 62 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart |
pankso@13564 | 63 patch -p1 $fs/usr/lib/openbox/openbox-autostart \ |
pankso@13564 | 64 -i $stuff/openbox-autostart.patch || exit 1 |
pankso@13564 | 65 |
pankso@13564 | 66 # Just Onyx Themes --> openbox-themes |
pankso@13564 | 67 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes |
pankso@13564 | 68 |
pankso@13564 | 69 # Xsessions |
pankso@13564 | 70 cp -a $stuff/xsessions $fs/usr/share |
pankso@13564 | 71 |
pankso@13564 | 72 # Pipe menu. |
pankso@13564 | 73 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox |
pankso@13564 | 74 |
pankso@13564 | 75 # Set perms. |
pankso@13564 | 76 chown -R root.root $fs |
pankso@13564 | 77 } |