wok annotate compiz-plugins-extra/receipt @ rev 25424
updated x265 and x265-dev (3.2 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:24:15 2022 +0100 (2022-08-18) |
parents | cdbaf97bfe46 |
children | fe1b5660fdd1 |
rev | line source |
---|---|
pankso@15957 | 1 # SliTaz package receipt. |
pankso@15957 | 2 |
pankso@15957 | 3 PACKAGE="compiz-plugins-extra" |
Hans-G?nter@22613 | 4 VERSION="0.8.14" |
pankso@15957 | 5 CATEGORY="x-window" |
pankso@15957 | 6 SHORT_DESC="Compiz extra plugins." |
psychomaniak@19217 | 7 MAINTAINER="psychomaniak@xakep.ru" |
pankso@15957 | 8 LICENSE="GPL2" |
Hans-G?nter@22613 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
Hans-G?nter@22613 | 10 |
psychomaniak@19217 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19217 | 12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22613 | 13 |
psychomaniak@19217 | 14 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff" |
psychomaniak@19217 | 15 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u" |
pankso@15957 | 16 |
Hans-G?nter@22613 | 17 DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main |
Hans-G?nter@22613 | 18 gtk+ libnotify librsvg xorg-libX11" |
Hans-G?nter@22613 | 19 BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev |
Hans-G?nter@22613 | 20 compiz-plugins-main-dev file gtk+-dev intltool libnotify-dev |
Hans-G?nter@22613 | 21 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev |
Hans-G?nter@22613 | 22 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev" |
pankso@15957 | 23 |
pascal@24055 | 24 current_version() |
pascal@24055 | 25 { |
pascal@24055 | 26 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 27 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 28 } |
pascal@24055 | 29 |
pankso@15957 | 30 # Rules to configure and make the package. |
pankso@15957 | 31 compile_rules() |
pankso@15957 | 32 { |
Hans-G?nter@22613 | 33 # 0.8.12.1 |
Hans-G?nter@22613 | 34 # [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ |
Hans-G?nter@22613 | 35 # wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 |
Hans-G?nter@22613 | 36 # patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES |
Hans-G?nter@22613 | 37 |
Hans-G?nter@22613 | 38 ./configure --prefix=/usr && |
Hans-G?nter@22613 | 39 make && |
Hans-G?nter@22613 | 40 make install |
pankso@15957 | 41 } |
pankso@15957 | 42 |
pankso@15957 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15957 | 44 genpkg_rules() |
pankso@15957 | 45 { |
Hans-G?nter@22613 | 46 mkdir -p $fs/usr/lib |
Hans-G?nter@22613 | 47 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22613 | 48 |
Hans-G?nter@22613 | 49 cp -a $install/usr/lib/compiz $fs/usr/lib |
Hans-G?nter@22613 | 50 cp -a $install/usr/share/compiz $fs/usr/share |
Hans-G?nter@22613 | 51 |
Hans-G?nter@22613 | 52 # Set list of wanted locales in LOCALE_PACK |
Hans-G?nter@22613 | 53 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22613 | 54 |
Hans-G?nter@22613 | 55 # Copy message files in wanted languages, if available |
Hans-G?nter@22613 | 56 for locale in $LOCALE_PACK |
Hans-G?nter@22613 | 57 do |
Hans-G?nter@22613 | 58 [ -d $install/usr/share/locale/$locale ] || continue |
Hans-G?nter@22613 | 59 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@22613 | 60 done |
Hans-G?nter@22613 | 61 |
psychomaniak@19217 | 62 cd $fs/usr/lib/compiz; rm -f *.a *.la |
pankso@15957 | 63 } |