diff options
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/unieject/ChangeLog | 11 | ||||
-rw-r--r-- | sys-block/unieject/Manifest | 12 | ||||
-rw-r--r-- | sys-block/unieject/unieject-6.ebuild | 76 |
3 files changed, 92 insertions, 7 deletions
diff --git a/sys-block/unieject/ChangeLog b/sys-block/unieject/ChangeLog index 5da269fa1d93..529d387d7311 100644 --- a/sys-block/unieject/ChangeLog +++ b/sys-block/unieject/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-block/unieject -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/ChangeLog,v 1.45 2008/08/08 06:28:16 ulm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/ChangeLog,v 1.46 2009/06/27 13:26:10 flameeyes Exp $ + +*unieject-6 (27 Jun 2009) + + 27 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> +unieject-6.ebuild: + Version bump, the new version uses glib and has been slightly optimised. + It also reduces warnings with GCC 4.4 and works fine on FreeBSD 7 (no more + bashism in configure), closing bug #275584. 08 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: Add USE flag description to metadata wrt GLEP 56. diff --git a/sys-block/unieject/Manifest b/sys-block/unieject/Manifest index fb792be0ec32..ced6f4720907 100644 --- a/sys-block/unieject/Manifest +++ b/sys-block/unieject/Manifest @@ -2,13 +2,15 @@ Hash: SHA1 DIST unieject-5.3.2.tar.bz2 337274 RMD160 a236e58c6cbfdbea2f8c10dfad1361989e8c0406 SHA1 004193f4109a08ded9107e2da61cef132cf191cc SHA256 b32077ffd9e1af94a048afc55591b4ec43ca67fa720218d47f9120cd00105c51 +DIST unieject-6.tar.bz2 370802 RMD160 4ef2814a23ded5619e5ca45a80cba4f96289573c SHA1 2be3434e8e8ad23e067cfc9b4595810274da2293 SHA256 1be7017d9132d05186051a6500331ed0330998f3818915e7e84a07e61fecd2ce EBUILD unieject-5.3.2.ebuild 1893 RMD160 7b8bfa40ab8d7059a96b9e8085bf544b71e10bd3 SHA1 420477c438e230ee0e790ae868f9260d7a58cf6e SHA256 c68f31cf498478c6168d1b80e8dd50638f986e609ba84d0a36362deeb5326dc4 -MISC ChangeLog 6358 RMD160 f2e8c237431ec1c1bea957d4cd2165287c75d334 SHA1 2f2fc22719b163237be1c8218f9020423713c912 SHA256 2e539ea81cf78b1fba771227b0ee23c113ffa57629eea4297d0669f8c975037c +EBUILD unieject-6.ebuild 1946 RMD160 03a70171c6ddc8ea2cb517d938bcc9d9ed21ca11 SHA1 def35bd93cab36502bfd6c12afffb0ae879c9530 SHA256 b95bd97f94b34d7294e3651f6109b9b1e506feb6389934492b5e79811bfe85f1 +MISC ChangeLog 6666 RMD160 1d02e8250602d1b245bc0433ee84dd57f84ec563 SHA1 1501f718a6802e4830b5a5dd2f5564c43364579f SHA256 5074b3a0da5b93cf3ce2bfb087b65791d32e7fac49ec576c8fc1f000107e768f MISC metadata.xml 499 RMD160 16708141606c9ad7e2a10e09d64b8c008af97f07 SHA1 4a0b8d2139acc15f9ac0bab158b3e4df6e52b9f1 SHA256 51178e467bc285f775d5ad31a64abbe8fed2d971ce01ef98a76491895494c628 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.9 (GNU/Linux) +Version: GnuPG v2.0.12 (GNU/Linux) -iEYEARECAAYFAkib55AACgkQOeoy/oIi7uyehQCeMaTpFdMT2r/Gsy47afRqBpWT -LjwAnj+vhDbseSrMN6sJrJlG5Y7zgNVg -=kaDU +iEYEARECAAYFAkpGHf0ACgkQAiZjviIA2Xh75ACgsxl1EhNwT0Rhe1A9LKft7sCt +Kl4AoK8DLZqTUcGmcrhtmCioSTXieKeu +=0hqB -----END PGP SIGNATURE----- diff --git a/sys-block/unieject/unieject-6.ebuild b/sys-block/unieject/unieject-6.ebuild new file mode 100644 index 000000000000..dfa564c44240 --- /dev/null +++ b/sys-block/unieject/unieject-6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/unieject-6.ebuild,v 1.1 2009/06/27 13:26:10 flameeyes Exp $ + +inherit eutils libtool + +DESCRIPTION="Multiplatform command to eject and load CD-Rom drives" +HOMEPAGE="http://www.flameeyes.eu/projects#unieject" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="nls pmount" + +RDEPEND=">=dev-libs/libcdio-0.77 + >=dev-libs/glib-2.6 + >=dev-libs/confuse-2.5 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + sys-apps/sed + dev-util/pkgconfig" +RDEPEND="${RDEPEND} + pmount? ( sys-apps/pmount ) + !sys-apps/eject + !sys-block/eject-bsd" + +PROVIDE="virtual/eject" + +pkg_setup() { + use pmount && enewgroup plugdev +} + +src_unpack() { + unpack ${A} + cd "${S}" + + elibtoolize +} + +src_compile() { + econf \ + $(use_enable nls) \ + --enable-lock-workaround \ + --disable-dependency-tracking \ + --disable-doc \ + --htmldir=/usr/share/doc/${PF}/html \ + --docdir=/usr/share/doc/${PF} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + find "${D}" -name '*.la' -delete + + # Symlink to eject to provide a good virtual/eject + dosym unieject.1 /usr/share/man/man1/eject.1 || die + dosym unieject /usr/bin/eject || die + + # If we enable support for pmount, we need to change the installed + # configuration file to enable the unmount wrapper, and we also set the + # command setuid root but in group plugdev, so that it's inlined with pmount + # itself. + if use pmount; then + fowners root:plugdev /usr/bin/unieject + fperms 1710 /usr/bin/unieject + chmod +s "${D}/usr/bin/unieject" + + dodir /etc + sed -e 's:^# \(unmount-wrapper = \):\1:' \ + "${S}/unieject.conf.sample" \ + > "${D}/etc/unieject.conf" + fi +} |