mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
purple_discord: add recipe (#6133)
This commit is contained in:
57
net-im/purple_discord/purple_discord-20210729.recipe
Normal file
57
net-im/purple_discord/purple_discord-20210729.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
SUMMARY="Discord plugin for libpurple"
|
||||
DESCRIPTION="A plugin giving support for Discord, a popular chat service, to \
|
||||
libpurple."
|
||||
HOMEPAGE="https://github.com/EionRobb/purple-discord"
|
||||
COPYRIGHT="2016 Eion Robb et al."
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="6c5a7788a9d2683513540f828b4488e8d4b6b782"
|
||||
SOURCE_URI="https://github.com/EionRobb/purple-discord/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ec31d2d554bda70d35eb36bb1d6e71324b880d8d3ee8fa58c872a68329af6612"
|
||||
SOURCE_FILENAME="$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="purple-discord-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
purple_discord$secondaryArchSuffix = $srcGitRev
|
||||
lib:purple_discord$secondaryArchSuffix = $srcGitRev
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libjson_glib_1.0$secondaryArchSuffix
|
||||
lib:libpurple$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libjson_glib_1.0$secondaryArchSuffix
|
||||
devel:libpurple$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:convert
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gettext
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install \
|
||||
DISCORD_DEST="$libDir/purple-2" \
|
||||
DISCORD_ICONS_DEST="$dataDir/pixmaps/pidgin/protocols" \
|
||||
LOCALEDIR="$dataDir/locale"
|
||||
}
|
||||
Reference in New Issue
Block a user