From nobody Wed Feb 1 19:10:56 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6WjF1btHz3bmMm; Wed, 1 Feb 2023 19:10:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6WjD6XcMz3pSs; Wed, 1 Feb 2023 19:10:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675278656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KXlz4rZtlnYkaFv1eMJ7UV/On4NLkcEa5koMDkBAzUs=; b=bumeW2CzPMzTNnSXdRbM2dZ+Fajh6QyXmB8CGXw5KwcXC201S1pU01evSqNE7nDkgkasa3 3JqnhkBsRChnVNf4TFVDmPh0P/ru0cgN0ANlIFZpAkxqPciomirREUL0hDZCmAt3G1stXY uyNiqdPBa2PFFHvyGoz4aU1c15B/hwnrkPDwyufQH58q2MooKlr1EphcqDZB4nVp2RDELB 59BD/vMqZmpP4KkXBRz6McX5KtbV+ebwoSyzKacCW2JIuE8FSGZkgZrAiIiFBE8cFtkOOA BqqALdV4YHbPaULw20F94ujYOB3KMeaei6MLns0UPIqAFuFfyRlwEnAOEfObFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675278656; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KXlz4rZtlnYkaFv1eMJ7UV/On4NLkcEa5koMDkBAzUs=; b=dJWk3Q4D6q83cabrvJKOyuZlburegHGp0VZS0f/Q75fe82zArmFqpeyg/+66bgp4P0KfIE pwz648V1L6f168TamE8978N69qfE4CRiTd6VqD5sTo2Oq4py0I5n/B5u3KX5KPBVT8kP2C TNX+EfKP4k3zguJQ9ooXPE/MglZN+v7Y5UbJHB19FFea9UCM8LXvGWzCRMaqrDjPjAHUi5 GZDUQz5It4jUiQtvHP6xfB2pe+EqnOqYA4TJghHWSLxFA/AQtHCXfkfuf0FKICVPW9AtCQ Mpg1dqkLapp7J90Z/vr6Uu8cF2aSpA0bRuFYmJQ7q9vmGxsS6Ul4Rxs1xBPe5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675278656; a=rsa-sha256; cv=none; b=w6VA4BhTMsFQH0I2kRC1n1M0T6x45sPG76IPukbLhPD1jIBTa4vgOmCoU90lbQceiawswg K6GHQiMBg+302kGVDS6DYyULr20dWjSyqWGdNWxGoXNyVQgmX8XYVaGTbL5MvqBcuxlcqn AW6T0nQzg6pfEYvSBCbKsz28ps6gZnOoHYlYZqStULi50oAqVd3ZjO30EQhym3TRXU7RSl VUom6T86Y6m/wcIoPqF8P78v5NAfpP/gyjpIAXWEqM8Sb1+2yMEzF1GxPdrBC9ExWzU/Ca ddRjU2SVY+0q1Ck88GX/CkfAG9CBRXwVpT30KVdGUBu9lR4RTuk9IUDm0pN11w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6WjD5cnNzQNQ; Wed, 1 Feb 2023 19:10:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 311JAu3F099612; Wed, 1 Feb 2023 19:10:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311JAugB099611; Wed, 1 Feb 2023 19:10:56 GMT (envelope-from git) Date: Wed, 1 Feb 2023 19:10:56 GMT Message-Id: <202302011910.311JAugB099611@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: 17e9a151d83c - main - audio/owntone: DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 17e9a151d83c0b278657d275de34bfc7a780289d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=17e9a151d83c0b278657d275de34bfc7a780289d commit 17e9a151d83c0b278657d275de34bfc7a780289d Author: Dirk Meyer AuthorDate: 2023-02-01 19:10:03 +0000 Commit: Dirk Meyer CommitDate: 2023-02-01 19:10:49 +0000 audio/owntone: DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server --- MOVED | 2 +- audio/Makefile | 1 + audio/owntone/Makefile | 71 ++++++++++++++++++++++++++++++++++++++ audio/owntone/distinfo | 3 ++ audio/owntone/files/owntone.in | 33 ++++++++++++++++++ audio/owntone/files/pkg-message.in | 27 +++++++++++++++ audio/owntone/pkg-descr | 11 ++++++ audio/owntone/pkg-plist | 46 ++++++++++++++++++++++++ 8 files changed, 193 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 9cc7f78934b8..ac3e6708774c 100644 --- a/MOVED +++ b/MOVED @@ -17407,7 +17407,7 @@ multimedia/mpeg_play||2022-06-30|Has expired: Obsolete, please consider using mu multimedia/mpeg_stat||2022-06-30|Has expired: Obsolete, please consider using multimedia/mediainfo or multimedia/ffmpeg multimedia/qt-faststart||2022-06-30|Has expired: Obsolete, please consider using multimedia/Bento4, multimedia/gpac-mp4box or multimedia/ffmpeg multimedia/spigot||2022-06-30|Has expired: Deprecated hardware, released in the early 90s -audio/forked-daapd||2022-06-30|Has expired: Deprecated upstream, project is now called OwnTone +audio/forked-daapd|audio/owntone|2022-06-30|Has expired: Deprecated upstream, project is now called OwnTone multimedia/tstools||2022-06-30|Has expired: Obsolete, please consider using multimedia/ffmpeg multimedia/sabbu||2022-06-30|Has expired: please consider using multimedia/aegisub multimedia/avinfo||2022-06-30|Has expired: Last release in 2008, please consider using multimedia/mediainfo or multimedia/ffmpeg instead diff --git a/audio/Makefile b/audio/Makefile index 33114126e27c..4b59d48f257a 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -559,6 +559,7 @@ SUBDIR += osd-lyrics SUBDIR += osdmixer SUBDIR += oss + SUBDIR += owntone SUBDIR += p5-Audio-CD SUBDIR += p5-Audio-Ecasound SUBDIR += p5-Audio-FLAC-Header diff --git a/audio/owntone/Makefile b/audio/owntone/Makefile new file mode 100644 index 000000000000..4a298ea8c221 --- /dev/null +++ b/audio/owntone/Makefile @@ -0,0 +1,71 @@ +PORTNAME= owntone +DISTVERSION= 28.5 +PORTREVISION= 0 +CATEGORIES= audio +MASTER_SITES= https://github.com/owntone/owntone-server/releases/download/${DISTVERSION}/ + +MAINTAINER= dinoex@FreeBSD.org +COMMENT= DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server +WWW= https://github.com/owntone/owntone-server + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libantlr3c.so:devel/libantlr3c \ + libavahi-client.so:net/avahi-app \ + libavcodec.so:multimedia/ffmpeg \ + libconfuse.so:devel/libconfuse \ + libcurl.so:ftp/curl \ + libevent_pthreads.so:devel/libevent \ + libgcrypt.so:security/libgcrypt \ + libgpg-error.so:security/libgpg-error \ + libjson-c.so:devel/json-c \ + libinotify.so:devel/libinotify \ + libmxml.so:textproc/mxml \ + libplist-2.0.so:devel/libplist \ + libsodium.so:security/libsodium \ + libunistring.so:devel/libunistring \ + libwebsockets.so:net/libwebsockets \ + libprotobuf-c.so:devel/protobuf-c \ + libuuid.so:misc/e2fsprogs-libuuid + +USES= tar:xz localbase libtool iconv:wchar_t pkgconfig gnome gmake gperf \ + sqlite gnome pathfix +USE_GNOME= libxml2 + +GNU_CONFIGURE= yes + +USE_RC_SUBR= ${PORTNAME} +SUB_FILES= pkg-message + +USERS= daapd +GROUPS= daapd + +OPTIONS_DEFINE= ALSA ITUNES MPD PULSEAUDIO NLS DOCS +OPTIONS_DEFAULT= ITUNES MPD NLS DOCS + +ITUNES_DESC= iTunes XML support +MPD_DESC= Music Player Daemon protocol support + +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CONFIGURE_WITH= alsa + +ITUNES_CONFIGURE_ENABLE= itunes + +MPD_CONFIGURE_ENABLE= mpd + +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_CONFIGURE_WITH= pulseaudio + +NLS_USES= gettext-runtime +NLS_CONFIGURE_ENABLE= nls + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/owntone/owntone-sqlext.so + ${RM} ${STAGEDIR}${PREFIX}/etc/systemd/system/owntone.service + ${MV} ${STAGEDIR}${PREFIX}/etc/owntone.conf \ + ${STAGEDIR}${PREFIX}/etc/owntone.conf.sample + ${REINPLACE_CMD} -i '' -e 's|uid = "owntone"|uid = "daapd"|' \ + ${STAGEDIR}${PREFIX}/etc/owntone.conf.sample + +.include diff --git a/audio/owntone/distinfo b/audio/owntone/distinfo new file mode 100644 index 000000000000..173a0f9e809c --- /dev/null +++ b/audio/owntone/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674999426 +SHA256 (owntone-28.5.tar.xz) = c9ee0152dc488f782a25a68e72d24c109882bef3dd2914315fe499c8415fd898 +SIZE (owntone-28.5.tar.xz) = 1057644 diff --git a/audio/owntone/files/owntone.in b/audio/owntone/files/owntone.in new file mode 100644 index 000000000000..c4209cf44a0c --- /dev/null +++ b/audio/owntone/files/owntone.in @@ -0,0 +1,33 @@ +#!/bin/sh + +# PROVIDE: owntone +# REQUIRE: avahi_daemon dbus +# KEYWORD: shutdown +# +# Add these lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# owntone_enable (bool): Set to NO by default. +# Set it to YES to enable owntone. +# owntone_config (path): Set to %%PREFIX%%/etc/owntone.conf +# by default. +# owntone_flags (str): Set to "" by default + +. /etc/rc.subr + +name=owntone +rcvar=${name}_enable + +load_rc_config $name + +: ${owntone_enable:="NO"} +: ${owntone_config:="%%PREFIX%%/etc/owntone.conf"} +: ${owntone_flags:=""} + +pidfile="/var/run/owntone.pid" +required_files="$owntone_config" + +command="%%PREFIX%%/sbin/owntone" +command_args="-P $pidfile -c $owntone_config $owntone_flags" + +run_rc_command "$1" diff --git a/audio/owntone/files/pkg-message.in b/audio/owntone/files/pkg-message.in new file mode 100644 index 000000000000..d7071d85cf3e --- /dev/null +++ b/audio/owntone/files/pkg-message.in @@ -0,0 +1,27 @@ +[ +{ type: install + message: <