diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/libnjb | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r-- | media-libs/libnjb/Manifest | 3 | ||||
-rw-r--r-- | media-libs/libnjb/libnjb-2.2.7-r1.ebuild | 50 | ||||
-rw-r--r-- | media-libs/libnjb/libnjb-2.2.7.ebuild | 10 |
3 files changed, 61 insertions, 2 deletions
diff --git a/media-libs/libnjb/Manifest b/media-libs/libnjb/Manifest index 6e13b11ee09b..519035de1b70 100644 --- a/media-libs/libnjb/Manifest +++ b/media-libs/libnjb/Manifest @@ -1,5 +1,6 @@ AUX libnjb-2.2.7-exclude-samples.patch 288 BLAKE2B 8d9646562a8b7a07460577a563ae576bc1793ba7fb330a5a141a076ecc443872759dfbd51c0425fa52fd1460d3a5347fd4f0b46c4a5bef9165bb6dbedacacb73 SHA512 218ad125a74545340bb3c1295e7bde74701ae656ebf0955d96d23f554dc1119d20e8ebe530d658883c799d0552144f094e1c825f2dc6daae529ea8d37114d7f6 AUX libnjb.rules 1773 BLAKE2B 3fdc3a8ceaec9b065e5ea174738642311b57f4cf41f2759375160ef0cdd6044434427f82dae8dc4cad167bfd4578b51bb019a3e4924883f8a6f9efc06a7fe6be SHA512 21d9aa5b0d0c170c3f8071a81981590714f6bbf203d5b6f973aea6a2365f69cde5008969748a2136b9791db327fc476d33fe8937cc7c7d26168ac1803738419a DIST libnjb-2.2.7.tar.gz 497862 BLAKE2B e6b7ba77d99f2f4e777ebdca6793d6a348073d9696b9b38b51bc7e29ddacff9a5d19116ca538416ef068496a8827700ed4f740e8ce0c0c1402751c97eb45ed58 SHA512 d217beb772024ec122739327dae9f1e991ace4c3dfe79a4960d1d7421c3d663f924304331025a1790ea7b697ac84d8926f3ab507c6d919e781e90ca82ef6fd06 -EBUILD libnjb-2.2.7.ebuild 840 BLAKE2B b4ca7bd2ba4dff746f4de6707e9c2e74b281a4f80e8f16ebf05137fcdad49b9bd0f6155974568c64fb814e183cb96c0aa10863a005f1de97d0063e3b5fd1d9db SHA512 6778ff560f616ac427d2a89cbcdd19a97f50fd75e215663fe584178560df6c7008fc5750bf5b8eed1028478e54798a950d83577752a0f6731e1f4fba39bf6fd0 +EBUILD libnjb-2.2.7-r1.ebuild 905 BLAKE2B 35222a81e34ae0cc7adf6c9b8c93b2361d75d2e83293f601eac729d8f14af5ac19585aef58190feea71d94aaae0be243430c5c05b3ef9aa4d18ae6a501895bd5 SHA512 9d11fc3b1c3dc8689098ba9fc76ecfc95a320faa7ec901facff054085c2a14850ecf7e6d6378558850c0c449ee40fe1ce95b6f9eb01cb6efe9537e1e60604b7d +EBUILD libnjb-2.2.7.ebuild 901 BLAKE2B 6a80b5cbd83f412b2d266ced3351089b015b2b5236ced0ed8fffc159ffa55fe3c01490058f86d771fc8e486f24ceb23a246bf743ba733d2147be8cd5de3b7711 SHA512 8c9d7564228c4910c37caabb1803cff80603f7ca932f8bd0781a55a60e7eb25c47bd6e0195d18ad8445c1e79881042122bacdc00347188ec855bfce01e6392fc MISC metadata.xml 330 BLAKE2B 39ec86a9bd0ff38039476fcd261ba7c73f76e5fc753eef58396595adca1c3222ee7f0d84b2d13834448334b89641ad4b0d3d18d73052272e3d733138e3bfc019 SHA512 d01d952928c34e77ebc9b00e3248fce151c2d0bdef18a9e60512fbdeb76d473a57fd26ae3891bad2fe747e7d016a4cd84ce3029db6ad2918fe14f63dc7555dbb diff --git a/media-libs/libnjb/libnjb-2.2.7-r1.ebuild b/media-libs/libnjb/libnjb-2.2.7-r1.ebuild new file mode 100644 index 000000000000..2f593d538544 --- /dev/null +++ b/media-libs/libnjb/libnjb-2.2.7-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool udev + +DESCRIPTION="Library for communicating with the Creative Nomad JukeBox digital audio player" +HOMEPAGE="http://libnjb.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc static-libs" + +RDEPEND="virtual/libusb:0" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( "${FILESDIR}"/${P}-exclude-samples.patch ) + +src_prepare() { + default + elibtoolize +} + +src_configure() { + use doc || export ac_cv_prog_HAVE_DOXYGEN=false + + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + + udev_newrules "${FILESDIR}"/${PN}.rules 80-${PN}.rules + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/media-libs/libnjb/libnjb-2.2.7.ebuild b/media-libs/libnjb/libnjb-2.2.7.ebuild index db6b951fbf00..4149c8448297 100644 --- a/media-libs/libnjb/libnjb-2.2.7.ebuild +++ b/media-libs/libnjb/libnjb-2.2.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -40,3 +40,11 @@ src_install() { # package provides .pc files find "${D}" -name '*.la' -delete || die } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |