public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/xmw:master commit in: media-radio/morse/
@ 2012-03-02 23:27 Michael Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Weber @ 2012-03-02 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     8625217e989d460f825ac043e4ff4df9331c8a6f
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 23:24:38 2012 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 23:24:38 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=8625217e

Initial import.

(Portage version: 2.1.10.44/git/Linux x86_64, signed Manifest commit with key 62EEF090)

---
 media-radio/morse/ChangeLog        |    9 +++++
 media-radio/morse/Manifest         |   14 ++++++++
 media-radio/morse/metadata.xml     |    9 +++++
 media-radio/morse/morse-2.4.ebuild |   62 ++++++++++++++++++++++++++++++++++++
 4 files changed, 94 insertions(+), 0 deletions(-)

diff --git a/media-radio/morse/ChangeLog b/media-radio/morse/ChangeLog
new file mode 100644
index 0000000..c5db07a
--- /dev/null
+++ b/media-radio/morse/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-radio/morse
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*morse-2.4 (02 Mar 2012)
+
+  02 Mar 2012; Michael Weber <xmw@gentoo.org> +morse-2.4.ebuild, +metadata.xml:
+  Initial import.
+

diff --git a/media-radio/morse/Manifest b/media-radio/morse/Manifest
new file mode 100644
index 0000000..386b3a0
--- /dev/null
+++ b/media-radio/morse/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST morse-2.4.tar.gz 46264 RMD160 70f5451df024a7c9871dc2e823258ce144a25e32 SHA1 b9dbdc11840d52f7afdac8520cf81040a2da782f SHA256 b049b90276a398a90d26162eebe9257e3653ee0b02f051f2e3d09fd3a444a3dc
+EBUILD morse-2.4.ebuild 1316 RMD160 6e79833d4a5b7a210a704e331add761126598380 SHA1 ad09afa627c99dd6521b0f9406dc9595d9b08ad9 SHA256 618ed848cbe904ab009610bfcb3a2aabb7cda285ce7f583a381f3d95fd462706
+MISC ChangeLog 243 RMD160 4f897068166bbb2d6d12c0a9cb895cff73807a69 SHA1 5b210c712cfb278cc63258e2de44b3d6dbf9837e SHA256 8a2254fc4387026c677f92b37b0ec4e4791b0901dfa10b2f052690f78d68f8e7
+MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk9RVrUACgkQknrdDGLu8JDXdwD/V8g4Ra13eLZlc1k5TCie119z
+tBWTDn9RhXVPVnx4QsYA/1jGebBNFi2nRfQj7/y6VBKCC5HEJx8mA//oIgKF2L39
+=t+v+
+-----END PGP SIGNATURE-----

diff --git a/media-radio/morse/metadata.xml b/media-radio/morse/metadata.xml
new file mode 100644
index 0000000..59acc2c
--- /dev/null
+++ b/media-radio/morse/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+

diff --git a/media-radio/morse/morse-2.4.ebuild b/media-radio/morse/morse-2.4.ebuild
new file mode 100644
index 0000000..17e30ea
--- /dev/null
+++ b/media-radio/morse/morse-2.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit toolchain-funcs virtualx
+
+DESCRIPTION="Morse-code training program for aspiring radio hams"
+HOMEPAGE="http://www.catb.org/~esr/morse/"
+SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa X"
+
+RDEPEND=""
+DEPEND="${DEPEND}
+	dev-util/pkgconfig"
+
+src_prepare() {
+	sed -e '/^QSO/,+2s:$(CC):$(CC) $(LDFLAGS):' \
+		-i qso.d/Makefile || die
+	sed -e '/^morseX11/,+2s:$(X11LIBS):$(X11LIBS) $(LDFLAGS):' \
+		-e '/^morseALSA/,+2s:$(ALSA_CFLAGS):$(ALSA_CFLAGS) $(LDFLAGS):' \
+		-i morse.d/Makefile || die
+	sed -e '/^morse:/,+2s:ln morse:#ln morse:' \
+		-i {,morse.d/}Makefile || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" QSO
+	if use alsa ; then
+		emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DEVICE=ALSA morse
+	fi
+	if use X ; then
+		emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DEVICE=X11 morse
+	fi
+}
+
+src_test() {
+	if use alsa ; then
+		elog "cannot test morseALSA"
+	fi
+	if use X ; then 
+		ln -sf morse.d/morseX11 morse || die
+		Xemake testmorse
+	fi
+}
+
+src_install() {
+	dobin QSO
+	if use alsa ; then
+		dobin morse.d/morseALSA
+	fi
+	if use X ; then
+		dobin morse.d/morseX11
+	fi
+	doman morse.1 QSO.1
+	dodoc HISTORY README
+}



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/xmw:master commit in: media-radio/morse/
@ 2012-03-02 23:38 Michael Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Weber @ 2012-03-02 23:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9ded081ade4f904509741e5c8c88afc427a08b0d
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 23:37:50 2012 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 23:37:50 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=9ded081a

