wok-next annotate gogglesmm/receipt @ rev 21143

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 25 15:37:19 2019 +0200 (2019-01-25)
parents 5669e8b3be70
children
rev   line source
al@20503 1 # SliTaz package receipt v2.
pascal@1136 2
pascal@1136 3 PACKAGE="gogglesmm"
pascal@12782 4 VERSION="0.12.6"
pascal@1136 5 CATEGORY="multimedia"
al@21020 6 SHORT_DESC="Nice music collection manager and player"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@20906 9 WEB_SITE="https://gogglesmm.github.io/"
al@20503 10
pascal@12782 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20906 12 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL" # FIXME
pascal@13796 13
al@20503 14 BUILD_DEPENDS="shared-mime-info fox-dev sqlite3 taglib dbus-dev xine-lib-dev \
al@21078 15 sqlite3-dev taglib-dev curl-dev expat-dev xorgproto \
al@21078 16 libx11-dev libgcrypt-dev mesa-dev glu-dev"
pascal@1136 17
al@20503 18 compile_rules() {
pascal@20117 19 sed -i 's/0x80/-128/g' src/gmutils.cpp
al@21020 20 # Fixed installing .mo files since busybox install commmand
slaxemulator@7062 21 # doesn't have -T option
slaxemulator@7062 22 sed -i 's| -T||g' $src/Makefile
al@20503 23
pascal@1136 24 ./configure \
pascal@1136 25 --prefix=/usr \
pascal@1136 26 --mandir=/usr/share/man \
pascal@1136 27 --infodir=/usr/share/info \
pascal@1516 28 $CONFIGURE_ARGS &&
pascal@1516 29 make &&
al@21020 30 make DESTDIR=$install install || return 1
al@20503 31
al@20503 32 mkdir -p $install/usr/share/pixmaps/
al@20503 33 cp $src/extra/*.png $install/usr/share/pixmaps/
pascal@1136 34 }
pascal@1136 35
al@20503 36 genpkg_rules() {
al@20503 37 copy @std
al@21080 38 DEPENDS="fox xine-lib dbus curl sqlite3 taglib libpng jpeg expat libtiff \
al@20503 39 mesa glu"
pascal@1136 40 }