18 |
>= media-libs/libgphoto2-2.5 |
>= media-libs/libgphoto2-2.5 |
19 |
>= sys-libs/libsystemd-242" |
>= sys-libs/libsystemd-242" |
20 |
|
|
21 |
|
# git src not working, configure cannot created just by autoreconf |
22 |
|
#SRCFILE="${PNAME/sane-/}-${PVER}.tar.gz" |
23 |
|
#SRCDIR="${BUILDDIR}/${PNAME/sane-/}-${PVER}" |
24 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
25 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
26 |
|
|
27 |
sminclude mtools multilib mbuild udev |
sminclude mtools multilib mbuild udev |
28 |
msetfeature "!check" # fixme: sanei_config_test failes atm, because of a relative path |
msetfeature "!check" # fixme: sanei_config_test failes atm, because of a relative path |
29 |
|
|
30 |
ALIOTH_ID="4224" |
# git src not working, configure cannot created just by autoreconf |
31 |
|
#https://gitlab.com/sane-project/${PNAME/sane-/}/-/archive/${PVER}/${SRCFILE} |
32 |
|
UPLOAD_ID="9e718daff347826f4cfe21126c8d5091" |
33 |
SRC_URI=( |
SRC_URI=( |
34 |
http://alioth.debian.org/frs/download.php/file/${ALIOTH_ID}/${SRCFILE} |
https://gitlab.com/sane-project/${PNAME/sane-/}/uploads/${UPLOAD_ID}/${SRCFILE} |
35 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
36 |
) |
) |
37 |
|
|
38 |
UP2DATE="updatecmd ${HOMEPAGE} | grep 'ackend.*released' | sed 's/.*s-\([^ ]*\) .*/\1/'" |
UP2DATE="updatecmd ${HOMEPAGE} | grep 'ackend.*released' | sed 's/.*s-\([^ ]*\) .*/\1/'" |
39 |
|
|
40 |
|
src_prepare() |
41 |
|
{ |
42 |
|
munpack ${SRCFILE} || die |
43 |
|
|
44 |
|
# generate configure |
45 |
|
mautoreconf || die |
46 |
|
} |
47 |
|
|
48 |
src_compile() |
src_compile() |
49 |
{ |
{ |
50 |
mconfigure --enable-ipv6 --enable-libusb --enable-avahi --with-gphoto2 --disable-latex || die |
mconfigure --enable-ipv6 --enable-libusb --enable-avahi --with-gphoto2 --disable-latex || die |