media-radio/morse: Initial import.

(Portage version: 2.1.10.44/git/Linux x86_64, signed Manifest commit with key 62EEF090)

---
 media-radio/morse/ChangeLog        |    9 +++++
 media-radio/morse/Manifest         |   14 ++++++++
 media-radio/morse/metadata.xml     |    9 +++++
 media-radio/morse/morse-2.4.ebuild |   63 ++++++++++++++++++++++++++++++++++++
 4 files changed, 95 insertions(+), 0 deletions(-)

diff --git a/media-radio/morse/ChangeLog b/media-radio/morse/ChangeLog
new file mode 100644
index 0000000..c5db07a
--- /dev/null
+++ b/media-radio/morse/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-radio/morse
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*morse-2.4 (02 Mar 2012)
+
+  02 Mar 2012; Michael Weber <xmw@gentoo.org> +morse-2.4.ebuild, +metadata.xml:
+  Initial import.
+

diff --git a/media-radio/morse/Manifest b/media-radio/morse/Manifest
new file mode 100644
index 0000000..ac25edb
--- /dev/null
+++ b/media-radio/morse/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST morse-2.4.tar.gz 46264 RMD160 70f5451df024a7c9871dc2e823258ce144a25e32 SHA1 b9dbdc11840d52f7afdac8520cf81040a2da782f SHA256 b049b90276a398a90d26162eebe9257e3653ee0b02f051f2e3d09fd3a444a3dc
+EBUILD morse-2.4.ebuild 1370 RMD160 517f798df1c0ff0fe32d2c968eb4d555f6f29c84 SHA1 98a2773d11495d748c0481b61d1b1431e05db135 SHA256 f4cac9b283f3adb294315b632d41f977a8955e853f1f929b51d7243db92d4676
+MISC ChangeLog 243 RMD160 4f897068166bbb2d6d12c0a9cb895cff73807a69 SHA1 5b210c712cfb278cc63258e2de44b3d6dbf9837e SHA256 8a2254fc4387026c677f92b37b0ec4e4791b0901dfa10b2f052690f78d68f8e7
+MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk9RWc4ACgkQknrdDGLu8JD5IQD+OBaAi3Gb45kUUwN9hKQIcdqH
+htGVt+bSixwPWvHSbUsA/2I0z9kWkBlRqbiQmtlaZfav6Lbg2Sox+A2UIUzXHv3t
+=Mi/Z
+-----END PGP SIGNATURE-----

diff --git a/media-radio/morse/metadata.xml b/media-radio/morse/metadata.xml
new file mode 100644
index 0000000..59acc2c
--- /dev/null
+++ b/media-radio/morse/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+

