[proaudio] [1142] sync 0.68 ebuild, 0.69 behaves very strange

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1142
Author:   gimpel
Date:     2008-01-26 17:19:02 +0000 (Sat, 26 Jan 2008)

Log Message:
-----------
sync 0.68 ebuild, 0.69 behaves very strange

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/jackdmp/Manifest
    trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild


Modified: trunk/overlays/proaudio/media-sound/jackdmp/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/Manifest	2008-01-26 17:11:18 UTC (rev 1141)
+++ trunk/overlays/proaudio/media-sound/jackdmp/Manifest	2008-01-26 17:19:02 UTC (rev 1142)
@@ -1,6 +1,6 @@
 DIST jackdmp_0.68.zip 5072616 RMD160 ab9ab5b17bc6ae88331361b85468b2936b8eebf1 SHA1 ea38f253d3c01d95162840686fa077655e87c815 SHA256 e4af76053226098e08f01057dd1681440e8fc6524ce92617bf7788b7cbd97e12
 DIST jackdmp_0.69.zip 5136069 RMD160 738029dcc370a488054e4aedce85c295594a6848 SHA1 c1da0ae8c0e0e9fd5861e65718d89598770e1b7b SHA256 9cbaf0fea295a29680ede459537e9423f8abf70512d5cda989a52f52abd92700
-EBUILD jackdmp-0.68.ebuild 2081 RMD160 d1b5540c199ac0e441838fb4a002982ed0d1d8ae SHA1 c6d2d44b568fb93e93b4694da71f53e9c2ae4977 SHA256 f0da554bfc60c88d521bb6657540d750a1dbd189f093f8613b36b63dc6d83186
+EBUILD jackdmp-0.68.ebuild 2475 RMD160 66c9fba58fae30e38b49566aef528fd8e52de95c SHA1 0d7828ab8f42d4319ed0faeffdf4d76d169aa3a0 SHA256 ec6c3a4c6772adeb16e7ae59626a76a06cd0417f858e1bbc2c028029c600c879
 EBUILD jackdmp-0.69.ebuild 2475 RMD160 66c9fba58fae30e38b49566aef528fd8e52de95c SHA1 0d7828ab8f42d4319ed0faeffdf4d76d169aa3a0 SHA256 ec6c3a4c6772adeb16e7ae59626a76a06cd0417f858e1bbc2c028029c600c879
 EBUILD jackdmp-9999.ebuild 3396 RMD160 5013781cfaa4282ec099ee6574e518dcda238a82 SHA1 b44080c927c279ddd7fd80704a5fc6b458a1db9b SHA256 e2376acbe84cfddb31e018cec707048780c2073810a1ce819bd9e48fc5454de6
 MISC ChangeLog 399 RMD160 ff69dfe73496a55d87ee6804011511a773deb8dd SHA1 e683eeee9136b7a0dd72d87d1082b1b9bb1b1cb1 SHA256 8d548cb3ab28decf1c450501e3d9a87eef9ebd321b1b2ba1e495cc7b3760c120

Modified: trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild	2008-01-26 17:11:18 UTC (rev 1141)
+++ trunk/overlays/proaudio/media-sound/jackdmp/jackdmp-0.68.ebuild	2008-01-26 17:19:02 UTC (rev 1142)
@@ -56,21 +56,32 @@
 }
 
 pkg_postinst() {
-	elog "Adding media-sound/jack-audio-connection-kit to"
-	elog "/etc/portage/profile/package.provided ..."
-	elog "Note that a lot of things might not compile correctly"
-	elog "against jackdmp's jack headers!"
-
+	local provided="${ROOT}/etc/portage/profile/package.provided"
+	
 	test -d ${ROOT}/etc/portage/profile \
 		|| dodir /etc/portage/profile
-	echo "media-sound/jack-audio-connection-kit-0.109.0" >> \
-		${ROOT}/etc/portage/profile/package.provided
+
+	if [ -z `grep "media-sound/jack-audio-connection-kit-0.109.0" ${provided}` ]
+	then
+		elog "Adding media-sound/jack-audio-connection-kit to"
+		elog "/etc/portage/profile/package.provided ..."
+		elog "Note that a lot of things might not compile correctly"
+		elog "against jackdmp's jack headers!"
+
+		echo "media-sound/jack-audio-connection-kit-0.109.0" >> \
+			${ROOT}/etc/portage/profile/package.provided
+
+		fi
 }
 
 pkg_postrm() {
-	elog "Removing media-sound/jack-audio-connection-kit from"
-	elog "/etc/portage/profile/package.provided ..."
+	# gets removed too when upgrading jackdmp, so let the user do it!
+	elog "*************** IMPORTANT ******************"
+	elog "PLEASE remove media-sound/jack-audio-connection-kit from"
+	elog "/etc/portage/profile/package.provided"
+	elog "if you switch to jack-audio-connection-kit again!!"
+	elog "Otherwhise you will mess up dependencies!"
 
-	sed '/media-sound\/jack-audio-connection-kit-0.109.0/d' \
-		-i ${ROOT}/etc/portage/profile/package.provided
+	#sed '/media-sound\/jack-audio-connection-kit-0.109.0/d' \
+	#	-i ${ROOT}/etc/portage/profile/package.provided
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/