wok annotate phonon/receipt @ rev 25139
updated phpsysinfo (3.3.2 -> 3.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 11:19:44 2022 +0100 (2022-06-29) |
parents | b569b85b0fb9 |
children |
rev | line source |
---|---|
psychomaniak@17015 | 1 # SliTaz package receipt. |
psychomaniak@17015 | 2 |
psychomaniak@17015 | 3 PACKAGE="phonon" |
Hans-G?nter@21679 | 4 VERSION="4.10.2" |
Hans-G?nter@21679 | 5 CATEGORY="development" |
Hans-G?nter@21679 | 6 SHORT_DESC="KDE multimedia framework." |
psychomaniak@17015 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17015 | 8 LICENSE="LGPL2.1" |
pascal@24308 | 9 WEB_SITE="https://github.com/KDE/phonon" |
Hans-G?nter@21679 | 10 |
psychomaniak@17015 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@24972 | 12 WGET_URL="https://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL" |
psychomaniak@17015 | 13 |
psychomaniak@18167 | 14 DEPENDS="libQtCore libQtDBus libQtGui libQtXml" |
Hans-G?nter@21679 | 15 BUILD_DEPENDS="automoc4 cmake qmake Qt4-dev" |
psychomaniak@17015 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
psychomaniak@17015 | 24 compile_rules() |
psychomaniak@17015 | 25 { |
Hans-G?nter@21679 | 26 mkdir build |
Hans-G?nter@21679 | 27 cd build |
Hans-G?nter@21679 | 28 cmake .. \ |
Hans-G?nter@21679 | 29 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21679 | 30 -DCMAKE_BUILD_TYPE=Release \ |
Hans-G?nter@21679 | 31 -DCMAKE_SKIP_RPATH=ON \ |
Hans-G?nter@21679 | 32 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21679 | 33 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \ |
Hans-G?nter@21679 | 34 -DCMAKE_INSTALL_LIBDIR=lib && |
psychomaniak@17015 | 35 make && |
psychomaniak@17015 | 36 make DESTDIR=$DESTDIR install |
psychomaniak@17015 | 37 } |
psychomaniak@17015 | 38 |
psychomaniak@17015 | 39 genpkg_rules() |
psychomaniak@17015 | 40 { |
psychomaniak@18167 | 41 mkdir -p $fs/usr/lib |
psychomaniak@18167 | 42 cp -a $install/usr/lib/lib* $fs/usr/lib |
psychomaniak@17015 | 43 } |