mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libmtp: drop old recipe. (#2689)
This commit is contained in:
@@ -1,100 +0,0 @@
|
||||
SUMMARY="MTP initiator library"
|
||||
DESCRIPTION="libmtp implements an MTP initiator, which means it initiate \
|
||||
MTP sessions with devices. The devices responding are known as MTP responders. \
|
||||
libmtp runs on something with a USB host controller interface, using libusb \
|
||||
to access the host controller."
|
||||
HOMEPAGE="http://libmtp.sourceforge.net"
|
||||
COPYRIGHT="Richard Low
|
||||
Linus Walleij
|
||||
Mariusz Woloszyn
|
||||
Marcus Meissner"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/libmtp/libmtp-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3f9e87536aa40e560d0c153a505e38096b1df5ea15fad783691e9a8ca4dd2282"
|
||||
PATCHES="libmtp-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libmtp$secondaryArchSuffix = $portVersion compat >= 1.0
|
||||
lib:libmtp$secondaryArchSuffix = 9.2.0 compat >= 9
|
||||
cmd:mtp_albumart$secondaryArchSuffix
|
||||
cmd:mtp_albums$secondaryArchSuffix
|
||||
cmd:mtp_connect$secondaryArchSuffix
|
||||
cmd:mtp_delfile$secondaryArchSuffix
|
||||
cmd:mtp_detect$secondaryArchSuffix
|
||||
cmd:mtp_emptyfolders$secondaryArchSuffix
|
||||
cmd:mtp_files$secondaryArchSuffix
|
||||
cmd:mtp_filetree$secondaryArchSuffix
|
||||
cmd:mtp_folders$secondaryArchSuffix
|
||||
cmd:mtp_format$secondaryArchSuffix
|
||||
cmd:mtp_getfile$secondaryArchSuffix
|
||||
cmd:mtp_getplaylist$secondaryArchSuffix
|
||||
cmd:mtp_newfolder$secondaryArchSuffix
|
||||
cmd:mtp_newplaylist$secondaryArchSuffix
|
||||
cmd:mtp_playlists$secondaryArchSuffix
|
||||
cmd:mtp_reset$secondaryArchSuffix
|
||||
cmd:mtp_sendfile$secondaryArchSuffix
|
||||
cmd:mtp_sendtr$secondaryArchSuffix
|
||||
cmd:mtp_thumb$secondaryArchSuffix
|
||||
cmd:mtp_tracks$secondaryArchSuffix
|
||||
cmd:mtp_trexist$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgcrypt$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libusb_1.0$secondaryArchSuffix
|
||||
# required by libgcrypt
|
||||
lib:libgpg_error$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libmtp${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
|
||||
devel:libmtp$secondaryArchSuffix = 9.2.0 compat >= 9
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libmtp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libusb_1.0$secondaryArchSuffix
|
||||
# required by libgcrypt
|
||||
devel:libgpg_error$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:gettext
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:doxygen
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure # --enable-doxygen
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libmtp
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir # $docDir
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
From 42d85dd2edd255726d4a48226d7dafa2dfe964f8 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 21 May 2014 21:24:57 +0000
|
||||
Subject: fix configure.ac
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 87d7fcc..2063735 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -4,7 +4,7 @@ AC_INIT([libmtp], [1.1.6], [libmtp-discuss@lists.sourceforge.net])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
AC_CONFIG_SRCDIR([src/libmtp.c])
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user