diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libcdaudio |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libcdaudio')
-rw-r--r-- | media-libs/libcdaudio/Manifest | 7 | ||||
-rw-r--r-- | media-libs/libcdaudio/files/libcdaudio-0.99-CAN-2005-0706.patch | 12 | ||||
-rw-r--r-- | media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch | 13 | ||||
-rw-r--r-- | media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild | 30 | ||||
-rw-r--r-- | media-libs/libcdaudio/metadata.xml | 11 |
5 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/libcdaudio/Manifest b/media-libs/libcdaudio/Manifest new file mode 100644 index 000000000000..994c66a4b24d --- /dev/null +++ b/media-libs/libcdaudio/Manifest @@ -0,0 +1,7 @@ +AUX libcdaudio-0.99-CAN-2005-0706.patch 457 SHA256 e8c6dc2cc72297684fd3cba7e81d44c1a96e194e251b89d8cf1daa2f68e59ec7 SHA512 75c95893f64bb599e00ef96c303b8daad1e8d02f017deb428eb934fa1716f6736a3388e11ff5474103b1b5afafb89aff5e0ed038c8c93e90f5be0f97585c3ebb WHIRLPOOL 44fb1870d8cec8539cf6b51c79c1167b00c032cb97c2958dec13df17eedb25674af95b98219710d959ff1a06eb7d5212195af9e0cdb049b1d1e84721aa83ddcb +AUX libcdaudio-0.99.12-bug245649.patch 303 SHA256 3be1a8e47b6d99e6a7a26291a0a11f831d8319d66f0f3a685680de3698246c84 SHA512 89a5add9a825071863ecc9f9f96cbf19e80d454d253321d90a8dea82953709f0cb1482a91fec92c93a9829c0aaf0c300a8f615d707dd735dc081d6bd394b2272 WHIRLPOOL e40fc3c7ae39f181e63c0f21c3a89c317105c3ee5cf388a2ee3a1f4d1ba59ba6be6818f84ea8f3ebcb3071dcd4b8d15c5fc73fe2a7b3ddab24d287732c48dc32 +DIST libcdaudio-0.99.12.tar.gz 357150 SHA256 eb79fa66b3e17424a1a16bb3551108ae32131bea9d6ea0ef3d103d116c506bbc SHA512 c00fbea7776e847da93bfbf4cbe74ccb3ee826da80e74eef84575fc211729e6a09599f5bfa332c91d678a31f9de5e5b333bdafe51438f266f6dea519652f5247 WHIRLPOOL bf05871d1f41ecad4928221d104f799ed4bf25cf6bd392aa7a49fe5fd7339a359590a318b03f78140870f5e37420ee2183f3b8b09995483533824a6b0b1f2523 +EBUILD libcdaudio-0.99.12-r1.ebuild 723 SHA256 0b793141dc66ba5370101fce8451ce69a177062c01d598fe21089a2f4cc87dc7 SHA512 db7aef33c969397fb854eb97c1085514489a4c8cdbb1752c1a1dfdc91009d96340a849c6fd6c0a23911710deb02b4bc69c070f0828b6756d294d758246a3def2 WHIRLPOOL d5f1653fb1161c0f37755a0d7d1517768a7b80d9967a525ecc7f5ac699531183b904f6e5f4cf5ed9df2699547d7754c8984f328bad145efe54c07225102df4e0 +MISC ChangeLog 2539 SHA256 ae413c0f985c273e04f3e280afab2585fe25f409296a9ef2e95560ca3665a5cc SHA512 1a6032658818c6b6eb0e3e9b99170df94c2c8c461056c94f18247de0c40ff1f5aa22c2b7551dc67dce3d0d92918153eed61cdcd863a03f7861e10ef978c623ed WHIRLPOOL 5f901bc9c148facd8f3658b7154156af47ce37e78b82b4ca99f22327bf4fa8552664742570647123277904af7af612008fcf5fbb2ad02b05f453e438e106c355 +MISC ChangeLog-2015 5400 SHA256 df466629309055c1bd0ef76b61a192b83a05838ae501cda636b7766c56357225 SHA512 d593690e49bc3827cba9a357686dfc465fd319ded336fff3b9cd05c557445ed141a55dd68efb1c418b238a786d381f109b77d640e1fdef9cd7cf2daf91cded7a WHIRLPOOL ad7566e827ed4c5899865ba11fd523a702684859260e2d955afdf088a09b84f0ccd37a3e4ea6f6012bd8081db19848c99af079a28f7b153b0d50990f04f7a2a1 +MISC metadata.xml 333 SHA256 d0a4053906ad2742571bcd17c7623208ad416e96b2810d72f2914de9c3ea9b5b SHA512 5ac86238b0db4069b133127f007fec468f87847cb219dc0c5dab8df5544a5e515057b4c44f44dfa843b5b81a62141a21352dec9e9a0fec98c300e9e9509cd034 WHIRLPOOL ed9f956deeefa059b9196219b6a4aa8194a5642f38b692e2f9e83efe32f6061338d9033dedee4454b3dd651c040bb9e8cf502f52cc4a8344e095ba478c93cf6b diff --git a/media-libs/libcdaudio/files/libcdaudio-0.99-CAN-2005-0706.patch b/media-libs/libcdaudio/files/libcdaudio-0.99-CAN-2005-0706.patch new file mode 100644 index 000000000000..7fc60e367b7d --- /dev/null +++ b/media-libs/libcdaudio/files/libcdaudio-0.99-CAN-2005-0706.patch @@ -0,0 +1,12 @@ +--- libcdaudio-0.99.10/src/cddb.c.orig 2005-04-03 15:37:04.180240520 +0200 ++++ libcdaudio-0.99.10/src/cddb.c 2005-04-03 15:38:07.389631232 +0200 +@@ -1034,7 +1034,7 @@ + } + + query->query_matches = 0; +- while(!cddb_read_line(sock, inbuffer, 256)) { ++ while(query->query_matches < MAX_INEXACT_MATCHES && !cddb_read_line(sock, inbuffer, 256)) { + slashed = 0; + if(strchr(inbuffer, '/') != NULL && parse_disc_artist) { + index = 0; + diff --git a/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch new file mode 100644 index 000000000000..988c4c21c85d --- /dev/null +++ b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch @@ -0,0 +1,13 @@ +--- src/cddb.c ++++ src/cddb.c +@@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct disc_data *outdata) + free(file); + + while(!feof(cddb_data)) { +- fgets(inbuffer, 512, cddb_data); ++ fgets(inbuffer, 256, cddb_data); + cddb_process_line(inbuffer, data); + } + + + diff --git a/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild b/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild new file mode 100644 index 000000000000..c4438d4148b0 --- /dev/null +++ b/media-libs/libcdaudio/libcdaudio-0.99.12-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Library of cd audio related routines" +HOMEPAGE="http://libcdaudio.sourceforge.net/" +SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch #84936 + epatch "${FILESDIR}"/${P}-bug245649.patch +} + +src_compile() { + econf --enable-threads + emake || die "compile problem." +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/media-libs/libcdaudio/metadata.xml b/media-libs/libcdaudio/metadata.xml new file mode 100644 index 000000000000..6ca1fc91648d --- /dev/null +++ b/media-libs/libcdaudio/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">libcdaudio</remote-id> + </upstream> +</pkgmetadata> |