Diff go-mtpfs-1.0.0 with a go-mtpfs-1.0.0-r1
| /usr/portage/sys-fs/go-mtpfs/go-mtpfs-1.0.0-r1.ebuild 2025-07-29 16:22:17.924470191 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit go-module |
| 7 | 7 | |
| ... | ... | |
| 14 | 14 |
SLOT="0" |
| 15 | 15 |
KEYWORDS="~amd64" |
| 16 | 16 | |
| 17 |
COMMON_DEPEND="virtual/libusb:1 |
|
| 18 |
virtual/udev" |
|
| 19 |
DEPEND="${COMMON_DEPEND}
|
|
| 20 |
media-libs/libmtp" |
|
| 21 |
RDEPEND="${COMMON_DEPEND}"
|
|
| 17 |
RDEPEND=" |
|
| 18 |
virtual/libusb:1 |
|
| 19 |
virtual/udev |
|
| 20 |
" |
|
| 21 |
DEPEND="${RDEPEND}
|
|
| 22 |
media-libs/libmtp |
|
| 23 |
" |
|
| 22 | 24 | |
| 23 | 25 |
#Tests require a connected mtp device |
| 24 | 26 |
RESTRICT+=" test" |
| ... | ... | |
| 28 | 30 |
} |
| 29 | 31 | |
| 30 | 32 |
src_test() {
|
| 31 |
ego test -ldflags '-extldflags=-fno-PIC' fs |
|
| 32 |
ego test -ldflags '-extldflags=-fno-PIC' usb |
|
| 33 |
ego test -ldflags '-extldflags=-fno-PIC' mtp |
|
| 33 |
ego test -ldflags '-extldflags=-fno-PIC' fs usb mtp |
|
| 34 | 34 |
} |
| 35 | 35 | |
| 36 | 36 |
src_install() {
|
| 37 | 37 |
dobin go-mtpfs |
| 38 |
dodoc README.md |
|
| 38 |
dodoc README.md |
|
| 39 | 39 |
} |