diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/mcdp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/mcdp')
-rw-r--r-- | media-sound/mcdp/Manifest | 2 | ||||
-rw-r--r-- | media-sound/mcdp/files/mcdp-0.4a-dietlibc-fix.patch | 15 | ||||
-rw-r--r-- | media-sound/mcdp/files/mcdp-0.4a-makefile.patch | 14 | ||||
-rw-r--r-- | media-sound/mcdp/mcdp-0.4a.ebuild | 32 | ||||
-rw-r--r-- | media-sound/mcdp/mcdp-0.4b.ebuild | 31 | ||||
-rw-r--r-- | media-sound/mcdp/metadata.xml | 5 |
6 files changed, 99 insertions, 0 deletions
diff --git a/media-sound/mcdp/Manifest b/media-sound/mcdp/Manifest new file mode 100644 index 000000000000..ac840a118374 --- /dev/null +++ b/media-sound/mcdp/Manifest @@ -0,0 +1,2 @@ +DIST mcdp-0.4a.tar.bz2 29872 RMD160 19fcfde4c22a6ad818dd6a68a2baa9c58ea769d7 SHA1 8628a555214565e0f474048fa26e4e7a9f9f8868 SHA256 92477cdd96bda3aae8a6ffff532845958f29700829c25cdfca25c54788a6a3d5 +DIST mcdp-0.4b.tar.bz2 29940 RMD160 56beff05c5dd35bd8fa4d587743643c7c03b41c7 SHA1 2f2ecdf1fdba3506a9ef98c9e987962e5aec0fc1 SHA256 0faa031b07299b0fb2353306a669328c877717e1bc7e274e40c3d2612e103cab diff --git a/media-sound/mcdp/files/mcdp-0.4a-dietlibc-fix.patch b/media-sound/mcdp/files/mcdp-0.4a-dietlibc-fix.patch new file mode 100644 index 000000000000..2cad5bf3f744 --- /dev/null +++ b/media-sound/mcdp/files/mcdp-0.4a-dietlibc-fix.patch @@ -0,0 +1,15 @@ +diff -Naur mcdp-0.4a.orig/mcdp.h mcdp-0.4a/mcdp.h +--- mcdp-0.4a.orig/mcdp.h 2005-12-17 21:30:56.000000000 +0900 ++++ mcdp-0.4a/mcdp.h 2006-03-04 16:26:06.000000000 +0900 +@@ -27,6 +27,11 @@ + #include <netinet/in.h> + #include <arpa/inet.h> + ++/* hack to avoid re-definition of some stuff */ ++#ifdef __dietlibc__ ++#define _LINUX_BYTEORDER_GENERIC_H ++#endif /* __dietlibc__ */ ++ + #include "cdrom.h" /* can't be included via <linux/cdrom.h> :( */ + #include "params.h" + diff --git a/media-sound/mcdp/files/mcdp-0.4a-makefile.patch b/media-sound/mcdp/files/mcdp-0.4a-makefile.patch new file mode 100644 index 000000000000..33895f24f7fb --- /dev/null +++ b/media-sound/mcdp/files/mcdp-0.4a-makefile.patch @@ -0,0 +1,14 @@ +Index: mcdp-0.4a/Makefile +=================================================================== +--- mcdp-0.4a.orig/Makefile ++++ mcdp-0.4a/Makefile +@@ -29,9 +29,7 @@ PRGS = mcdp + all: $(PRGS) + + mcdp: $(OBJS) +- strip -x $(S_FLAGS) $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) +- strip $(S_FLAGS) mcdp + + dep: clean + cc -MM $(SRC) > .depend diff --git a/media-sound/mcdp/mcdp-0.4a.ebuild b/media-sound/mcdp/mcdp-0.4a.ebuild new file mode 100644 index 000000000000..5f64fe283608 --- /dev/null +++ b/media-sound/mcdp/mcdp-0.4a.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="A very small console cd player" +HOMEPAGE="http://www.mcmilk.de/projects/mcdp/" +SRC_URI="http://www.mcmilk.de/projects/mcdp/dl/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}-dietlibc-fix.patch" + epatch "${FILESDIR}/${P}-makefile.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + dobin mcdp || die + doman mcdp.1 || die + + cd doc + dodoc AUTHOR BUGS CHANGES README THANKS TODO WISHLIST profile.sh +} diff --git a/media-sound/mcdp/mcdp-0.4b.ebuild b/media-sound/mcdp/mcdp-0.4b.ebuild new file mode 100644 index 000000000000..85b67d6c4e55 --- /dev/null +++ b/media-sound/mcdp/mcdp-0.4b.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A very small console cd player" +HOMEPAGE="http://www.mcmilk.de/projects/mcdp/" +SRC_URI="http://www.mcmilk.de/projects/mcdp/dl/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.4a-dietlibc-fix.patch" \ + "${FILESDIR}/${PN}-0.4a-makefile.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin mcdp + doman mcdp.1 + dodoc doc/{AUTHOR,BUGS,CHANGES,README,THANKS,TODO,WISHLIST,profile.sh} +} diff --git a/media-sound/mcdp/metadata.xml b/media-sound/mcdp/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/mcdp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> |