wok-next annotate lxlauncher/receipt @ rev 20447

libxcb is obsolete -> xorg-libxcb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 13:56:24 2018 +0200 (2018-02-28)
parents 60bd4df08f57
children 757d032c55c7
rev   line source
pankso@796 1 # SliTaz package receipt.
pankso@796 2
gokhlayeh@8887 3 PACKAGE="lxlauncher"
al@17988 4 VERSION="0.2.4"
gokhlayeh@8887 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE launcher for netbooks"
pascal@14999 7 LICENSE="GPL3"
gokhlayeh@8887 8 MAINTAINER="pankso@slitaz.org"
al@17988 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19893 10 WEB_SITE="https://wiki.lxde.org/en/LXLauncher"
pankso@796 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@17992 12 TAGS="LXDE netbook"
pankso@796 13
pascal@14999 14 DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
pascal@14999 15 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
al@20447 16 menu-cache-dev startup-notification-dev startup-notification xorg-libxcb-dev \
pascal@19891 17 intltool"
pascal@14999 18
pankso@796 19 # Rules to configure and make the package.
pankso@796 20 compile_rules()
pankso@796 21 {
al@17988 22 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
al@17988 23 ## Fix infinite loop.
al@17988 24 #touch po/stamp-it
al@17988 25 ## Default icons to 32
al@17988 26 #sed -i s/'120'/'100'/ src/lxlauncher.c
al@17988 27 #sed -i s/'48'/'32'/ src/lxlauncher.c
pankso@796 28 ./configure \
pankso@796 29 --prefix=/usr \
al@17988 30 --sysconfdir=/etc \
pascal@1486 31 $CONFIGURE_ARGS &&
gokhlayeh@8887 32 make &&
pascal@14999 33 make DESTDIR=$DESTDIR install
pankso@796 34 }
pankso@796 35
pankso@796 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@796 37 genpkg_rules()
pankso@796 38 {
al@17988 39 mkdir -p $fs/usr/share
al@17988 40
pascal@14999 41 cp -a $install/usr/bin $fs/usr
al@17988 42
gokhlayeh@8887 43 # SliTaz home make config files
al@17988 44 cp -a $install/etc $fs
al@17988 45 cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher
al@17988 46
al@17988 47 cp -a $install/usr/share/desktop-directories $fs/usr/share
al@17988 48
slaxemulator@8950 49 #cp -a $stuff/background $fs/usr/share/lxlauncher
slaxemulator@8950 50 #background="internet learn play settings work"
slaxemulator@8950 51 #for i in $background; do
slaxemulator@8950 52 # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg
slaxemulator@8950 53 #done
al@17988 54
gokhlayeh@8887 55 chown -R root.root $fs
pankso@796 56 }