wok-current annotate gnome-mplayer/receipt @ rev 24801

updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author Hans-G?nter Theisgen
date Tue Mar 22 10:00:57 2022 +0100 (2022-03-22)
parents e3f377fbc5f0
children 9b180a3071fb
rev   line source
jozee@3120 1 # SliTaz package receipt.
jozee@3120 2
jozee@3120 3 PACKAGE="gnome-mplayer"
slaxemulator@10186 4 VERSION="1.0.3"
jozee@3120 5 CATEGORY="multimedia"
jozee@3120 6 SHORT_DESC="simple MPlayer GUI"
jozee@3120 7 MAINTAINER="jozee@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
jozee@3120 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20673 10 WEB_SITE="https://sites.google.com/site/kdekorte2/gnomemplayer"
jozee@3120 11 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@3120 12 TAGS="player audio video movie mp3 ogg dvd"
jozee@3120 13
pascal@15000 14 DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod"
pascal@15000 15 BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-dev"
pascal@15000 16
pascal@24540 17 # What is the latest version available today?
pascal@24540 18 current_version()
pascal@24540 19 {
pascal@24540 20 wget -O - https://github.com/kdekorte/gnome-mplayer/tags 2>/dev/null | \
pascal@24540 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24540 22 }
pascal@24540 23
jozee@3120 24 # Rules to configure and make the package.
jozee@3120 25 compile_rules()
jozee@3120 26 {
jozee@3120 27 cd $src
jozee@4534 28 ./configure --prefix=/usr \
slaxemulator@10868 29 --sysconfdir=/etc \
slaxemulator@10868 30 --disable-schemas-install \
slaxemulator@10868 31 --without-gconf \
slaxemulator@10868 32 --disable-nautilus \
slaxemulator@10868 33 --disable-panscan \
slaxemulator@10868 34 --without-libmusicbrainz3 &&
jozee@3120 35 make &&
slaxemulator@10868 36 make install
jozee@3120 37
jozee@3120 38 }
jozee@3120 39
jozee@3120 40 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3120 41 genpkg_rules()
jozee@3120 42 {
jozee@4534 43 mkdir -p $fs/usr/share/icons/hicolor $fs/usr/share/applications
pascal@15000 44 cp -a $install/usr/bin $fs/usr
pascal@15000 45 cp -a $install/usr/share/glib-2.0 $fs/usr/share
pascal@15000 46 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
pascal@15000 47 sed -i 's|Exec=gnome-mplayer|Exec=gnome-mplayer %F|' $install/usr/share/applications/$PACKAGE.desktop
jozee@3120 48 }