Receipt for package "gxine"
# SliTaz package receipt. PACKAGE="gxine" VERSION="0.5.905" CATEGORY="multimedia" SHORT_DESC="GTK+ Xine media player user interface." MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://xine-project.org/" WGET_URL="https://sourceforge.net/projects/xine/files/$PACKAGE/$VERSION/$TARBALL" DEPENDS="xine-lib libvorbis gtk+ spidermonkey dbus" BUILD_DEPENDS="spidermonkey-dev xine-lib-dev xorg-dev dbus-dev \ gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \ xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" } # Rules to configure and make the package. compile_rules() { # Fix for glib2 (-lm) sed -i "/<glib\//d" src/* export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" # Fix for lirc #patch -p0 < $stuff/gxine-0.5.907-lirc.patch || return 1 #--with-logo-format=image ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --with-dbus \ --with-spidermonkey=/usr/include/js \ --without-browser-plugin \ --without-hal \ --disable-lirc \ --disable-deprecated \ --disable-integration-wizard \ --disable-own-playlist-parsers \ VENDOR_PKG_VERSION="$VERSION; SliTaz GNU/Linux" \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install sed -i '/^x/d' $install/usr/share/applications/gxine.desktop } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/etc $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/$PACKAGE $fs/usr/lib cp -a $install/usr/share/$PACKAGE $fs/usr/share cp -a $install/usr/share/pixmaps $fs/usr/share cp -a $install/etc $fs }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)