diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-25 09:18:43 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-25 09:18:43 +0000 |
commit | 9ab72a6838d2ee313e4d70972e581252f20098d4 (patch) | |
tree | ba4e46544700e13eef88971eaa98562a560c71c8 /app-misc/lcd4linux | |
parent | Marked stable on hppa (bug #98593). (diff) | |
download | historical-9ab72a6838d2ee313e4d70972e581252f20098d4.tar.gz historical-9ab72a6838d2ee313e4d70972e581252f20098d4.tar.bz2 historical-9ab72a6838d2ee313e4d70972e581252f20098d4.zip |
Major ebuild revamp, partly based on submission in bug #100976.
Package-Manager: portage-2.1_rc2
Diffstat (limited to 'app-misc/lcd4linux')
-rw-r--r-- | app-misc/lcd4linux/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/lcd4linux/Manifest | 36 | ||||
-rw-r--r-- | app-misc/lcd4linux/files/digest-lcd4linux-0.10.0 | 3 | ||||
-rw-r--r-- | app-misc/lcd4linux/lcd4linux-0.10.0.ebuild | 108 |
4 files changed, 152 insertions, 5 deletions
diff --git a/app-misc/lcd4linux/ChangeLog b/app-misc/lcd4linux/ChangeLog index cf00fecbc2cd..229c131d89f8 100644 --- a/app-misc/lcd4linux/ChangeLog +++ b/app-misc/lcd4linux/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/lcd4linux -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/ChangeLog,v 1.14 2005/01/01 15:10:20 eradicator Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/ChangeLog,v 1.15 2006/05/25 09:18:43 robbat2 Exp $ + +*lcd4linux-0.10.0 (25 May 2006) + + 25 May 2006; Robin H. Johnson <robbat2@gentoo.org> + +lcd4linux-0.10.0.ebuild: + Major ebuild revamp, partly based on submission in bug #100976. 01 Jun 2004; Aron Griffis <agriffis@gentoo.org> lcd4linux-0.9.11.ebuild, lcd4linux-0.9.9.ebuild: diff --git a/app-misc/lcd4linux/Manifest b/app-misc/lcd4linux/Manifest index 459aba2f5bc7..e6c3056d0cd2 100644 --- a/app-misc/lcd4linux/Manifest +++ b/app-misc/lcd4linux/Manifest @@ -1,7 +1,37 @@ -MD5 c9a19619c50adf559e95c14556c13a40 lcd4linux-0.9.9.ebuild 1407 +DIST lcd4linux-0.10.0.tar.gz 294851 RMD160 98f810297de3d746d559998516b83a2939fc8568 SHA1 325d8549c83bb62e31492285001a1007d1f9960b SHA256 0b880d4baf612e5689d3b97d7c699df864cdb690b354eadd2a3d4e341511e909 +DIST lcd4linux-0.9.10-cf634.diff 374 +DIST lcd4linux-0.9.10.tar.gz 168125 +DIST lcd4linux-0.9.11.tar.gz 218557 +DIST lcd4linux-0.9.9.tar.gz 161096 +EBUILD lcd4linux-0.10.0.ebuild 2787 RMD160 a7d404764a9508d6115e8bd07bec74217e8cc92e SHA1 c4a74d81cceaa6f445d8c4723fa08a1f7b26f3fa SHA256 c2d09c83b0419f7f2490f596b40e98d338518f493773c64b93edb8102954e84d +MD5 b076982a618670f10339085615f0e946 lcd4linux-0.10.0.ebuild 2787 +RMD160 a7d404764a9508d6115e8bd07bec74217e8cc92e lcd4linux-0.10.0.ebuild 2787 +SHA256 c2d09c83b0419f7f2490f596b40e98d338518f493773c64b93edb8102954e84d lcd4linux-0.10.0.ebuild 2787 +EBUILD lcd4linux-0.9.10.ebuild 1547 RMD160 87a4112ab69308183347c282b59c34dcb133727c SHA1 73d857a9120d54ecd205fced7c352b576aebf7c0 SHA256 1514fdd8a21611bd52a961c60cdfd3fa644752bbc9cb5fb600b5d7c0e5462cd4 MD5 71f3012032f36f614511846ef6539074 lcd4linux-0.9.10.ebuild 1547 +RMD160 87a4112ab69308183347c282b59c34dcb133727c lcd4linux-0.9.10.ebuild 1547 +SHA256 1514fdd8a21611bd52a961c60cdfd3fa644752bbc9cb5fb600b5d7c0e5462cd4 lcd4linux-0.9.10.ebuild 1547 +EBUILD lcd4linux-0.9.11.ebuild 1402 RMD160 78ec3d3ef0756b67aaeb50d63584a00c2305cd91 SHA1 ea0b66569f5944f20e5d7018cdd761fd51b6fd22 SHA256 bb8f5b110080e3a67b251b62e40264388693abd229ab3a2c4f6dd6910fd3b77c MD5 386afb21661b822231db0bdc4a303800 lcd4linux-0.9.11.ebuild 1402 -MD5 bd1b1e642077ebfc0e3348fe006a6c96 ChangeLog 2404 -MD5 4c2c84ffe062afa20fb8f4ac16c4b4db files/digest-lcd4linux-0.9.11 68 +RMD160 78ec3d3ef0756b67aaeb50d63584a00c2305cd91 lcd4linux-0.9.11.ebuild 1402 +SHA256 bb8f5b110080e3a67b251b62e40264388693abd229ab3a2c4f6dd6910fd3b77c lcd4linux-0.9.11.ebuild 1402 +EBUILD lcd4linux-0.9.9.ebuild 1407 RMD160 39b58d39306e3e0b03d3d8a1b6863835373fc244 SHA1 657b152394e88f2c56eb7285704841361fe262ea SHA256 839a9bca35e8f5bfcb09ce41b415de268ba8db2cac4eb653484a5c8f16c06710 +MD5 c9a19619c50adf559e95c14556c13a40 lcd4linux-0.9.9.ebuild 1407 +RMD160 39b58d39306e3e0b03d3d8a1b6863835373fc244 lcd4linux-0.9.9.ebuild 1407 +SHA256 839a9bca35e8f5bfcb09ce41b415de268ba8db2cac4eb653484a5c8f16c06710 lcd4linux-0.9.9.ebuild 1407 +MISC ChangeLog 2582 RMD160 40c368fdc64459214757c76ae4b627ef77e256ff SHA1 3948ea0689f1711eca3b9b64958ad3e9ff6683b7 SHA256 8f8ba70415337ea307cade19b8badb969c316709af51b20422eaf1978fdad837 +MD5 bd8bab01ed9bab10ef05174299a5eac6 ChangeLog 2582 +RMD160 40c368fdc64459214757c76ae4b627ef77e256ff ChangeLog 2582 +SHA256 8f8ba70415337ea307cade19b8badb969c316709af51b20422eaf1978fdad837 ChangeLog 2582 +MD5 0b746369033d8d0fffea2ec67f83ad4e files/digest-lcd4linux-0.10.0 250 +RMD160 018c8b34815a32a9902122a5e67b6acbc2e3e41a files/digest-lcd4linux-0.10.0 250 +SHA256 4c83e624811751fc7f8241bb9f0a7b904460fa18841ebce93b464c7858988afd files/digest-lcd4linux-0.10.0 250 MD5 f197056607042f185af2a6d50a35d996 files/digest-lcd4linux-0.9.10 137 +RMD160 651ca3e12c2879ee943e6c702257bb533b2b3bdb files/digest-lcd4linux-0.9.10 137 +SHA256 ecdaf5ae619f4e161f67b582444f1184a5f651fdcc730c65029191ac49bce770 files/digest-lcd4linux-0.9.10 137 +MD5 4c2c84ffe062afa20fb8f4ac16c4b4db files/digest-lcd4linux-0.9.11 68 +RMD160 10b19651a771ede7502219f8064a28b08b1e7575 files/digest-lcd4linux-0.9.11 68 +SHA256 d93ae146107bc783b115c7831da4bd7363e97c0d696460720d27a6810bbfb4be files/digest-lcd4linux-0.9.11 68 MD5 5ed6638feaed61ef4b7f35f2c7c7f5c8 files/digest-lcd4linux-0.9.9 67 +RMD160 28cd30c24b6fb346c559d4a8896069be96845bfb files/digest-lcd4linux-0.9.9 67 +SHA256 7038839d95c7e4ad20d18e4f0e5d7dfb56259a1db1ca663bcae5d49a382bb955 files/digest-lcd4linux-0.9.9 67 diff --git a/app-misc/lcd4linux/files/digest-lcd4linux-0.10.0 b/app-misc/lcd4linux/files/digest-lcd4linux-0.10.0 new file mode 100644 index 000000000000..de6c25a79ec2 --- /dev/null +++ b/app-misc/lcd4linux/files/digest-lcd4linux-0.10.0 @@ -0,0 +1,3 @@ +MD5 b7fb1c24b940482cd730cf212d1b5062 lcd4linux-0.10.0.tar.gz 294851 +RMD160 98f810297de3d746d559998516b83a2939fc8568 lcd4linux-0.10.0.tar.gz 294851 +SHA256 0b880d4baf612e5689d3b97d7c699df864cdb690b354eadd2a3d4e341511e909 lcd4linux-0.10.0.tar.gz 294851 diff --git a/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild b/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild new file mode 100644 index 000000000000..5940133964b0 --- /dev/null +++ b/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild,v 1.1 2006/05/25 09:18:43 robbat2 Exp $ + +#inherit eutils + +DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window" +HOMEPAGE="http://ssl.bulix.org/projects/lcd4linux/" +SRC_URI="mirror://sourceforge/lcd4linux/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +# contains x86 asm, upstream is working on a portable version +KEYWORDS="-* ~x86" +IUSE="kde png X usb mysql python" + +DEPEND="png? ( media-libs/libpng + media-libs/gd ) + X? ( x11-libs/libX11 ) + usb? ( dev-libs/libusb ) + mysql? ( dev-db/mysql )" +# python? ( dev-lang/python ) +# mpd is needed soon +# python is broken + +pkg_preinst() { + einfo "If you wish to compile only specific drivers or plugins, please use" + einfo "the LCD4LINUX_PLUGINS and LCD4LINUX_DRIVERS environment variables." +} + +src_compile() { + local myconf myp myd + + # need to grab upstream's *.m4 and fix python building + # they didn't have python properly set up originally. + #myconf="${myconf} $(use_with python)" + myconf="${myconf} --without-python" + + # plugins + if [ -n "$LCD4LINUX_PLUGINS" ]; then + myp="$LCD4LINUX_PLUGINS" + einfo "Active plugins (overridden): ${myp}" + else + myp="all" + use mysql || myp="${myp},!mysql" + #use python || myp="${myp},!python" + myp="${myp},!python" + einfo "Active plugins: ${myp}" + fi + + # drivers + if [ -n "$LCD4LINUX_DRIVERS" ]; then + myd="$LCD4LINUX_DRIVERS" + einfo "Active drivers (overridden): ${myd}" + else + myd="all" + use usb || myd="${myd},!USBLCD" + use png || myd="${myd},!PNG" + use X || myd="${myd},!X11" + einfo "Active drivers: ${myd}" + fi + + # avoid package brokenness + use X && myconf="${myconf} --x-libraries=/usr/lib --x-include=/usr/include" + use X || myconf="${myconf} --without-x" + + econf \ + --sysconfdir=/etc/lcd4linux \ + --with-drivers="${myd}" \ + --with-plugins="${myp}" \ + ${myconf} \ + || die "econf failed" + + sed -i.orig -e 's,-L -lX11, -lX11 ,g' Makefile || die "sed fixup failed" + + emake || die +} + +src_install() { + # upstream's makefile acts weird, and tries to recompile stuff + into /usr + dobin lcd4linux + + dodoc README* NEWS TODO CREDITS FAQ AUTHORS ChangeLog + + #newconfd ${FILESDIR}/${PN}.confd ${PN} + #newinitd ${FILESDIR}/${PN}.initd ${PN} + + dodir /etc/lcd4linux + + if use X || use kde; then + insinto /usr/share/pixmaps + doins lcd4linux.xpm + fi + use X && touch ${D}/etc/lcd4linux/lcd4X11.conf + + if use kde ; then + insinto /usr/share/applnk/apps/System + doins lcd4linux.kdelnk + insinto /etc/lcd4linux + insopts -o root -g root -m 0600 + doins lcd4kde.conf + fi + + insinto /etc/lcd4linux + insopts -o root -g root -m 0600 + newins lcd4linux.conf.sample lcd4linux.conf +} |