diff --git a/media-radio/morse/morse-2.4.ebuild b/media-radio/morse/morse-2.4.ebuild
new file mode 100644
index 0000000..7d638f2
--- /dev/null
+++ b/media-radio/morse/morse-2.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit toolchain-funcs virtualx
+
+DESCRIPTION="Morse-code training program for aspiring radio hams"
+HOMEPAGE="http://www.catb.org/~esr/morse/"
+SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa X"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+	X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
+src_prepare() {
+	sed -e '/^QSO/,+2s:$(CC):$(CC) $(LDFLAGS):' \
+		-i qso.d/Makefile || die
+	sed -e '/^morseX11/,+2s:$(X11LIBS):$(X11LIBS) $(LDFLAGS):' \
+		-e '/^morseALSA/,+2s:$(ALSA_CFLAGS):$(ALSA_CFLAGS) $(LDFLAGS):' \
+		-i morse.d/Makefile || die
+	sed -e '/^morse:/,+2s:ln morse:#ln morse:' \
+		-i {,morse.d/}Makefile || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" QSO
+	if use alsa ; then
+		emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DEVICE=ALSA morse
+	fi
+	if use X ; then
+		emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DEVICE=X11 morse
+	fi
+}
+
+src_test() {
+	if use alsa ; then
+		elog "cannot test morseALSA"
+	fi
+	if use X ; then 
+		ln -sf morse.d/morseX11 morse || die
+		Xemake testmorse
+	fi
+}
+
+src_install() {
+	dobin QSO
+	if use alsa ; then
+		dobin morse.d/morseALSA
+	fi
+	if use X ; then
+		dobin morse.d/morseX11
+	fi
+	doman morse.1 QSO.1
+	dodoc HISTORY README
+}



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/xmw:master commit in: media-radio/morse/
@ 2012-12-29 12:34 Michael Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Weber @ 2012-12-29 12:34 UTC (permalink / raw
  To: gentoo-commits

commit:     49d9ad3f86ef7495e4eed992497de4834d6c3dfe
Author:     Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Sat Dec 29 12:34:35 2012 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 12:34:35 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=49d9ad3f

media-radio/morse: virtual/pkgconfig, improved test message, version bump

Package-Manager: portage-2.2.0_alpha149
Manifest-Sign-Key: 62EEF090

---
 media-radio/morse/ChangeLog                        |    6 ++++++
 media-radio/morse/Manifest                         |   14 ++++++--------
 media-radio/morse/morse-2.4.ebuild                 |    6 +++---
 .../morse/{morse-2.4.ebuild => morse-2.5.ebuild}   |    6 +++---
 4 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/media-radio/morse/ChangeLog b/media-radio/morse/ChangeLog
index c5db07a..f8cc9c9 100644
--- a/media-radio/morse/ChangeLog
+++ b/media-radio/morse/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*morse-2.5 (29 Dec 2012)
+
+  29 Dec 2012; Michael Weber <xmw@gentoo.org> morse-2.4.ebuild,
+  +morse-2.5.ebuild:
+  virtual/pkgconfig, improved test message, version bump
+
 *morse-2.4 (02 Mar 2012)
 
   02 Mar 2012; Michael Weber <xmw@gentoo.org> +morse-2.4.ebuild, +metadata.xml:

diff --git a/media-radio/morse/Manifest b/media-radio/morse/Manifest
index ac25edb..8332240 100644
--- a/media-radio/morse/Manifest
+++ b/media-radio/morse/Manifest
@@ -1,14 +1,12 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA256
 
-DIST morse-2.4.tar.gz 46264 RMD160 70f5451df024a7c9871dc2e823258ce144a25e32 SHA1 b9dbdc11840d52f7afdac8520cf81040a2da782f SHA256 b049b90276a398a90d26162eebe9257e3653ee0b02f051f2e3d09fd3a444a3dc
-EBUILD morse-2.4.ebuild 1370 RMD160 517f798df1c0ff0fe32d2c968eb4d555f6f29c84 SHA1 98a2773d11495d748c0481b61d1b1431e05db135 SHA256 f4cac9b283f3adb294315b632d41f977a8955e853f1f929b51d7243db92d4676
-MISC ChangeLog 243 RMD160 4f897068166bbb2d6d12c0a9cb895cff73807a69 SHA1 5b210c712cfb278cc63258e2de44b3d6dbf9837e SHA256 8a2254fc4387026c677f92b37b0ec4e4791b0901dfa10b2f052690f78d68f8e7
-MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
+DIST morse-2.4.tar.gz 46264 SHA256 b049b90276a398a90d26162eebe9257e3653ee0b02f051f2e3d09fd3a444a3dc SHA512 fb5fbaeaa49961dbd72c6f5c044f1571e19406863fdd3463b850060f73e813a79945661e1313047096e3fbbefe8e1f1e6e68b87248c60b266c31a39bcc1b969d WHIRLPOOL 81cc7b2916b7e440e98335ce0532061ef4ab974ae611c1bd6105fb09843ed05f9cfb600cd5e80d13f8fd22fdd162b20b7e4b0c1090f0454261eb91140091c23c
+DIST morse-2.5.tar.gz 46470 SHA256 476d1e8e95bb173b1aadc755db18f7e7a73eda35426944e1abd57c20307d4987 SHA512 42aaafa7779c744a3c2c5ba4785abe72ac67979e2e3c5b0c2fce7127556036baf9250b84e5371be24ce5e1d22c784757b4ea16cf42b477e98d5c2dfa996c1d56 WHIRLPOOL 8578a57e200dee650084311dcffad05ec36f369e981faa5ad9d2c6464d81de43d61ddcf8d4f623d3da7534a0b2588b591ebfdae6193aa23f5ae6525e142ce773
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
 
-iF4EAREIAAYFAk9RWc4ACgkQknrdDGLu8JD5IQD+OBaAi3Gb45kUUwN9hKQIcdqH
-htGVt+bSixwPWvHSbUsA/2I0z9kWkBlRqbiQmtlaZfav6Lbg2Sox+A2UIUzXHv3t
-=Mi/Z
+iF4EAREIAAYFAlDe41sACgkQknrdDGLu8JARdwD/XWziibMOKDVmg/hBo7b634Ax
+SOv7z/YHiKxzmg26/D0A/RY80F6nhcK9Dp6hW4ZjZ2bqsKhb7+CrXRCqKKZaEU+F
+=ZQCP
 -----END PGP SIGNATURE-----

diff --git a/media-radio/morse/morse-2.4.ebuild b/media-radio/morse/morse-2.4.ebuild
index 7d638f2..73bd5f3 100644
--- a/media-radio/morse/morse-2.4.ebuild
+++ b/media-radio/morse/morse-2.4.ebuild
@@ -18,7 +18,7 @@ IUSE="alsa X"
 RDEPEND="alsa? ( media-libs/alsa-lib )
 	X? ( x11-libs/libX11 )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
+	virtual/pkgconfig"
 
 src_prepare() {
 	sed -e '/^QSO/,+2s:$(CC):$(CC) $(LDFLAGS):' \
@@ -42,9 +42,9 @@ src_compile() {
 
 src_test() {
 	if use alsa ; then
-		elog "cannot test morseALSA"
+		einfo "no test for morseALSA available"
 	fi
-	if use X ; then 
+	if use X ; then
 		ln -sf morse.d/morseX11 morse || die
 		Xemake testmorse
 	fi

diff --git a/media-radio/morse/morse-2.4.ebuild b/media-radio/morse/morse-2.5.ebuild
similarity index 94%
copy from media-radio/morse/morse-2.4.ebuild
copy to media-radio/morse/morse-2.5.ebuild
index 7d638f2..73bd5f3 100644
--- a/media-radio/morse/morse-2.4.ebuild
+++ b/media-radio/morse/morse-2.5.ebuild
@@ -18,7 +18,7 @@ IUSE="alsa X"
 RDEPEND="alsa? ( media-libs/alsa-lib )
 	X? ( x11-libs/libX11 )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
+	virtual/pkgconfig"
 
 src_prepare() {
 	sed -e '/^QSO/,+2s:$(CC):$(CC) $(LDFLAGS):' \
@@ -42,9 +42,9 @@ src_compile() {
 
 src_test() {
 	if use alsa ; then
-		elog "cannot test morseALSA"
+		einfo "no test for morseALSA available"
 	fi
-	if use X ; then 
+	if use X ; then
 		ln -sf morse.d/morseX11 morse || die
 		Xemake testmorse
 	fi


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-29 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 23:38 [gentoo-commits] dev/xmw:master commit in: media-radio/morse/ Michael Weber
  -- strict thread matches above, loose matches on Subject: below --
2012-12-29 12:34 Michael Weber
2012-03-02 23:27 Michael Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox