r2157 - in trunk: . packages packages/gxine

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Sat Dec 29 06:49:03 PST 2007


Author: alexander
Date: 2007-12-29 07:49:03 -0700 (Sat, 29 Dec 2007)
New Revision: 2157

Added:
   trunk/packages/gxine/
   trunk/packages/gxine/Makefile
Removed:
   trunk/packages/xfmedia/
Modified:
   trunk/Makefile
Log:
Replaced gxine with xfmedia. TODO: default preferences


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2007-12-29 11:29:12 UTC (rev 2156)
+++ trunk/Makefile	2007-12-29 14:49:03 UTC (rev 2157)
@@ -274,7 +274,7 @@
 	ch-libogg ch-libvorbis ch-speex ch-flac ch-libdvdcss ch-libtheora ch-xine-lib \
 	ch-pciutils ch-libusb ch-usbutils ch-dbus ch-dbus-glib ch-parted \
 	ch-librsvg ch-startup-notification chroot-gvim ch-vte ch-URI ch-xfce \
-	ch-xfmedia ch-irssi ch-pidgin ch-net-tools \
+	ch-gxine ch-irssi ch-pidgin ch-net-tools \
 	ch-xchat ch-wireless_tools ch-wpa_supplicant \
 	ch-tcpwrappers ch-portmap ch-nfs-utils \
 	ch-traceroute ch-rsync ch-jhalfs ch-sudo ch-bc ch-dialog ch-ncftp  \

Added: trunk/packages/gxine/Makefile
===================================================================
--- trunk/packages/gxine/Makefile	                        (rev 0)
+++ trunk/packages/gxine/Makefile	2007-12-29 14:49:03 UTC (rev 2157)
@@ -0,0 +1,41 @@
+# gxine Makefile
+
+NM= gxine
+VRS= 0.5.11
+DIR= $(NM)-$(VRS)
+
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= http://easynews.dl.sourceforge.net/xine/$(FILE)
+SHA-$(FILE)= 74d7e46ff55261c36994b60d66e55720cdb9e165
+
+# Targets
+
+include $(ROOT)/scripts/functions
+
+chroot:
+	chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+
+stage2: Makefile $(FILE)
+	$(std_build)
+
+compile-stage2:
+	sed -i 's/firefox-nspr/seamonkey-nspr/g' configure
+	# most mediamarks are obsolete or not playable without binary codecs
+	echo '<GXINEMM VERSION="1">' >misc/mediamarks
+	echo '</GXINEMM>' >>misc/mediamarks
+	LDFLAGS="$$LDFLAGS -Wl,-R,/usr/lib/seamonkey" ./configure \
+	    --prefix=/usr --sysconfdir=/etc \
+	    --enable-defeat-screensaver-via-xtest \
+	    --enable-watchdog \
+	    --disable-integration-wizard
+	make
+	make GXINE_PLUGINPATH=/usr/lib/seamonkey/plugins install
+	sed -n -e 's/\\$$/;/' \
+	    -e 's/;\\|$$/; gxine "%s"; test=test -n "$$DISPLAY"\\n/g' \
+	    -e 's/MimeType=// p' /usr/share/applications/gxine.desktop >/etc/mailcap
+
+clean:
+	-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list